background image

 
 

PIO-821 Series Card   

User Manual

 

45 kS/s 12-bit, 16-ch A/D, 1-ch D/A Multi-function DAQ Board     

Version 2.0, Mar. 2015 

 

 

S

UPPORTS

 

Board includes PIO-821L, PIO-821H, PIO-821LU and PIO-821HU.

 

 

W

ARRANTY

 

All  products  manufactured  by  ICP  DAS  are  warranted  against  defective  materials 
for a period of one year from the date of delivery to the original purchaser. 

 

W

ARNING

 

ICP  DAS  assumes  no  liability  for  damages  consequent  to  the  use of this  product. 
ICP DAS reserves the right to change this manual at any time without notice. The 
information furnished by ICP DAS is believed to be accurate and reliable. However, 
no  responsibility  is  assumed  by  ICP DAS  for  its  use,  nor  for  any  infringements  of 
patents or other rights of third parties resulting from its use. 

 

C

OPYRIGHT

 

Copyright ©  2014 by ICP DAS. All rights are reserved.

 

 

T

RADEMARK

 

Names are used for identification only and may be registered trademarks of their 
respective companies. 

 

C

ONTACT 

US 

If you have any question, please feel to contact us at: 
[email protected][email protected]   
We will give you quick response within 2 workdays. 

Summary of Contents for PIO-821 Series

Page 1: ...DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS fo...

Page 2: ...Settings Pull High Low 12 2 4 3 JP4 A D input type selection S E Diff 13 2 4 4 A D Input Signal Connection 14 2 5 CONFIGURATION OF THE 8254 CHIP 18 2 5 1 JP5 Chip 8254 Clock Settings Internal Externa...

Page 3: ...r 48 7 3 3 AUX Data Register 48 7 3 4 INT Mask Control Register 49 7 3 5 AUX Status Register 50 7 3 6 Interrupt Polarity Control Register 50 7 3 7 8254 Counter 51 7 3 8 A D Buffer Register 51 7 3 9 D...

Page 4: ...ut channels 12 bit DAC voltage output and 16 TTL compatible digital input and digital output channels The PIO 821L LU provides for low gain 1 2 4 8 and the PIO 821H HU supports high gain 1 10 100 1000...

Page 5: ...electable input ranges A D trigger mode software trigger pacer trigger external trigger Analog input range PIO 821L LU 5 V 2 5 V 1 25 V 0 625 V PIO 821H HU 5 V 0 5 V 0 05 V 0 005 V Programmable high l...

Page 6: ...mable pacer Data Transfer Polling Interrupt Accuracy 0 01 of FSR 1 LSB 25 C 10 V Zero Drift 4 ppm C of FSR Analog Output Channels 1 Resolution 12 bit Accuracy 0 01 of FSR 1 2 LSB 25 C 10 V Output Rang...

Page 7: ...ersal PCI 32 bit 33 MHz 5 V PCI 32 bit 33 MHz Data Bus 8 bit Card ID Yes 4 bit No I O Connector Female DB37 x 1 20 pin box header x 2 Dimensions L x W x D 159 mm x 97 mm x 22mm 183 mm x 105 mm x 22 mm...

Page 8: ...log Output 1111 1111 1111 Vref 4095 4096 0000 0000 0000 Vref 1 4096 0000 0000 0000 0 Volts 1 3 3 Programmable Timer Counter Type 82C54 programmable timer counter Timers three 16 bit independent timers...

Page 9: ...rd User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 8 2 Hardware Configuration 2 1 The Block Diagrams The block diagram of the PIO 821 series is illustrated below in order to assist users in understanding...

Page 10: ...BUS PIO 821L H PCI controller CON1 CON2 JP2 JP4 10V 5V JP1 JP5 JP6 CON1 The terminal for digital input Refer to Sec 2 6 for more detailed about pin assignments information CON2 The terminal for digit...

Page 11: ...more detailed about pin assignments information CON2 The terminal for digital output CON3 The terminal for the A D and D A converters for voltage input output JP1 No use JP2 D A reference voltage sele...

Page 12: ...r detail SW1 Card ID settings please refer to Table 2 1 Note that the Card ID function is only supported by the PIO 821LU HU Table 2 1 Default Settings OFF 1 ON 0 Card ID Hex 1 ID0 2 ID1 3 ID2 4 ID3 0...

Page 13: ...e of analog voltage output for the A D converter In the same way the 10 V reference voltages support a functional range between 0 to 10 V of analog voltage output JP2 10V 5V JP2 10V 5V Reference Volta...

Page 14: ...log input signal which is the default setting However for the differential signal measurement the pin 3 5 and pin 4 6 for the JP4 jumper should be connected as shown Figure 2 6 b Furthermore based on...

Page 15: ...ions and the connection shown in Figure 2 10 is suitable for floating analog input signals Note In Figure 2 9 the maximum common mode voltage between the analog input source and the AGND is 70 Vp p so...

Page 16: ...al Ver 2 0 Mar 2015 PMH 019 20 Page 15 Figure 2 7 Differential input with grounded source Right way A D CH0 HI A D CH n HI A D CHn LO A GND n A D CH 0 LO Es 1 Es n S S A GND 1 Figure 2 8 Single ended...

Page 17: ...analog input source and the AGND is 70 Vp p Make sure that the input signal is under specification first If the common mode voltage is over 70 Vp p the input multiplexer will be permanently damaged Fi...

Page 18: ...sistors between and terminals and the board will read a 2 5 VDC voltage You can use the I V R Ohm s law to calculate what value the source current should have Current I Voltage V Resistance R 2 5 V 12...

Page 19: ...d by user In below the detail clock source setting will be brought up The PIO 821 series card can be selected to use either the external or internal clock as a signal source of the timer 0 of IC 82c54...

Page 20: ...nal gate or internal Cout0 Counter0 signal to control the 82c54 s counter2 through the use of the JP6 jumper as shown in Figure 2 13 The left hand diagram of Figure 2 13 is the default setting for the...

Page 21: ...below Gate0 Gate1 Gate2 Cin0 Cin1 Cin2 Cout0 Cout1 Cout2 8254 Timer Counter JP5 EXT_CLK 2 MHz 1 2 3 JP6 1 2 3 COUT0 COUT1 COUT2 Pacer COUT1 COUT0 COUT0 EXT_GATE2 INT_CLK 2 MHz EXT_GATE0 VCC VCC VCC 1...

Page 22: ...gnments of CON1 CON2 and CON3 on the PIO 821 series cards are represented in the figure below CON1 CON2 20 pin flat cable headers for digital input output CON1 2 are TTL compatible High 1 2 0 5 0 V Vo...

Page 23: ...uter first For detailed information about the driver installation please refer to Chapter 4 Software Installation Step 2 Configuring Card ID by the SW1 DIP Switch for PIO 821LU HU only For detailed in...

Page 24: ...kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 23 Step 3 Shut down and power off your computer Step 4 Remove all covers from the computer Step 5 S...

Page 25: ...A Multi function DAQ Board User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 24 Step 6 Remove the PCI slot cover form the PC Step 7 Remove the connector cover form the PIO 821 series card Step 8 Carefully...

Page 26: ...Ver 2 0 Mar 2015 PMH 019 20 Page 25 Step 9 Tighten the screw Step 10 Replace the computer cover Step 11 Power on the computer Follow the prompt message to finish the Plug Play steps please refer to Ch...

Page 27: ...can be found on the supplied CD ROM or can be obtained from the ICP DAS FTP web site Install the appropriate driver for your operating system The location and addresses are indicated in the Table4 1 a...

Page 28: ...ng Procedure For detailed information about the PIO 821 series classic driver installation please refer to PIO 821 series classic driver DLL Software Manual The user manual is contained in CD NAPDOS P...

Page 29: ...steps 4 3 1 How do I get into Windows Device Manager Microsoft Windows 95 98 ME users Step 1 On the desktop right click on My Computer and click Properties or open the Control Panel and double click t...

Page 30: ...tton Step 2 In the Start Search box type device manager and then press enters Microsoft Windows 8 users Step 1 To show the Start screen icon from the desktop view simply hover your cursor over the bot...

Page 31: ...t 16 ch A D 1 ch D A Multi function DAQ Board User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 30 4 3 2 Check that the Installation Check the PIO 821 series card which listed correctly or not as illustrat...

Page 32: ...his way user can confirm that PIO 821 series card well or not Before the self test you must complete the hardware and driver installation For detailed information about the hardware and driver install...

Page 33: ...erminal board Provide a stable signal source For example dry battery Step 1 Use the DN 37 to connect the CON3 on the PIO 821 series card Step 2 Wire the signal source to A D channel0 and then keep set...

Page 34: ...ring terminal board Digital Multi Meter Step 1 Use the DN 37 to connect the CON3 on the PIO 821 series card Step 2 Wire the signal source to D A channel and then keep set the JP2 jumper to 5 V default...

Page 35: ...k Start Guide of the PIO 821 http ftp icpdas com pub cd iocard pci napdos pci pio 821 manual quickstart classic pio 821_q uickstart_eng_v11 pdf to execute the self test Step 1 Execute the UniDAQ Utili...

Page 36: ...ard User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 35 Step 2 Get DIO function test result Select the Port 0 Check channel 0 2 4 6 6 5 Click Digital Output item 4 Select the Port 0 8 The corresponding D...

Page 37: ...er Manual Ver 2 0 Mar 2015 PMH 019 20 Page 36 Step 3 Get Analog Input function test result Click this button to start test 12 Confirm the configuration setting 11 Click Analog Input item 10 10 Check a...

Page 38: ...test result Click Analog Output item 14 15 16 17 Select the Channel 0 Select the 0 5V Type the voltage value Click this button 18 2 499 Check the value on multi meter they should be identical to the...

Page 39: ...eter Note that the calibrated values for analog output and analog input channels are stored within 3 words in the address of the EEPROM as show in Table6 1 The calibration procedure will be demonstrat...

Page 40: ...hown in Figure 6 1 2 Step 5 If the analog output is smaller or bigger than the allowed maximum 5 00 V value of analog output then go to step 3 to step 4 to change the output value for example 4093 409...

Page 41: ...0 together as shown in the following Figure6 2 Step 2 Click the AD calibration button to write the value of the analog input channel 0 into the text field of the AD calibration value as shown in Figu...

Page 42: ...Device ID 0x02 Device ID 0x01 Sub Vendor ID 0x80 Sub Vendor ID 0x00FF 0x40FF Sub Device ID 0x03 Sub Device ID 0x03 Sub Aux ID 0x00 Sub Aux ID 0x00 We provide all necessary functions as follows 1 PIO_D...

Page 43: ...to Sec 7 1 1 for more information 7 1 1 PIO_PISO Utility The PIO_PISO EXE is valid for all PIO PISO cards This program shows all PCI hardware ID regarding the PIO and PISO series DAQ cards It is usefu...

Page 44: ...H 019 20 Page 43 For Windows OS The PIO_PISO EXE for Windows is contained in CD NAPDOS PCI Utility Win32 PIO_PISO http ftp icpdas com pub cd iocard pci napdos pci utility win32 pio_piso After executin...

Page 45: ...PIO H WORD wBase wIrq WORD wBase2 wIrq2 int main int i j j1 j2 j3 j4 k jj dd j11 j22 j33 j44 WORD wBoards wRetVal WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice char c float ok err clrscr wRe...

Page 46: ...nstrated below The simplest way to identify which card is card_0 is to use wSlotBus and wSlotDevice in the following manner Step 1 Remove all PIO 821 series boards from the PC Step 2 Install one PIO 8...

Page 47: ...mation can be used to identify the specified PIO PISO card by following steps Step1 Using the wSlotBus and wSlotDevice information from Table 7 2 Step2 Enter the board number into PIO_GetConfigAddress...

Page 48: ...ormation about wBase Address Read Write wBase 0x0 RESET Control Register RESET Control Register wBase 0x2 AUX Control Register AUX Control Register wBase 0x3 AUX Data Register AUX Data Register wBase...

Page 49: ...Register Read Write wBase 0x2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Aux7 Aux6 Aux5 Aux4 Aux3 Aux2 Aux1 Aux0 This register is designed for feature extension and for enable or disable of the...

Page 50: ...ready INT1 Timer 0 EN0 0 disable INT0 to be an interrupt signal default EN0 1 enable INT0 to be an interrupt signal EN1 0 disable INT1 to be an interrupt signal default EN1 1 enable INT1 to be an int...

Page 51: ...rol Register Read Write wBase 0x2a Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 INV1 INV0 The interrupt polarity control register is presented as following table It is used to invert the in...

Page 52: ...s Handbook 7 3 8 A D Buffer Register Read wBase 0xd0 A D Low Byte Data Format Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 D7 D6 D5 D4 D3 D2 D1 D0 Read wBase 0xd4 A D High Byte Data Format Bit 7 Bi...

Page 53: ...The D A output latch registers are designed as a double buffered structure so the analog output latch registers will be updated until the high 4 bits digital data are written The user must send low 8...

Page 54: ...es 16 TTL compatible digital outputs The low 8 bits are stored in address wBase 0xd8 The high 8 bits are stored in address wBase 0xdc 7 3 12 A D Gain Control and Multiplex Control Register Write wBase...

Page 55: ...annel selection data 4 bits MUX3 to MUX0 MUX3 MSB D0 MUX0 don t care Single ended mode MUX3 MUX0 Differential mode MUX2 MUX0 MUX3 don t care 7 3 13 A D Mode Control Register Write wBase 0xe4 Bit 7 Bit...

Page 56: ...software control After setting section 7 3 13 A D Mode Control Register to software trigger mode writing 1 to A D software trigger control register will trigger A D converter to complete an A D conve...

Page 57: ...anual CD NAPDOS PCI PISO 821 Manual 8 Demo Programs 8 1 Demo Program for Windows All demo programs will not work properly if the DLL driver has not been installed correctly During the DLL driver insta...

Page 58: ...AQ H Header files UniDAQ LIB Linkage library for VC only VB6 for Visual Basic 6 UniDAQ BAS Declaration files VC NET2005 for VC NET2005 32 bit UniDAQ H Header files UniDAQ LIB Linkage library for VC on...

Page 59: ...refer to PIO 821 DLL Software Manual CD NAPDOS PCI PIO 821 Manual TC LIB for TC Library TC DEMO for TC demo program TC DIAG for TC diagnostic program TC LIB PIO H TC Declaration File TC LIB TCPIO_L L...

Page 60: ...is a general purpose daughter board for DB 37 pins with DIN Rail Mountings They are also designed for easy wire connection via pin to pin Use a 37 pin cable e g CA 3710 etc to connect to CON1 of the P...

Page 61: ...ted of are bi directional optocoupler with resistor for current sensing You can use the DB 16P to sense DC signal from TTL levels up to 24 V or use the DB 16P to sense a wide range of AC signals You c...

Page 62: ...ck The relay is powered by applying a 5 V signal to the appropriate relay channel on the 20 pin flat connector There are 16 LEDs for each relay which illuminated when their associated relay is activat...

Reviews: