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 | 54 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).

  • Alcatel-Lucent ECNT-C 3FE25676 BA AK 06 Termination Card
  • Alcatel Lucent MDR-8000 Microwave Digital Radio MDR-8606-45 with 13 Modules
  • Alcatel-Lucent 849144415 KS-24829L1 Remote Radio Head v1.4
  • Alcatel CFF 450 Turbo Pump Controller 137171
  • Alcatel-Lucent ACS108 109579896 004 Access Controller
  • Alcatel-Lucent OS6850-48 Network Switch with PS-126W-AC Power Supply
  • Alcatel Lucent DFP-CM-14B/2T Filter DCMA Base Station
  • Alcatel Lucent ESX-K100C32W4 ESXK100C32W4 Power Supply Module
  • Alcatel Lucent 91-E03100-A 91E03100A Interface Module
  • Alcatel-Lucent STGR-LIM-A2P-72-HBI ADSL2+ High Bandwidth Module
  • Alcatel-Lucent 9500 Microwave Packet Radio MPT-3DB20547BBAA02
  • Alcatel Lucent Enterprise 4049-4059 MMK Keyboard Console Kit
  • Alcatel-Lucent RRH4X40-1900 Remote Radio Head
  • Alcatel Lucent OS6450-P48 Switch
  • Alcatel Lucent 625617-000-001 Cable Assembly
  • Alcatel Lucent 108320 Module
  • Alcatel Lucent TN801B Board
  • Alcatel-Lucent RRH2X50-800 LTE Remote Radio Head
  • Alcatel Lucent CPU8 Board 3BA23258AB OmniPCX 4400
  • Alcatel-Lucent 3EM22617AAAE 9500 MPT-HL Microwave Radio Transceiver
  • Alcatel-Lucent CPU7-2 3BA23259AAAD 7750 SR Control Processor Module
  • Alcatel-Lucent 9500 Microwave Packet Radio MPT-3DB20371BCAA01
  • Alcatel-Lucent Enterprise 4059 MMK Keyboard + Phone PAC Kit
  • Alcatel-Lucent Nokia 3HE10329AA 7750 SR Series Router Module
  • Alcatel-Lucent 7705 SAR-W IP MPLS Service Aggregation Router 3HE07349AA
  • Alcatel-Lucent-Nokia 3HE08429AARC01 7750 SR SFM5-7 Switching Module
  • Alcatel-Lucent 3HE00272DB 7750 SR-7 DC Chassis with PEM3+EFT
  • Alcatel-Lucent ACT 1300M/1600M HT Turbo Pump Controller
  • Alcatel Lucent IMM48-1GB-TX 3HE03625AAG01 48-Port 7750 SR-12 Interface Module
  • Alcatel-Lucent AP-500 Wireless Access Point
  • Alcatel-Lucent ATP-150 Power Supply
  • Alcatel-Lucent 622-8603-012 Optical Transceiver
  • Alcatel-Lucent 270-0038-010 10.5 VDC Power Supply
  • Nokia 9500-MPR Microwave Radio Module XPIC-RPS/3DB20116BCAA01
  • Alcatel-Lucent 3DB19017AB EAS Access Switch v2
  • Alcatel-Lucent 3AL81072AA Matrix Enhanced Unit - Cross-Connect Module
  • Alcatel-Lucent MDR-8606-135 6GHz Digital Microwave Radio
  • Alcatel-Lucent 3EM09626AD RF Transmitter - MDR-8000 Component
  • Alcatel 3HE03619AAAF01 Network Module
  • Alcatel-Lucent 3EH76027AEJC OmniPCX Enterprise Communication Server
  • Alcatel-Lucent 9500 MPR 11GHz Microwave Link - 3DB22001DA
  • Alcatel-Lucent GSX-FM-4W - Gigabit Ethernet Fiber Module 4-Port
  • Alcatel-Lucent 270-0038-020 - Power Supply Interface Module
  • Alcatel-Lucent LNW64 - Network Processor Module for Switching Systems
  • Alcatel-Lucent 3DB19017AB - High-Density Interface Module Board
  • Valmet U4600063 - Industrial Automation Module
  • Valmet M851040 M1 MEMU Module - Memory and Expansion Unit
  • Metso Valmet A413016 NCU2 Board - Network Control Unit Model 17
  • Valmet A413115 TCU41 Board Ver.06 - Temperature Control Unit
  • Metso Valmet PEFT A413792 - Power Supply Module for Automation Systems
  • Valmet ABTU M2512201 - Analog Binary Termination Unit Module
  • Valmet ABMB MT036 PCB Card - Auxiliary Backplane Motherboard
  • Valmet A413345 FPUS Battery Backup Unit - Standby Power Module
  • Valmet A413060 DMU Rev 04 - Drive Monitor Unit Board
  • Valmet BOR82 A413292 - Binary Output Relay Module
  • Valmet A413383 Ver.04 ESW - Electronic Switching Module Board
  • Valmet Neles A415579 Valve Controller
  • Metso Valmet A413381 ESW Drive Board
  • Valmet ABTU Module 545266-2A 2-545264-2B - Analog Binary Termination Unit
  • Valmet ABMB MT838 PCB - Backplane Bus Mother Board
  • Valmet LEV-EL PG4 N1 H2S Sensor - 600mbar Gas Detector
  • Valmet ABMB MT940 PCB - Analogue Bus Mother Board Backplane
  • Valmet VAT65425921A MT241 PCB Board
  • Valmet A413310 VPU Power Unit - 230VAC 1.5A Automation Supply
  • Valmet Metso IOP303 Input Module 181504 - 32-Channel Digital Input
  • Valmet A413060 DMU Rev 07 - Data Management Unit
  • Valmet M851220 M1 PCB Card - Process Automation Interface Board
  • Valmet A413042 Ver.06 CPU
  • Valmet A413200-01 AIU 8 Analog Input Module
  • Basler DECS-250-CGCM-LN2SA1C Digital Excitation Control System
  • Valmet Automation PLC Module A413171
  • Valmet Automation 542852-3A Rack-Mount Cross Connect Panel
  • Valmet Marine Damatic M851565 Main Keyboard
  • Valmet TIU 6 Printed Circuit Board A413110
  • Metso Valmet U4440253V1.1 RMI CPU 300
  • Metso Valmet A413016 Ver.12 NCU2
  • Valmet M851565 Damatic Keyboard
  • Valmet ATB16-4 16 Channel Relay Card
  • Valmet Metso A413331 SPU Power Supply
  • Valmet PUD 10B Automation Control Rack
  • Valmet MT917 ABMB DMU PCB I/O Module
  • Valmet M851565 Damatic Keyboard Mkb2
  • Valmet EDS-518A-MM-SC Ethernet Gateway
  • Valmet 542836-6A PCB Card
  • Valmet ATB16-4/2 Terminal Board 9144047
  • Valmet ATB16-4 Controller Board 0-50°C 4-20mA Analog Output
  • Valmet 542852-3A Slot Rack Chassis Module
  • Valmet A413026 Ver.M1 FBC Board
  • Valmet IQ Basis Weight SH Sending Assembly A418081
  • Valmet PMB 2R Monolithic Backplane 8-Slot PCB 542821-5A and -5B
  • Valmet ATB16-4 16-Channel Relay Card Controller Board 22195028
  • Valmet Diff-EL SL6NK227SF0 Pressure Transmitter 0-380 mBar
  • Valmet A413110 TIU6 Board Ver.M1
  • Neles Automation A413278 Control Module
  • Valmet BCUTB Terminal Module 10101006 11091002
  • Valmet Senso 160 Measuring Station Display 160.2
  • Valmet AIU 1A Analog Input Unit M851245
  • Valmet IQ Web Caliper Sensor A420734
  • Valmet M851040/M8510401 Memory Board
  • Valmet AN35S1MC02RA Valve
  • Valmet M851121 M2 Cross Connect Panel
  • Valmet AIU-8 Simulator Board 421522-1A
  • Metso BIU 82 D200533 Binary Input Unit
  • Valmet M851121 M2 Module Rack
  • Valmet A413383 PC Board Module
  • Valmet N0542 NO54 ABMB PCB - 545200-3A Board
  • Valmet Metso IOP304 Input Module 181503
  • Valmet PDP601 Distributed Processing Unit 181585
  • Valmet A413084 CPU Board - Processor Module for Automation Systems
  • Valmet AIU 16T Analog Input Module M8512081 M1
  • Valmet AIU 16 Analog Input Module 545100-3A and 545100-3B
  • Metso Valmet BIU4 A413146 Binary Input Unit
  • Valmet AIU-8 Simulateur Board 421522-1a Analog Simulator
  • Valmet BIU8A Binary Input Unit 542803-3B M851222 M1
  • Valmet IQ Web Color DH Photoelectric Sensor A418182 2.04
  • Valmet A413200 AIU-8 Simulator Board 191151 421522-1A
  • Valmet Automation SCU M851006 System Control Unit Module
  • Valmet 857565/851565 Damatic Keyboard IP40 5V Operator Interface
  • Valmet A413077 FBC2 Module Rev 06 Field Bus Controller
  • Valmet DMU 2 PCB Module 545142-3A DM Data Management Unit
  • Valmet AIU16T PCB Card M851208 Analog Input Module
  • Valmet A413181 PLU Board
  • Valmet m851006 SCU Module
  • Valmet Metso 181226 Digital Input Module
  • Valmet AIU16T Analog Input Module - 16-Channel 65421466-2B MT924 V1.3
  • Valmet WIN3136875 Slide Clutch
  • Metso Valmet TIU61 A413111 Temperature Input Unit
  • Valmet MC12S Slitter Motor