Programmable 48-bit dio event, and timer cards (38 pages)
Summary of Contents for NuDAQ ACL-8111
Page 1
® NuDAQ ACL-8111 16-bit High Resolution Data Acquisition Card User’s Guide Recycled Paper...
Page 3
Trademarks NuDAQ is a registered trademark of ADLINK Technology Inc., Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective...
Page 4
Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please contact us. ADLINK Technology Inc. Web Site http://www.adlinktech.com Sales & Service Service@adlinktech.com NuDAQ + USBDAQ + PXI nudaq@adlinktech.com Automation automation@adlinktech.com Technical Support NuIPC nuipc@adlinktech.com...
IBM Personal Computer and compatible computers. The registers map is fully compatible with PCL-711B. The ACL-8111 is designed to combine all the data acquisition functions, such A/D, D/A, D/O, and D/I in a single board, The high-end specifications of the card makes it ideal for wide range of applications in industrial and laboratory automation.
Applications • Industrial and laboratory ON/OFF control • Energy management • Annunciation • 16 TTL/DTL compatible digital input channels • Security controller • Product test • Period and pulse width measurement • Event and frequency counting • Waveform and pulse generation Introduction •...
ADLINK CD. It need license. 1.4.2 ACLS-LVIEW For easily link the ACL-8111 with LabView of National Instrument, the ACLS- LVIEW includes the Vis of the ACL-8111 under for Windows 3.1/95/98 and NT. ACLS-LVIEW is included in ADLINK CD. It need license.
Installation This chapter describes how to install the ACL-8111. The following list shows the installation procedures: Unpacking and check what you have. Check the PCB and the location of jumper and switch. Setup the jumpers according to the system and applications setting.
Unpacking The ACL-8111 card contains sensitive electronic components that can be easily damaged by static electricity. The card should be done on a grounded anti-static mat. The operator should be wearing an anti-static wristband, grounded at the same point as the anti- static mat.
PCB Layout In ACL-8111, there are three connectors (CN1~CN3), one switch (SW1), one jumper (JP1) and 5 variable resistors (VR1~VR5). Please refer Figure 2.3 to identify the location these components. The card's jumpers and switches are preset at the factory. Please setup the switch and jumper according to the system setting and the application requirements.
Base Address Setting The ACL-8111 requires 16 consecutive address locations in I/O address space. The base address of the ACL-8111 is restricted by the following conditions. The base address must be within the range Hex 200 to Hex 3FF. The base address should not conflict with any PC reserved I/O address.
Page 18
ON: 0 OFF: 1. A4 ... A9 are correspond to PC address lines. How to Define a Base Address for the ACL-8111? The DIP1 to DIP6 in the switch SW1are one to one corresponding to the PC bus address line A9 to A4. A0, A1, A2, and A3 are always 0.
D/A Reference Voltage Setting The analog output range of ACL-8111 depends on the reference voltage, which is selected by JP1. There are two range of reference voltages can be assigned as either -5V or -10V, that will generate output range 0V ~ +5V or 0V ~ +10V, respectively.
Connectors Pin Assignments The ACL-8111 has three connectors: one 37-pin D-type connector (CN1) and two 20-pin insulation displacement connectors (CN2 and CN3). CN1 is for analog input and analog output signals. CN2 is for digital input signal. CN3 is for digital output signal.
Page 21
CN 2: Digital Input Signals ( DI 0 - 15) DI 1 DI 0 DI 3 DI 2 DI 5 DI 4 DI 7 DI 6 DI 9 DI 8 9 10 DI 11 DI 10 11 12 DI 13 DI 12 13 14 DI 15...
The ACLD-9182 is a 16 channel isolated digital input board. This board is connected with CN2 of ACL-8111 via 20-pin flat cable. The advantage of this board is a 500Vdc isolation voltage is provided, and it can protect your PC system from damage when an abnormal input signal is occurred.
2.7.4 Connect with ACLD-9188 ACLD-9188 is a general-purpose terminal board for the entire card, which comes equipped with 37-pin D-sub connector. ACLD-9188 ACL- 8111 Installation • 17...
Registers Address Map The ACL-8111 requires 16 consecutive addresses in the I/O address space. The following table (Table 3.1) shows the location of each register relative to the base address and register descriptions.
A/D Data Registers ACL-8111 provides 8 single-end A/D input channels. The 12 bit A/D data is put in two 8-bit registers. The low byte date (8 LSBs) is at address BASE+4 and the high byte data (4 MSBs) is at address BASE+5. The DRDY bit is used to indicate the status of A/D conversion.
A/D Channel Multiplexer Register This register is used to control the A/D channels number to convert. It's a write only register. When the channel number is written to the register, the multiplexer switches to the new channel and waits for conversion. Address: BASE + 10 Attribute: write only Data Format:...
A/D Input Range Control Register The gain control register is a write-only register using address Base + 9. It is used to adjust the gain of the analog input programmable amplifier. The data format is specified as follows: Address: BASE + 9 Attribute: write only Data Format: BASE+9...
Mode and Interrupt Control Register The Mode and Interrupt control register is a write-only register. This register control the AD operating modes and the IRQ level of the ACL-8111. The AD operation modes include the AD clock source and the AD data transfer method.
A/D conversion. You have to clear the status flag by just writing any data to this register, let the ACL-8111 can generate next interrupt if a new A/D conversion is happen.
There are 16 digital input channels and 16 digital output channels are provided by the ACL-8111. The address Base + 6 and Base + 7 are used for digital input channels, and the address Base + 13 and Base + 14 are used for digital output channels.
Page 31
Note: The D/A registers are "double buffered" so that the D/A analog output signals will not updated until the second (high) byte is written. This can insure a single step transition when the D/A conversion. Registers Format • 25...
Operation Theorem The chapter describe the operation theorem of ACL-8111. The functions include the A/D conversion, D/A conversion, and digital I/O. The operation theorem can help you to understand how to manipulate and to program the ACL-8111. A/D Conversion Before programming the ACL-8111 to perform the A/D conversion, you should understand the following issues: •...
A/D Conversion Procedure The A/D conversion is starting by a trigger source, then the A/D converter will start to convert the signal to a digital value. The ACL-8111 provides three trigger modes, see section 4.1.2. The DRDY bit in the A/D data register (Base+5) will become to 0 once the A/D conversion is completed and data on the Base+4 and Base+5 are ready.
Page 34
A/D sampling rate. It can be combined with the EOC (end-of-conversion) interrupt data transfer. On the ACL-8111, the 8253 chip for timer pacer trigger source is configured as below: The pacer rate of above configuration is determined by the formula:...
It is possible to read A/D converted data without polling. The A/D conversion time will not excess 8 µ s on ACL-8111 card. Hence, after software trigger, the software can wait for at least 25 µ s then read the A/D register without polling.
The operation of D/A conversion is simpler than A/D operation. You only need to write digital values into the D/A data registers and the corresponding voltage will be output from the AO. The ACL-8111 has one uni-polar analog output channels. To make the D/A output connections from the appropriate D/A output, please refer Figure 4.2.
Page 37
When write 12 bits data to D/A registers of the ACL-8111, the low byte must be written before the high byte. This procedure can insure a single step transition when the D/A conversion.
Digital Input and Output The ACL-8111 provides 16 digital input and 16 digital output channels through the connector CN2 and CN3 on board. The digital I/O signal are fully TTL/DTL compatible. The detailed digital I/O signal specification can be referred in section 1.3.
C/C++ Library for DOS This chapter describes the DOS software library, which is free supplied. The DOS library software includes a utility program, C language library, and some demonstration programs, which can help you reduce the programming work. To program in Windows environment, please use ACLS-DLL2. The function reference manual of ACLS-DLL2 is included in the ADLINK CD.
DOS Software Library Installation 5.1.1 Installation To install the DOS library software and utilities, please follow the following installation procedures: Put ADLINK CD into the appropriate CD-ROM drive. Type the following commands to change to the card’s directory (X indicates the CD-ROM drive): X:\>...
_8111_Initial @ Description An ACL-8111 card is initialized according to the card number and the corresponding base address. Every ACL-8111 Multi-Function Data Acquisition Card have to be initialized by this function before calling other functions. @ Syntax int _8111_Initial(int card_number, int base_addresss )
_8111_Switch_Card_No @ Description This function is used on dual-cards system. After two ACL-8111 cards are initialized by the initial function, you can select one card which you want to operate. @ Syntax int _8111_Switch_Card_No(int card_number) @ Argument: card_number: The card number to be initialized, only two cards can be initialized, the card number must be CARD_1 or CARD_2.
Page 43
This function is used to read data from digital input port. There are 16-bit digital inputs on the ACL-8111. The bit 0 to bit 7 are defined as low byte and the bit 8 to bit 15 are defined as the high byte.
_8111_DI _Channel @ Description This function is used to read data from digital input channels (bit). There are 16 digital input channels on the ACL-8111. When performs this function, the digital input port is read and the value of the corresponding channel is returned.
Page 45
@ Description This function is used to write data to digital output ports. There are 16 digital outputs on the ACL-8111, they are divided by two ports, DO_LO_BYTE and DO_HI_BYTE. The channel 0 to channel 7 are defined in DO_LO_BYTE port and the channel 8 to channel 15 are defined as the DO_HI_BYTE port.
Page 46
_8111_DA @ Description This function is used to write data to D/A converters. There is a Digital-to- Analog conversion channel on the ACL-8111. The resolution is 12-bit, i.e. the range is from 0 to 4095. @ Syntax int _8111_DA(unsigned int data )
This function is used to set AD channel by means of writing data to the multiplexer scan channel register. There are 8 single-ended A/D channels in ACL-8111, so the channel number should be set between 0 to 7 only. The initial state is channel 0 which is a default setting by the ACL-8111 hardware configuration.
This function is used to set the A/D analog input range by means of writing data to the A/D range control register. The initial value of gain is “1’ which is set by the ACL-8111 harware. The relationship between gain and input voltage ranges is specified by following tables: The initial value of gain is '1‘...
This function is used to set the A/D trigger and data transfer mode by means of writing data to the mode control register. The hardware initial state of the ACL-8111 is set as AD_MODE_1 software( internal) trigger with program polling data.
5.11 _8111_AD_Soft_Trig @ Description This function is used to trigger the A/D conversion by software. When the function is called, a trigger pulse will be generated and the converted data will be stored in the base address Base +4 and Base +5, and can be retrieved by function _8111_AD_Aquire().
ErrCode; _8111_Initial( CARD_1, 0x220 ); /* Assume NoError when Initialize ACL-8111 /* Set to software trigger at first*/ _8111_AD_Set_Mode( IRQ5, AD_MODE_1 ); /* then trigger the AD */ _8111_AD_Soft_Trig(); /* wait for AD data ready then read it */ ErrCode = _8111_AD_Aquire( &ad_data );...
@ Description This function is used to clear interrupt request which requested by the ACL-8111. If you use interrupt to transfer A/D converted data, you should use this function to clear interrupt request status, otherwise no new coming interrupt will be generated.
5.14 _8111_AD_INT_Start @ Description The function will perform A/D conversion N times with interrupt data transfer by using pacer trigger. It takes place in the background which will not be stopped until the Nth conversion has been completed or your program execute _8111_AD_INT_Stop() function to stop the process.
5.15 _8111_AD_INT_Status @ Description Since the _8111_AD_INT_Start() function executes in background, you can issue the function _8111_AD_INT_Status to check the status of interrupt operation. @ Syntax int _8111_AD_INT_Status( int *status , int *count ) @ Argument: status: status of the INT data transfer 0: A/D INT is completed 1: A/D INT is not completed count:...
It is possible to stop the pacer trigger by setting any one of the dividers as 0. The AD conversion rate is limited due to the conversion time of the AD converter, the highest sampling rate of the ACL-8111 can not be exceeded 30 KHz,Thus the multiplication of the dividers must be larger than 70.
This chapter will guide you to calibrate your ACL- 8111 to an accuracy condition. Note : Your ACL-8111 board has been carefully calibrated in the factory before it is shipped to you. What do you need...
VR Assignments There are five variable resistors (VR) on the ACL-8111 board to allow you making accurate adjustment on A/D and D/A channels. The function of each VR is specified below: VR No. Function D/A full scale adjustment D/A zero offset adjustment...
A/D Calibration Since the ACL-8111 provides versatile A/D input ranges, the calibration on one A/D range may cause a small offset on other ranges. It is suggested that you calibrate the A/D range which you need best accuracy. The procedures of calibration are as follows: Set the analog input range as: +/- 5V, i.e.
Appendix A. Demo. Programs In this software diskette, there are 6 demonstration programs are provided. They could help you to program your application by using C Language Library easily. The description of these programs are specified as follows: A/D conversion uses software trigger and AD_DEMO1.C: program data transfer.
Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully. Before using ADLINK’s products please read the user manual and follow the instructions exactly. When sending in damaged products for repair, please attach an RMA application form which can be downloaded from: http://rma.adlinktech.com/policy/.
Page 61
• Damage caused by leakage of battery fluid during or after change of batteries by customer/user. • Damage from improper repair by unauthorized ADLINK technicians. • Products with altered and/or damaged serial numbers are not entitled to our service. • This warranty is not transferable or extendible.
Need help?
Do you have a question about the ACL-8111 and is the answer not in the manual?
Questions and answers