Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

ADLINK PCI-6308 Series Isolated Analog Output Card Configuration and Programming

F: | Au:FANS | DA:2026-08-18 | 398 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

± 10V mode: 0 → -10V, 2048 → 0V, 4095 →+9.9997V

0~10V mode: 0 → 0V, 4095 →+9.9997V

External reference mode: 0 → 0V, 4095 → Vref

3.2 DA sending status register (read-only, offset from D0 bit of 0x00)

Due to the serial loading of DAC, each write requires approximately 13.96 μ s of conversion time. Before writing new data to any channel, this bit should be read. If it is 1, it indicates that it is being sent and needs to wait until 0 to avoid data conflicts. This check has been encapsulated in the software library.

3.3 Digital I/O Register (offset 0x40)

When writing operations, the lower 4 bits (D0~D3) control DO0~DO3, and the higher 4 bits are ignored. When performing a read operation, the low 4 bits will read back the current DO state, and the high 4 bits (D4~D7) will be the real-time levels of DI0~DI3.

3.4 Current output mode control (PCI-6308A only)

The current output is controlled by the corresponding voltage channel, and the output range is set by software and implemented by the onboard XTR110. Three modes are provided:

0~20mA (Input 0~10V corresponds to 0~20mA)

5~25mA (Input 0~10V corresponds to 5~25mA)

4~20mA (Input 0~10V corresponds to 4~20mA)

The mode setting is achieved by writing control words to specific registers, and it is recommended to use the official function library.

Software Library and Programming Interface

ADLINK provides various development support:

DOS library (Borland C/Microsoft C)

Windows 95 DLL

PCIS-DASK (Windows 98/NT/2000/XP Unified Driver)

Linux(PCIS-DASK/X)

And advanced interfaces such as LabVIEW, VEE, ActiveX, OPC, etc

4.1 Introduction to Core Functions (Taking Windows DLL as an Example)

All function names are distinguished by the W_ prefix to distinguish Windows versions, and the header file Acl_pci. h defines types and constants.

4.1.1 Initialization and Reset

W_6308Initialize (U16 * existCards, PCI-INFO * pciInfo): Scan the number of cards and return card information, which must be called first.

W_6308_Software2Reset (U16 cardNo): Reset the digital I/O and DAC states, and output to zero.

4.1.2 Single channel DA output

W_6308_DA(U16 cardNo, U16 chn, I16 DAData):

CardNo: Board card number (starting from 0)

chn:0~7

DAData:0~4095

Internal automatic waiting for DA status to be ready, returning an error code.

4.1.3 Synchronized multi-channel output

W-6308_CA_0,3() and W-6308_CA_4_7() update CHO-3 or CH4-7 simultaneously to achieve synchronous output, suitable for multi axis linkage.

4.1.4 DA Status Query

W_6308_Set_date (U16 cardNo) returns whether the current state is busy (1 busy, 0 idle). Advanced users can self poll for optimization.

4.1.5 Digital Input/Output

W-6308-DI (U16 cardNo, U16 * DIData): Read 4-digit DI and store it in the lower 4 bits.

W-6308-DO (U16 cardNo, U16 DOData): Output the lower 4 bits to DO.

4.1.6 Current Range Control (PCI-6308A)

W_6308_I2V_Control(U16 cardNo, U16 ctrl):

Ctrl can take I2 to 20mA, I2 to 20mA, I2 to 25mA (macros defined in the header file).

This setting globally affects all 8 current channels and needs to be configured before output.

4.2 Programming Process Example

c

#include <Acl_pci.h>

U16 cardNo, existCards;

PCI_INFO pciInfo;

U16 daData;

// 1. initialization

W_6308_Initial(&existCards, &pciInfo);

if (existCards == 0) return;

cardNo = 0; //Use the first card

// 2. Configure current mode (PCI-6308A)

W_6308_I2V_Control(cardNo, I_0to20mA);

// 3. Output voltage 0~10V corresponds to 0~20mA (CH0)

daData = 2048; //Corresponding to 10V * 0.5? Actual needs to be calculated according to the formula

W_6308_DA(cardNo, 0, daData);

// 4. Synchronize output of CHO~CH3

W_6308_DA_0_3(cardNo, 1024, 2048, 3072, 4095);

// 5. Digital Output

W_6308_DO(cardNo, 0x0F); //All DO ON

// 6. Read DI

U16 diVal;

W_6308_DI(cardNo, &diVal);

4.3 Advanced Application Tips

Multi card support: existCards returns the number of cards, and the pciInfo structure contains information such as base addresses, which can distinguish between multiple cards.

Real time performance: Single channel updates take about 14 μ s, and polling status consumes CPU. Timer interrupt mode can be selected for batch updates.

Output voltage accuracy: Influenced by internal reference voltage (10V ± 0.1%) and resistance network, software correction or external reference calibration can be performed.


Application scenarios and wiring examples

5.1 Analog output control frequency converter

Use PCI-6308V output to control the frequency of the frequency converter from 0 to 10V, isolate the output to avoid grounding loops. Wiring: V0 connected to frequency converter AI+, AGND connected to AI -. Set the jumper to 0~10V mode.

5.2 4~20mA transmitter simulation

PCI-6308A can simulate a two-wire transmitter output of 4-20mA, used for PLC or DCS channel testing. Connect the current output A0 in series with a 24V power supply and load (such as measuring voltage with a 250 Ω resistor), set the mode to 4~20mA, and output 0~10V corresponding to 4~20mA.

5.3 Multi channel synchronous servo control

Using the synchronous output function _6308_CA_0_3 to simultaneously update 4 channels, reducing phase difference, suitable for multi axis motion platforms.

5.4 Isolated Digital I/O Monitoring

DI can be connected to limit switches or buttons (voltage 3.2~34V), DO can drive small relays or LED indicator lights (requiring external current limiting resistors and pull-up power supply).

  • Micro Innovation GF1-10TVA-100 Touch Panel
  • Micro Innovation GSO-57EQD-000 Operator Panel
  • Micro Innovation XN-2AI-U Analog Input Module
  • Micro Innovation CAN-4AI/UI Analog Input Module
  • Micro Innovation ZSB-1.5/8-S/S/-/PE Base Terminal
  • Micro Innovation AG XVH-340-57CAN-1-10 HMI Panel
  • Micro Innovation GSO-57EQD-000 Micro Panel
  • Micro Innovation XN-2AI-PT/NI-2/3 Input Module
  • Micro Innovation AG GF0-57SQD-000 Display Panel
  • MICRO INNOVATION AG XN-16DI-24VDC-P Input Module
  • Micro Innovation XN-2AI-PT/NI-2/3 Input Module
  • Micro Innovation MC2-442-57CQB-1-2G Display Panel
  • Micro Innovation XN-16DO-24VDC-0.5A-P Module
  • Micro Design MC200PROFI Programmable Module
  • Micro Innovation XV-252-57MPN-1-10 Micro Panel
  • Micro Innovation CAN-4AI/UI Analog Input Module
  • Micro Innovation GT1-MPI-A000 Panel
  • Micro Innovation MC2-440-10TVB-1-21 Display Panel
  • Micro Innovation XVS-430-57MPI-1-1S 6" HMI
  • Micro Innovation XV-442-57CQB-1-1AB Monitor
  • Micro Innovation ZSB-1.5/8-S/S/-/PE Base Terminal
  • Micro Design 895A Microfiche Reader
  • MICRO INNOVATION XNE-8DI-24VDC-P Input Module 8550100794
  • MICRO INNOVATION MICRO PANEL GF0-10CVD-002
  • Micro Innovation XN-PLC-CANopen Controller 85 50 274124
  • Micro Innovation Display Panel GS0-57E0D-000
  • MICRO INNOVATION CAN-32DI/P2X16 Input Module
  • MICRO INNOVATION XN-2DO-R-NO Relay Output Module
  • MICRO INNOVATION XNE-16DI-24VDC-P Input Module
  • Micro Innovation AG XN-2AI-U Analog Input Module
  • Micro Innovation XN-BR-24DC-D Power Supply
  • Micro Innovation MH2-342-57EIB-1-20 Panel
  • Micro Innovation XV-252-57MPN-1-10 Micro Panel
  • Micro Innovation Display Card EIB2-TP
  • Micro Innovation XV-252-57MPN-1-10 6" HMI
  • Micro Innovation XN-B3T-SBC 16x DO Base Module
  • Micro Innovation XVH-330-57MPI-1-10 Panel
  • Micro Innovation XN-BR-24VDC-D Power Module
  • Micro Innovation EIB2-TP EIB2TP Module
  • Micro Innovation GF0-10CVD-100 Touch Panel
  • MICRO INNOVATION XV-230-57CNN-1-10 HMI-PLC
  • MICRO INNOVATION XN-2DO-R-CO Relay Output Module
  • KMK MICRO INNOVATION GS2-90EMD-000 Micro Panel
  • Micro Innovation XN-2AO-U Analog Output Module
  • Micro Innovation XN-1AO-I Analog Output Module
  • Micro Innovation CAN-32DI/P-2x16 Rack Module
  • Eaton Micro Innovation MC2-440-10TVB-1-11 HMI
  • Micro Innovation AG CAN Bridge 8551224177
  • Micro Innovation XN-2AI-I Analog Input Module Set
  • Micro Innovation XN-4DI-24VDC-P Input Module
  • Micro Innovation Winbloc CAN-16DO/0.5A-PK Module
  • Micro Innovation Micro Panel GFO-10SVD-002 HMI
  • Micro Innovation CAN-24DI/8DO/0.5A-PK Module
  • Micro Innovation DP-24DI/8DO/0.5A-PK I/O Module
  • Weidmuller Micro Innovation CAN-BRIDGE ZSFA 1,5R
  • Micro Innovation CAN-3AI/1AO-UI Profibus Module
  • Micro Innovation PDP-TP Profibus DP Module
  • Micro Innovation CAN-3AI/1AO-UI Analog Module
  • Micro Innovation MC2-430-12TSB-10 HMI Panel
  • Micro Innovation XNE-8DO-24VDC-0.5A-P I/O Module
  • MICRO INNOVATION AG WINBLOC CAN-32DI/P-2x16 85 51 224182
  • MICRO INNOVATION AG WINBLOC CAN-4AO/UI 85 51 224195
  • Micro Innovation Xv-252-57cnn-1-10 HMI Panel
  • Micro Innovation XN Basis XN-S4T-SBBS-CJ 225200
  • Micro Innovation GF1-10TVD-100 Micro Panel
  • Micro Innovation XN-B3T-SBC 16-Fold DO Base Module
  • MICRO INNOVATION AG WINBLOC CAN-3AI/1AO-UI 85 51 224192
  • KMK Micro Innovation GS2-90EMD-000 Micro Panel
  • Micro Innovation MC2-430-10TVB-1-10 PanelView Terminal 24VDC
  • Micro Innovation XNE-8DO-24VDC-0.5A-P I/O Module 8550100795
  • MICRO INNOVATION GF1-10TVB-100 Touch Panel
  • MICRO INNOVATION AG WINBLOC CAN-4AI/UI Analog Input Module
  • MICRO INNOVATION AG WINBLOC CAN-32DO/0.5A-P-2x16 Output Module
  • MICRO INNOVATION AG CAN-32DI/P-2X16 8551224182 Input Module
  • MICRO INNOVATION MK2-230/232-57 Circuit Board 85 28 200000
  • MICRO INNOVATION CAN-BRIDGE 8551224177 CAN Bridge
  • Micro Innovation MC2-430-10TVB-1-10 Panel 24VDC
  • MICRO INNOVATION MC2-432-57CQB-1-10 HMI Panel
  • MICRO INNOVATION AG CAN-BRIDGE 85 51 224177 CAN Bridge
  • MICRO INNOVATION CAN-4AI/UI Analog Input Module
  • MICRO INNOVATION CAN-32DI/P-2X16 Input Module
  • SIGMATEK MDD111 09-404-111 Drive Module
  • SIGMATEK DVI021 Display Interface Module
  • SIGMATEK 00-450-024 C-IPC Processor
  • SIGMATEK MDD-111 MDD111 Drive Module
  • SIGMATEK ICA011 20-102-011 Interface Module
  • SIGMATEK 01-250-010-D NC4Kompakt Control Module
  • SIGMATEK CRIF081 12-751-081 Interface Module
  • SIGMATEK S1026-8AF61-R4E-Z57 Drive Module
  • SIGMATEK 9305.081.02 9227.082.00 Control Module
  • Sigma Tek 5000B-36 Attitude Indicator
  • SIGMATEK CEZ201 12-051-201-O Counter Module
  • SIGMATEK DPS001 Power Supply Module
  • SIGMATEK 994 395 01z Via Interface Module
  • SIGMATEK PC411-K 01-310-411-K Industrial PC
  • SIGMATEK 9816.324.00 Demag NC4 Keyboard
  • SIGMATEK ET261 90010C-71 Operator Terminal
  • SIGMATEK DDI 164 05-006-164 Input Module
  • SIGMATEK CCP 082 C-DIAS Processor Module
  • SIGMATEK CEZ201 12-051-201-O PLC Module
  • SIGMATEK MDD 1111 06178867 Drive Module
  • SIGMATEK S1 073-6AC61-RE-Y08-Z Drive Module
  • SIGMATEK MDD 111 Drive Module MDD111
  • SIGMATEK CSDI161 Safety Module 12-891-161
  • SIGMATEK C-IPC Processor 01-450-024
  • SIGMATEK DIAS DAM122 Analog Mixing Module
  • Sigma Tek 5000B-36 Attitude Gyro Indicator
  • SIGMATEK TMS012 Motherboard Module 05-250-012-T
  • SIGMATEK CCP-531 PLC Module
  • SIGMATEK DIAS DNC4 I/O Module 05-250-011
  • SIGMATEK AI088 Analog Input Module
  • SIGMATEK CEZ201 Counter Module
  • SIGMATEK CIC011 Industrial Computer Module
  • SIGMATEK MDM021 Motor Drive Module
  • SIGMATEK DTO163 Digital Output Module
  • SIGMA-TEK 5000B-36 Attitude Gyro
  • SIGMATEK DM161 Digital Input Module
  • SIGMATEK CCP-531 PLC Control Panel
  • SIGMATEK HZS773 Touch Terminal Operator Panel
  • SIGMATEK MDP101 3 KVA 45-65Hz Driver
  • SIGMATEK ETV1251 Touch Panel 12-230-1251
  • SIGMATEK CIO021 Safety Module 12-013-021
  • Sigma Tek 4000H-5 Directional Gyro
  • SIGMATEK TAE531 I/O Module 01-240-531
  • SIGMATEK DAI081 Input Module 05-009-081
  • SIGMATEK DCP640 Drive Control Module
  • SIGMATEK DCP643 Slides Module A6-29
  • SIGMATEK SCP011 Safety Module 20-890-011