Home
Hardware User`s Manual
Contents
1. PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 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 installation process the install shields will register the correct kernel driver to the operation system and copy the DLL driver and demo programs to the correct position based on the driver software package you have selected Win98 Me NT 2K and 32 64 bit winXP 2003 V ista 7 8 Once driver installation is complete the related demo programs and development library and declaration header files for different development environments will be presented as follows Demo Program for PIO 821 Series Classic Driver The demo program is contained in CD NAPDOS PCI PIO 821 DLL Demo http ftp icodas com pub cd iocard pci napdos pci pio 821 dll demo BCB4 gt for Borland C Builder 4 Delphi4 gt for Delphi 4 PIO821 H gt Header files P10821 PAS gt Declaration files P10821 LIB gt Linkage library for BCB only VC6 gt for VisualC 6 VB6 gt for Visual Basic 6 PIO821 H gt Header files P10821 BAS gt Declaration files PIO821 LIB gt Linkage library for VC only VB NET2005 gt for VB NET2005 CSharp2005 gt for C NET2005 PIO821 vb gt Visual Basic Source files PIO821 cs gt Visual C Source files For detailed information about the DLL function of the PIO 821 series card pleas
2. 08 The PIO 821L H provides 16 TTL compatible digital outputs The low 8 bits are stored in address wBase Oxd8 The high 8 bits are stored in address wBase Oxdc 7 3 12 A D Gain Control and Multiplex Control Register Write wBase OxeO D O Low Byte Data Format ee eee MUX3 MUX2 MUX1 MUXO GAIN1 GAINO PIO 821L LU GAINS Control Code Table Taf sv o 0 ae Ta fay a foe lees 1 a te PIO 821H HU GAINS Control Code Table Ts fp sv o o am Co as o o asy o l om User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 53 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board The only difference between PIO 821L LU and PIO 821H HU is the GAIN control function The PIO 821L LU provides gain factor of 1 2 4 8 and PIO 821H HU provides 1 10 100 1000 The gain control registers control the gain of A D input signal Note If gain control code changed the hardware needs to delay extra gain settling time The gain settling time is different for different gain control code The software driver does not take care of the gain settling time so the user needs to delay the gain settling time if gain changed A D input channel selection data 4 bits MUX3 to MUXO MUX3 MSB DO MUNO don t care Single ended mode MUX3 MUXO Differential mode MUX2 MUX0O MUX3 don t care 7 3 13 A D Mode Control Register Write wBase Oxe4 The PIO 821 series card pr
3. Step 1 Installing PIO 821 series card driver on your computer 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 information about the card ID SW1 please refer to Sec 2 3 Car ID Switch User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 22 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Step 3 Shut down and power off your computer Turn off computer Step 4 Remove all covers from the computer Step 5 Select an empty PCI slot User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 23 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 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 insert your PIO 821 series card into the PCI slot User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 24 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Step 9 Tighten the screw Confirm the PIO 821 series card is mounted on the motherboard Step 10 Replace the computer cover Step 11 Power on the computer Follow the prompt message to finish the Plug amp Play steps please refer to Chapter 4 Software Installation User Manual Ver 2 0 Mar 2015
4. 1111 1111 1111 Vref 4095 4096 0000 0000 0000 Vref 1 4096 0000 0000 0000 O Volts 1 3 3 Programmable Timer Counter E Type 82C54 programmable timer counter E Timers three 16 bit independent timers Timer 2 is used as the internal A D pacer trigger timer Timer 0 and Timer 1 are used as the machine independent timer C Timer 0 could use external clock by setting JP5 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 7 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 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 the data flow within the hardware and software system structure X86 SYSteEm REItInterfacelSystem lt EPROM System Controller lt Status Control ee AHAAA Digital Input 16 bits DO ASE Digital Output Hohe DYN Analog Output JN Da Ge ays aaa 6 HAHAA Analog Input 12 bit AAA Figure 2 1 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 8 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 2 Board Layout Figure 2 2 and Figure 2 3 shows the layout of the PIO 821L H and PIO 821LU HU boards and the locations of the configuration jumper and connector for signal wiring E Board Layout of the PIO 821L H JP2 GE 10V PIO 821L H
5. Output Driving Slew Rate Output Impedance Operating Mode Digital Input Channels 5 V TTL Logic 0 0 8 V max Logic 1 2 0 V min 1 2 MHz Typical Compatibility Input Voltage KA GA Response Speed Digital Output Channels 5 V TTL Logic 0 0 4 V max Logic 1 2 4 V min Sink 2 4 mA 0 8 V Source 0 8 mA 2 0 V 1 2 MHz Typical Compatibility Output Voltage Output Capability Channels o User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 5 Response Speed PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Model Name PIO 821LU PIO 821HU PIO 821L PIO 821H Timer Counter Channels 3 Internal pacer x 1 Independent x 2 Resolution 16 bit Compatibility 5 V TTL Input Frequency 10 MHz max Reference Clock Internal 2 MHz 3 3 V5 V Universal PCI 32 bit l Bus Type 5 V PCI 32 bit 33 MHz 33 MHz Data Bus 8 bit Card ID 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 960 mA 5 V Operating Temperature 0 60 C Storage Temperature 20 70 C 5 85 RH non condensing I O Connector 1 3 1 Analog Input Range Model PIO 821L LU Low Gain C Model PIO 821H HU High Gain Sampling Rate Max User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 6 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 1 3 2 Analog Output Range Data Input Analog Output
6. as show in Table6 1 The calibration procedure will be demonstrated below Table 6 1 Calibration values stored in the EEPROM address The address of the EEPROM for The address of the EEPROM for Analog output Analog input O e ee KEN a TI The calibration exe program for the ICP DAS PIO 821 series can be found on the supplied CD ROM or can be obtained from the ICP DAS FTP web site The location and addresses are indicated in the table 6 2 below Note Before beginning the A D and D A Calibration process the PIO 821 series classic driver installation must be completed For detailed information regarding PIO 821 series classic driver installation refer to section 4 1 2 Table 6 2 CD NAPDOS PCI PIO 821 DLL Calibrate http ftp icodas com pub cd iocard pci napdos pci pio 821 dll calibrate User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 38 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 6 1 D A Calibration Figure 6 1 w calibration DV calibration step 1 Set the JP2 to SY step A keyin DA value m DA calibration value field step 3 click the DA output button and measure DA value step 4 If the value is 5 00 key in value to SY calibration value textbox else return to stepe IV calibration Please refer the D calibration but JPZ change to IN and measure value is 10 00 Al calibrateation setup 1 mut OY to channel setup 2 Click the AD calibratio
7. char c float ok err clrscr wRetVal PIO_DriverInit amp wBoards Oxff Oxff Oxff for PIO PISO printf nThrer are d PIO_PISO Cards in this PC wBoards if wBoards 0 exit 0 orintf n ee tees EE ny for i 0 i lt wBoards i d PIO_GetConfigAddressSpace i amp wBase amp wlirq amp wSubVendor amp wSubDevice amp wSubAux amp wSlotBus amp wSlotDevice printf nCard_ d wBase x wlrq x subID x x x SlotID x x i wBase wirg wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf gt ShowPioPiso wSubVendor wSubDevice wSubAux PIO_DriverClose PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 2 The Assignment of I O Address The Plug amp Play BIOS will assign the proper I O address to a PIO PISO series card If there is only one PIO PISO board the user can identify the board as card_O If there are two PIO PISO boards in the system it is very difficult to identify which board is card_0 The software driver can support a maximum of 16 boards Therefore the user can install 16 PIO PSIO series cards onto one PC system The methods used to find and identify card_O and card_1 is demonstrated below The simplest way to identify which card is card_0O 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 821 series into the PC s PCI_slot1 run PIO_PISO EX
8. CS http ftp icodas com pub cd iocard pci napdos pci pio 821 dos TC gt for Turbo C 2 xx or above TC LIB gt for TC Library TC DEMO gt for TC demo program TC DIAG gt for TC diagnostic program TC LIB PIO H gt TC Declaration File TC LIB TCPIO_L LIB gt TC Large Model Library File TC LIB TCPIO_H LIB gt TC Huge Model Library File ooo 6 For detailed information about the DLL function of the DOS please refer to PlIO 821 DLL Software Manual CD NAPDOS PCI PIO 821 Manual User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 58 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Appendix Daughter Board A1 DB 37 and DN 37 DB 37 The DB 37 is a general purpose daughter board for D sub 37 pins It is designed for easy wire connection via pin to pin Use a 37 pin cable e g CA 3710 etc to connect DB 37 to CON1 of the PIO 821 series card DB 37 E DN 37 The DN 37 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 PISO 813 series card by DN 37 A2 DB 8225 The DB 8225 provides an onboard CJC Cold Junction Compensation circuit for thermocouple measurement and terminal block for easy signal connection and measurement The CJC is connected to A D channel_O and CON3 on the PIO 821 can b
9. Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 PIO PISO identification information e wSubVendor subVendor ID of this board wSubDevice subDevice ID of this board wSubAux subAux ID of this board 3 PC s physical slot information wSlotBus hardware slot ID1 in this PC s slot position wSlotDevice hardware slot ID2 in this PC s slot position The PIO_PISO EXE utility will detect and show all PIO PISO cards installed in this PC Refer to Sec 7 1 1 for more information 7 1 1 PIO PISO Utility The PIO_PISO EXE is valid for all PlO PISO cards This program shows all PCI hardware ID regarding the PIO and PISO series DAQ cards It is useful to test if the card Plug amp Play successfully when the computer bootup If the PIO or PISO series card does not shown in the screen correctly please try to use another PCI slot and try again The user can execute the PIO_PISO EXE to get the following information e List all PIO PISO cards installed in this PC e List all resources allocated to every PIO PISO cards e List the wSlotBus and wSlotDevice for specified PIO PISO card identification refer to Sec 7 2 for more information about the assignment of I O Address User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 42 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board mE For Windows OS The PIO_PISO EXE for Windows is contained in CD NAPDOS PCI Utility Wi
10. In the Start Search box type device manager and then press enters Control Panel 3 E Device Manager ark View devices and printers Ei Update device drivers P See more results Microsoft Windows 8 users Step 1 To show the Start screen icon from the desktop view simply hover your cursor over the bottom left corner of your screen Or using keyboard shortcuts click Windows Key X to open the Start Menu Step 2 Right click on the Start screen icon then click on Device Manager Disk Management Computer Management Command Prompt Command Prompt Admin Task Manager Control Panel Windows Explorer Search Desktop Right click User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 29 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 4 3 2 Check that the Installation Check the PIO 821 series card which listed correctly or not as illustrated below E Device Manager Fie Action View Help Installation successful en Sai Uu DAQ PIO 821 Multi installation successful H Disk drives d BR Display adapters A DVD CD ROM drives 1 f Floppy disk controllers Hy IDE ATASATAPT controllers i gt Keyboards T5 Mice and other pointing devices e Monitors E8 Network adapters FY Ports COM amp LPT E Processors i AD Sound video and game controllers System devices Universal Serial Bus controllers User Manua
11. JP5 JP6 SW1 TAN Sy JP6 OlO O Q gt QG O JP5 m 6 O A ai IPA Ge controller a2 AMAA O JP1 a 0099909099 JP3 oO Universal PCI BUS Figure 2 3 The terminal for digital input The terminal for digital output The terminal for the A D and D A converters for voltage input output No use D A reference voltage selection Pull high or pull low for DI A D input type selection Single End or Differential External Clock Internal Clock 2MHz External Gate Counter0 COUTO Card ID function Refer to Sec 2 6 for more detailed about pin assignments information Refer to Sec 2 4 1 Refer to Sec 2 4 2 Refer to Sec 2 4 4 Refer to Sec 2 5 1 Refer to Sec 2 5 2 Refer to Sec 2 3 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 10 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 3 Card ID Switch The PIO 821LU HU has a Card ID switch SW1 with which users can recognize the board by the ID via software when using two or more PIO 821LU HU cards in one computer The default Card ID is 0x0 For 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 Default Settings Table 2 1 Default Settings OFF gt 1 ON gt 0 Card ID Hex User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 11 PIO 821 Seri
12. for 10 V mode Please refer to the Calibration for 5 V mode but the JP2 jumper has to be configured at the 10 V output range and the allowance set to the maximum value at 10 00 V User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 39 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 6 2 A D Calibration Step 1 Set the JP4 jumper on PIO 821 to the differential input position refer to Sec 2 4 3 and connect the Al0O CON3 pin1 and AlO CON3 pin20 of analog input channel O together as DN 37 I O WIRING shown in the following Figure6 2 20 2i 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 VOO OWOOOOV VO OOOOOO OOO 4 5 6 7 8 9 10 11 12 13 14 15 16 17 16 19 Figure 6 2 w calibration Step 2 Click the AD calibration EV calibration button to write the value of the analog step 1 Set the JFZ to oY step A keyin DA value m DA calibration value feld step 3 click the DA output button and measure DA value In p ut ch an nel O Into the text field of step 4 Ir the value is 5 00 key in value to SY calibration value textbox else return to stepe 10 calibration _ the AD calibration value as shown Please refer the D calibration but JPZ change to IN and measure value is 10 00 Al calibrateation setup 1 input OY to charel In F igure 6 3 1 setup 2 Click the AD calibration button this program will measure the channel Write the all calibrate value to cali
13. source current should have Current I Voltage V Resistance R 2 5V 1250 0 02A 20m m Figure 2 12 Signal Shielding Signal shielding connections in Figure 2 7 to Figure 2 11 are all the same as show in the below figure Use a single point connection to frame ground not A GND or D GND Figure 2 11 PIO 821 Series Card A GND D GND Frame Ground User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 17 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 5 Configuration of the 8254 Chip 2 5 1 JP5 Chip 8254 Clock Settings Internal External Clock The function of the 8254 chip is used to provide the hardware sampling mechanism and counter operation There is two ways to provide the clock source which are 1 On board oscillator 2 MHz called as Internal clock 2 External clock source that comes in from the connector pin and can be provided 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 O of IC 82c54 This selection is made by the JP5 jumper as shown in Figure 2 12 The left hand side diagram shows the setting for the internal clock at 2 MHz On the other hand the right hand side diagram shows the setting for external clock The clock signal source is controlled by the external source However the maximum frequency of th
14. unidag manual Installing Procedure User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 26 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Table 4 2 PIO 821 Series Classic Driver Windows 95 98 ME Windows NT Windows 2000 32 bit Windows XP gt 32 bit Windows 2003 32 bit Windows Vista 32 bit Windows 7 Driver Name PIO 821 Series Classic PIO 821_ Win Setup _xxx_x86 exe CD ROM CD NAPDOS PCI PIO 821 DLL Driver For detailed information about the PIO 821 series classic driver installation i please refer to PIO 821 series classic driver DLL Software Manual Installin e The user manual is contained in Procenure CD NAPDOS PCI PIO 821 Manual http ftp icodas com pub cd iocard pci napdos pci pio 821 manual 4 2 PnP Driver Installation Power off the computer and install the PIO 821 series cards Turn on the computer and Windows 95 98 ME NT 2000 and 32 64 bit Windows XP 2003 Vista 7 8 should automatically defect the new PCI device s and then ask for the location of the driver files for the hardware If a problem is encountered during installation refer to the PnPinstall pdf file for more information User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 27 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 4 3 Verifying the Installation Please open the Device Manager to verify the installation Below are the steps for entering th
15. 30 31 32 33 34 35 36 37 Dry Battery User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 32 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 5 1 3 Analog Output Test Wiring mM Prepare for device M DN 37 optional wiring terminal board M 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 settings refer to Sec 2 4 1 for more detailed and wire the signals as follows Connect the positive probe of Multi meter to DAOUT Pin 30 and then the negative probe of Multi meter to A GND Pin 29 Digital Multi Meter gt Le Cable CA ee 3710 DN 37 IZO WIRING 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 33 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 5 2 Execute the Test Program The following example use UniDAQ driver to perform self test If you install the PIO 821 series classic driver please refer to Quick Start Guide of the PIO 821 uickstart eng vii pdf to execute the self test Step 1 Execute the UniDAQ Utility Program The UniDAQ Utility exe will be placed in the default path C ICPDAS UniDAQ Driver after completing installation 1 Double click the
16. A eeng a e E Click this button Voltage Output gg Channel Range Voltagelv EE 0 d D Untipclar 0 Ei gd E A QUTPUT The value read on meter may be a little difference from the DA value because of the resolution limit of meter or the measurement error 0 PIO 821 CARD ID F BHA Voltaoe Outout Channel Range voltage e lo Unipolar O 5 D z Curent GQutout Channel Range CurrentimA U 0 eledi 25 Es Check the value on multi meter they should be identical to the values set in program User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 37 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 6 Calibration The PIO 821 is already fully calibrated when shipped from the factory including the calibration coefficients which are stored in the EEPROM on board For more precise application of voltages at the system end the following procedure provides a method that allows you to calibrate the board within your system so that you can achieve the correct voltages at your field connection This calibration allows the user to remove the effects of voltage drops caused by IR loss in the cable and or connector At first the user has to prepare the equipment for calibration the precise multi meter Note that the calibrated values for analog output and analog input channels are stored within 3 words in the address of the EEPROM
17. E Then record the wSlotBus1 and wSlotDevice1 information Step 3 Remove all PIO 821 series boards from the PC Step 4 Install one PIO 821 series into the PC s PCI_slot2 and run PIO_PISO EXE Then record the wSlotBus2 and wSlotDevice2 information Step 5 Repeat Steps 3 and 4 for every PCI slot and record all information from wSlotBus and wSlotDevice The records may look similar to the table follows Table 7 2 PC s PCI Slot WslotBus WslotDevice Slot_1 0x07 Slot_2 0x08 Slot_3 0x09 Slot_4 Ox0A PCI BRIDGE Slot_5 Ox0A Slot_6 0x08 Slot_7 0x09 Slot_8 0x07 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 45 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board The above procedure will record all the wSlotBus and wSlotDevice information on a PC These values will be mapped to this PC s physical slot and this mapping will not be changed for any PIO PISO cards Therefore this information 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_GetConfigAddressSpace function to get the information for a specific card especially the wSlotBus and wSlotDevice details Step3 Identify the specific PIO PISO card by comparing the data of the wSlotBus and wSlotDevice from Step1 and Step2 Note that normally the card installed in slot 0 is card0 and the card install
18. E TEE 50 Po e EE 51 Z386 A D BY FORO GIS CCN ee e 51 TBP DF e 52 Zad EE eege 52 Z211 D O Output Buffer EN 53 7 3 12 A D Gain Control and Multiplex Control Register 53 7 3 13 A D Mode Control Ee 54 7 3 14 A D Software Trigger Control Register 55 Pela COTA O EE 55 8 DEMO PROGRAM E 56 8 1 DEMO PROGRAM FOR WINDOWS cccccccccsssseeecceecceeesseecccceeeaeessececeeeeeuessseceeeeessueeseeeceeeesuueesececeeesauaasseeeeesessuggaseeees 56 8 2 DEMO PROGRAM FOR DOS 58 APPENDIX DAUGHTER EEN 59 EE 59 eeh 59 A3 DB 1G6P Isolated Input Board WEE 60 PA OB TORR e GE 61 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 2 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 1 introduction The PIO 821LU HU card is the new generation product that ICP DAS provides to meet RoHS compliance requirement The new PIO 821LU HU card is designed as a drop in replacement for the PIO 821L H and users can replace the PIO 821L H by the PIO 821LU HU directly without software driver modification The PIO 821 series cards are a high performance multifunction board for PC AT compatible computers The PIO 821LU HU universal PCI card supports 3 3 V5 V PCI bus while the PIO 821L H supports 5 V PCI bus They feature a 12 bit ADC and the maximum sampling rate of the A D converter reaches up to about 45K samples sec 16 single ended or 8 differential analog input channels 12 bit DAC voltage output and 16 TTL compatible digita
19. EADY bit will be set to 1 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 3 9 D A Buffer Register wi wBase 0xd0 D A Low Byte Data Format m me f ees f oea ms mee or o Write wBase 0xd4 D A High Byte Data Format 8 o o 0o m w ie The D A converter will convert the 12 bits digital data to analog output The low 8 bits of D A channel are stored in address wBase 4 and high 4 bits are stored in address wBase 5 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 bits first and then send high 4 bits to update the 12 bits AD output latch register 7 3 10 D I Input Buffer Register Read wBase 0xd8 D I Low Byte Data Format w oe os o o 1 oo Read wBase Oxdc D I High Byte Data Format DI 16 bits input data D15 to DO D15 MSB DO LSB The PIO 821 series card provides 16 TTL compatible digital inputs The low 8 bits are stored in address wBase 0xd8 The high 8 bits are stored in address wBase Oxdc PIO 821 Series Card 45 kS s 12 bit 16 ch VAD 1 ch D A Multi function DAQ Board 7 3 11 D O Output Buffer Register Ae wBase Oxd8 D O Low Byte Data Format por oes os os ome ma or oro Write wBase Oxdc D O High Byte Data Format ris ow on oz ou ow
20. INV1 1 gt do not invert signal from INTO The following is the partial programs for DOS C development environment enable or disable inverting function for interrupt signal For example outportb wBase 0x2a 0 select the inverted input from all 2 channels outportb wBase 0x2a 3 select the non inverted input from all 2 channels outportb wBase 0x2a 2 select the inverted input of INTO 7 select the non inverted input from the others User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 50 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 3 7 8254 Counter Address Read wBase 0xc0 8254 Counter0 8254 Counter0 wBase 0xc4 8254 Counter1 8254 Counter1 wBase 0xc8 8254 Counter2 8254 Counter2 The 8254 Programmable timer counter has 4 registers from wBase 0xc0 through wBase Oxcc For detailed programming information about 8254 please refer to Intel s Microsystem Components Handbook 7 3 8 A D Buffer Register Read wBase OxdO0 A D Low Byte Data Format Read wBase Oxd4 A D High Byte Data Format Read wBase Oxec Read A D Status A D 12 bits data D11 to DO D11 MSB DO LSB READY 0 A D 12 bits data not ready 1 A D 12 bits data is ready The low 8 bits A D data are stored in address wBase OxdO and the high 4 bits data are stored in address wBase Oxd4 The READY bit is used as an indicator for A D conversion When an A D conversion is completed the R
21. O K K NN Qe ee AGND User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 15 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board m Figure 2 9 Differential input with floating thermocouple signal Figure 2 9 A D CH O HI Note If the input signal is A D CHO LO not thermocouple the user should use an oscilloscope to measure common mode voltage of Vin A D CHn HI before connecting to PIO 821 series card Don t use a voltage meter or multi meter A D CH n LO A GND i Do not join LO to A GND at the computer CAUTION In Figure 2 9 the maximum common mode voltage between the 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 Noo the input multiplexer will be permanently damaged E Figure 2 10 Differential input with floating signal source A D CH 0 HI Es 1 A D CH 0 LO S A GND S a SE e A D CHn HI Esn AJ Figure 2 10 A D CH n LO A GND PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board m Figure 2 11 Connecting to a 4 20 mA Source AICHn R Shunt Resistor AGND Example A 20 mA source current through a 125 Q resistor e g 125 Q 0 1 DIP Resistors between and terminals and the board will read a 2 5 Vpc voltage You can use the I V R Ohm s law to calculate what value the
22. OO 5V CON3 PCI O JP4 controller lC S CON1 CON2 CON3 JP1 JP2 JP4 JP5 JP6 PCI BUS JP1 JP5 E O CON2 CON1 The terminal for digital input The terminal for digital output The terminal for the A D and D A converters for voltage input output No use D A reference voltage selection A D input type selection Single End or Differential External Clock Internal Clock 2MHz External Gate Counter0 COUTO Figure 2 2 Refer to Sec 2 6 for more detailed about pin assignments information Refer to Sec 2 4 1 Refer to Sec 2 4 3 Refer to Sec 2 5 1 Refer to Sec 2 5 2 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 9 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board E Board Layout of the PIO 821LU HU CON1 CON2 CON3 JP1 JP2 JP3 JP4
23. PMH 019 20 Page 25 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Software Installation This chapter provides a detailed description of the process for installing the PIO 821 series driver and how to verify whether the PIO 821 was properly installed PIO 821 series card can be used on DOS Linux and Windows 98 ME 2000 and 32 64 bit XP 2003 Vista 7 8 based systems and the drivers are fully Plug and Play PnP compliant for easy installation 4 1 Obtaining Installing the Driver Installer Package The driver installer package for the PIO 821 series card 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 and Table 4 2 below Table 4 1 UniDAQ Driver SDK Windows 2000 32 64 bit Windows XP 32 64 bit Windows 2003 gt 32 64 bit Windows Vista 32 64 bit Windows 7 32 64 bit Windows 2008 gt 32 64 bit Windows 8 Driver Name UniDAQ Driver SDK unidaq_win_setup_xxxx exe CD ROM CD NAPDOS PCI UniDAQ DLL Driver http ftp icodas com pub cd iocard pci napdos pci unidag dll driver For detailed information about the UniDAQ driver installation please refer to UniDAQ DLL Software Manual The user manual is contained in CD NAPDOS PCI UniDAQ Manual http ftp icodas com pub cd iocard pci napdos pci
24. UniDAQUtility exe 2 Confirm the PIO 821 series card had successfully installed to PC It starts form O 3 Click the TEST button to start test t ICP DAS UniDAQ DAQ Card Utility SE Information OT 0 PIO 821 EXIT User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 34 PIO 821 Series Card 45 kS s 12 bit 16 ch VAD 1 ch D A Multi function DAQ Board Select the Port 0 Part Nummer C l 0 PIO 821 CARD 7 Sele Pando rut Y Arcos O40 ia Tinetom Go User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 35 PIO 821 Series Cbd 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Step 3 Get Analog Input function test result s OO CARD ID F _ Sele Yolkam D Ia the configuration setting EE Err wb Card Type o Late Z Gain Range jel enna Sample Rate 100 she Click Analog Input item TP H m 0 PIO 6271 CARD ID F Analog Input Analog Output Digital Input Digital Output TimerCounter Ch voltage Check analog input on Channel 0 textbox The other channels value for floating number Card Type 0 LowiJPx 20 Gain Range 01 Bipolar Du sample Rate T oo He User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 36 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board Step 4 Get Analog Output function test result Click Analog Output item 0 PIO 821 C
25. Z 3 5 Note as Cin Clock Input A Cout Clock Output VCC INT_CLK Internal Clock EXT_CLK External Clock EXT_GATE External GATE The counterO counter1 and counter2 are all 16 bit counter The counterO and counter2 can be cascaded as a 32 bit timer The counter2 is used in pacer trigger PIO821_SetChannelConfig and PIO821_Delay functions so they cannot be used in the same time PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 6 Pin Assignments The Pin assignments of CON1 CON2 and CON3 on the PIO 821 series cards are represented in the figure below E CON1 CON2 20 pin flat cable headers for digital input output CON1 2 are TTL compatible High 1 2 0 5 0 V Voltage over 5 0V will damage the device None Define 2 0 V 0 8 V Low 0 Under 0 8 V E CONS3 37 pin D type female connector for analog input output and Timer Counter OO00000000 O 0000000 00 Terminal No O O O O O O O O O O O O O O O O O O O O User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 21 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 3 Hardware Installation Note It s recommended to install driver first since some operating system such as Windows 2000 may ask you to restart the computer again after driver installation This reduces the times to restart the computer To install the PIO 821 series card follow the procedure described below
26. be an interrupt signal default enable INT1 to be an interrupt signal is the partial programs for DOS C development environment enable or disable interrupt function For more information please refer to the DOS demo program demol1 c For example outportb wBase 5 0 disable all interrupts outportb wBase 5 1 enable interrupt of INTO outportb wBase 5 2 enable interrupt of INT1 outportb wBase 5 3 enable all two channels of interrupt User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 49 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 3 5 AUX Status Register Read Write wBase 0x7 Based on the auxiliary status register AuxO bit 0 and Aux 1 bit 1 stand as INTO and INT1 signal respectively Aux2 to Aux3 bit2 to 3 represents the control register of the EEPROM and Aux4 to Aux7 bit4 to 7 depicts the Aux ID Generally the Aux 0 to 1 are used as interrupt sources Interrupt service has to check this register to start service routing 7 3 6 Interrupt Polarity Control Register Read Write wBase 0x2a ES we 1 wg The interrupt polarity control register is presented as following table It is used to invert the interrupt signal or not The detail function for these control register is described as below INTO ADC ready INT1 Timer O INVO 0 gt invert signal from INTO INVO 1 gt do not invert signal from INTO INV1 0 gt invert signal from INT1
27. brate section and click the Write EEP button Step 3 Click the Write EEP button to Active Boa DR save the calibration data into the EEPROM to finish the calibration process as shown in Figure 6 3 2 Read EEP Write EEP Figure 6 3 User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 40 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 1 How to Find the I O Address The plug amp play BIOS will assign a proper I O address to every PIO PISO series card in the power on stage The fixed IDs for the PIO 821 series cards are given as follows Table 7 1 PIO 821L H Rev 2 0 or above PIO 821LU HU Vendor ID 0xE159 Vendor ID 0xE159 Device ID 0x02 Device ID 0x01 PIO 821L H Rev 1 0 Sub Device ID 0x03 Sub Device ID 0x03 Sub Aux ID 0x00 Sub Aux ID 0x00 OxOOFF Sub Vendor ID 0x80 Sub Vendor ID 0x40FF We provide all necessary functions as follows 1 PIO_Driverlnit amp wBoard wSubVendor wSubDevice wSubAux 2 PIO _GetConfigAddressSpace wBoardNo wBase wirg wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice 3 Show_PIlO_PISO wSubVendor wSubDevice wSubAux All functions are defined in PIO H Refer to PIO 821 DLL software manual for more information The important driver information is given as follows 1 Resource allocated information e wBase BASE address mapping in this PC e wilrq IRQ channel number allocated in this PC PIO 821 Series
28. ch 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 the type of analog input configuration the PIO 821 series cards can offer 16 single ended or 8 differential analog input measurement channels Notice that all the measurements of analog input channels are configured at the same time according to the chosen setting of single ended or differential methods Figure 2 6 Single Ended Differential Inputs Default User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 13 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 4 4 A D Input Signal Connection The PIO 821 series card can measure either single ended or differential type analog input signals The user must decide which mode is most suitable for measurement purposes Please refer to the section 2 4 3 to see how to configure the JP4 jumper based on your analog input type In general there are four different analog signal connection methods as shown in Figure 2 7 to Figure 2 10 The connection shown in Figure 2 7 is suitable for grounded analog input signals The connection shown in Figure 2 8 is used to measure more channels than that shown in Figure 2 7 but is only suitable for large analog input signals The connection shown in Figure 2 9 is suitable for thermocouple connections and the connection shown in Figur
29. e Device Manager in each of the major versions of windows Refer to appropriate for your OS continue to complete the following 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 the System icon Step 2 Click the Device Manager tab System Properties Microsoft Windows 2000 XP users System Restore Step1 Select Start gt Settings Control General Panel and double click the System Add Hardware Wizard bes The Add Hardware Wizard helps vou install hardware icon E Step 2 Click the Hardware tab and then click the Device Manager button on Your computer Use the Device Manager to change the properties of any device Microsoft Windows 2003 users Step 1 Open the Administrative Tools in Control Panel Step 2 Within the Administrative Tools click Computer Management Aamnisiraior J Manage Your Server ES Command Prompt E Tarral Fane Egr Administrative Tools E Certification Authority SC Cluster Administrator Printers and Faxes 3 EE 7 Help and Support Manual Ver 2 0 Mar 2015 PMH 019 20 Page 28 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board m Microsoft Windows Vista 7 users Step 1 Click on the Start button Step 2
30. e 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 V so the user must ensure that the input signals is within this specification If the common mode voltage is above 70 V the input multiplexer will be permanently damaged The simplest way to select your input signal connection configuration is listed below 1 Grounding source input signal gt see Figure 2 7 2 Thermocouple input signal gt see Figure 2 9 3 Floating source input signal gt see Figure 2 10 4 If Vin gt 0 1 V gain lt 10 and more channels are needed gt see Figure 2 8 5 Current source input signal gt see Figure 2 11 If you are unsure of the characteristics of your input signal follow these test steps Step1 Try and record the measurement results when using Figure 2 7 Step2 Try and record the measurement results when using Figure 2 10 Step3 Try and record the measurement results when using Figure 2 8 Step4 Compare the three results and select the best one PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board E Figure 2 7 Differential input with grounded source Right way Figure 2 7 A D CHO HI p Es 1 A D CH 0 LO A GND 1 Se Paes LI e LI LI LI A D CH n HI TT Een A D CHn LO A GND n a m Figure 2 8 Single ended input with floating signal source Figure 2 8 A D CHO A D CH1
31. e clock source is limited by 10 MHz Figure 2 12 PF PIO 821 L H PIO 821 LU HU EXT_CLK Internal Clock 2 MHz Default 2 MHz EXT_CLK External Clock 2 MHz EXT_CLK User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 18 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 5 2 JP6 External Gate Internal Counter Settings The PIO 821 series card can also be set to use the external gate or internal CoutO CounterO 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 external gate signal control and the right hand diagram shows the internal CoutO signal control Figure 2 13 E PIO 821 L H PIO 821 LU HU EXT_GATE E OO Q Default EXT_GATE COUTO EXT_GATE EXT_GATE COUTO EXT_GATE User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 19 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 5 3 The 8254 Timer Counter Connection The 8254 Programmable timer counter has 4 registers from wBase 0xC0 through wBase 0xCC For detailed programming information about 8254 please refer to Intel s Microsystem Components Handbook The block diagram is as below EXT_GATEO NEE 10 k VCC COUTO COUTO elke 10k EXT CLK 1 VCC 2 INT_CLK 3 2 MHz 2 MHz COUTI COUT1 JP6 COUT2 Pacer COUTO 1 Cin2 Gate2 Cout2 2 EXT GATE
32. e directly connected to the DB 8225 via a 37 pin D Sub connector Refer to the DB 8225 User for details DB 8225 Manua User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 59 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board A3 DB 16P Isolated Input Board The DB 16P is a 16 channel isolated digital input daughter board The optically isolated inputs of the DB 16P are consisted 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 can use this board to isolate the computer from large common mode voltage ground loops and transient voltage spike that often occur in industrial environments DB 16P Opto lsolated PIO 821 series card OOO00000 DB 16P PIO 821 series card AC or DC Signal 0 V 24 V User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 60 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board A4 DB 16R Relay Board The DB 16R is a 16 channel relay output board consisting of 16 Form C relays that enable efficient switching of a load using programmable control It is both a connector and functionally is compatible with 785 series boards but with an industrial type terminal block The relay is powered by applying a 5 V signal to the appropriate relay channel on the 20 pi
33. e of the 12 bit A D converter is about 45 k samples sec e 16 single ended or 8 differential analog input channels e Software selectable input ranges e A D trigger mode software trigger pacer trigger external trigger e 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 e Programmable high low gain PIO 821L LU 1 2 4 8 PIO 821H HU 1 10 100 1000 e Supports Card ID SMD Switch for PIO 821LU HU e Digital input port can be set to pull high or pull low for PIO 821LU HU e 1 channel 12 bit D A voltage output e 16 channel 5 V TTL digital input e 16 channel 5 V TTL digital output e Interrupt handling e SMD Sort card PIO 821 Series Card 45 kS s 12 bit 16 ch VAD 1 ch D A Multi function DAQ Board 1 3 Specifications Model Name PIO 821LU PIO 821HU PIO 821L PIO 821H Analog Input 16 single ended 8 differential A D Converter 12 bit 8 us Conversion time Sampling Rate 45 kS s max FIFO Size N A Over voltage Protection Channels Continuous 35 Vp p 10 MQ 6 pF Software Internal programmable pacer Input Impedance Trigger Modes Polling Interrupt 0 01 of FSR 1 LSB 25 C 10 V 4 ppm C of FSR Data Transfer Accuracy Zero Drift Analog Output Channels 12 bit 0 01 of FSR 1 2 LSB 25 C 10 V Unipolar 0 5 V O 10 V O Ext Ref 5 mA 0 3 V us 0 1 QO max Software Resolution Accuracy Output Range
34. e refer to PIO 821 DLL Software Manual CD NAPDOS PCI PISO 821 Manual PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board m Demo Program for UniDAQ SDK Driver The demo program is contained in CD NAPDOS PCI UniDAQ DLL Demo http ftp icodas com pub cd iocard pci napdos pci unidaq dll demo BCB6 gt for Borland C Builder 6 Delphi6 gt for Delphi 6 UniDAQ H gt Header files UniDAQ PAS gt Declaration files UniDAQ LIB gt Linkage library for BCB only VB6 gt for Visual Basic 6 CSharp2005 gt for C NET2005 UniDAQ BAS gt Declaration files UniDAQ cs gt Visual C Source files F VC6 gt for VisualC 6 VB NET2005 gt for VB NET2005 UniDAQ H gt Header files UniDAQ vb gt Visual Basic Source files UniDAQ LIB gt Linkage library for VC only VC NET2005 gt for VC NET2005 32 bit VC NET2005 gt for VC NET2005 64 bit UniDAQ H gt Header files UniDAQ H gt Header files UniDAQ LIB gt Linkage library for VC only UniDAQ LIB gt Linkage library for VC only For detailed information about the DLL function and demo program of the UniDAQ please refer to UniDAQ DLL Software Manual CD NAPDOS PCI UniDAQ Manual User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 57 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 8 2 Demo Program for DOS The demo program is contained in CD NAPDOS PCI PIO 821 DOS
35. ed in slot1 is card1 for PIO PISO series cards User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 46 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 3 The I O Address Map The I O address for PIO 821 series cards are automatically assigned by the main board ROM BIOS The I O address can also be re assigned by the user It is strongly recommended that users do not change the I O address The Plug amp Play BIOS will effectively perform the assignment of proper I O addresses to each PIO 821 series card The I O address for the PIO 821 series card are given in the table below all of which are based on the base address of each card Table 6 3 Refer to Sec 7 1 for more information about wBase Address wBase 0x0 wBase 0x2 wBase 0x3 wBase 0x5 wBase 0x7 wBase 0x2a wBase 0xc0 wBase 0xc4 wBase 0xc8 wBase 0xcc wBase 0xd0 wBase 0xd4 wBase 0xd8 wBase 0xdc Read Write RESET Control Register AUX Control Register AUX Control Register AUX Data Register AUX Data Register INT Mask Control Register AUX Pin Status Register JAUX Pin Status Register INT Polarity Control Register e 8254 Control Word A D Gain Control and wBase 0xe0 Multiplexer Control wBase 0xe4 wBase 0xe8 wBase 0xec wBase 0xf0 A D Mode Control A D Software Trigger Control A D Status Read Card ID User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 47 PIO 821 Series Card 45 kS s 12 bi
36. es Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 4 Configuration of the DA AD Output Signals 2 4 1 JP2 D A Reference Voltage Selection JP2 is used to configure the internal reference voltage for analog output There are two types of internal reference voltages which are 5 V or 10 V The reference voltage settings are presented in Figure 2 4 The 5 V reference voltages provide a O to 5 V range 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 Figure 2 4 Reference Voltage 5 V Reference Voltage 10 V Default Settings 2 4 2 JP3 D I Port Settings Pull High Low This DI ports can be pull high or pull low that is selected by JP3 The pull high low jumpers of the card allow user to predefine the DI status instead of floating when the DI channels are unconnected or broken The configuration is illustrated in the figure below Note This function only supports PIO 821LU HU Figure 2 5 Pull High Pull Low Default PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 2 4 3 JP4 A D input type selection S E Diff JP4 is used to select the type of analog input between single ended and differential inputs As shown in Figure 2 6 a the user needs to connect pin 1 3 and pin 2 4 to obtain the single ended measurement for the analog input signal whi
37. l Ver 2 0 Mar 2015 PMH 019 20 Page 30 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 5 Testing PISO 821 Series Card This chapter can give you the detail steps about self test In this 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 installation please refer to Chapter 3 Hardware Installation and Chapter 4 Software Installation 5 1 Self Test Wiring 5 1 1 DIO Test Wiring Use the CA 2002 cable optional to connect the CON1 with CON2 on the PIO 821 series card Cable CA 2002 f D User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 31 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 5 1 2 Analog Input Test Wiring mM Prepare for device M DN 37 optional wiring terminal board lV 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 channel and then keep set the JP4 jumper to Single Ended default settings refer to Sec 2 4 3 for more detailed and wire the signals as follows Connect the Al 0 Pin01 to signal positive and then A GND Pin09 to signal negative 1 gt im re ip aa Cable CA 3710 DN 37 I O WIRING 20 21 22 23 24 25 26 27 28 29
38. l 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 The PIO 821LU HU also adds a Card ID switch and pull high pull low resisters for DI on board Users can set Card ID on a board and recognize the board by the ID via software when using two or more PIO 821LU HU cards in one computer The pull high pull low resisters allow the DI status to be specified when the DI channels are unconnected the DI status will remain in high or low status other than floating These cards support various OS such as Linux DOS Windows 98 NT 2000 and 32 64 bit Windows 8 7 Vista XP DLL and Active X control together with various language sample program based on Turbo C Borland c Microsoft C Visual C Borland Delphi Borland C Builder Visual Basic C NET Visual Basic NET and LabVIEW are provided in order to help users to quickly and easily 4 E D Anise develop their own applications User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 3 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 1 1 Packing List The shipping package includes the following items e One PIO 821 series card hardware se items is missing e One printed Quick Start Guide e One software utility CD 1 2 Features e Support the 5V PCI bus for PIO 821L H e Support the 3 3 5 V PCI bus for PIO 821LU HU e The maximum sampling rat
39. n button this program will measure the channel Calibration for 5 V mode Step 1 Set the JP2 jumper on PIO 821 to the 5V position refer to Sec 2 4 1 Step 2 Run the calibration tool which is located in program files Write the all calibrate value to calibrate section and click the Write EEP button 7 GIRA DAQpro PIO 821 calibation exe in Active Board DE i order to open the configuration E s eom z a P ies er AD calibration Write EEP l I interface as shown in Figure 6 1 Step 3 If you want to calibrate the DA for example then let the DA value be set at 4095 as shown in Fi 6 1 1 igure 6 1 1 Step 4 Click the DA Output button and then use particular multi meter to measure the analog output as shown 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 4092 and change the output voltage until its value is equal to the allowed maximum voltage output value as shown in Figure 6 1 3 Step 6 If the analog output is equal to the maximum allowed analog output level please key in the calibration value to 5 V calibration value in the textbox and Click the Write EEP button The DA calibration process is finished for the setting range of analog output Itis shown in Figure 6 1 4 Calibration
40. n flat connector There are 16 LEDs for each relay which illuminated when their associated relay is activated This board includes a screw terminal that can be used to connect an external power supply in order to prevent overloading your PC s power supply DB 16R The application example for the DB 16R in the PIO 821 is illustrated in below figure Form C Relay Normally Open Normally Closed 20 Pin cable PIO 821 series card Note Channel 16 Form C Relay itching up to 0 5 A at 110 VAC 1 A at 24 Voc Relay Sw
41. n32 PIO_PISO http ftp icpdas com pub cd iocard pci napdos pci utility win32 pio_piso After executing the utility the detail information for all PIO PISO cards that installed in the PC will be shown as follows ICP DAS PCI Based I O Card Utility er 3 0 0 214 ARE Please select one of the device to show the detail information Dev ID Subven SubDewr AUE Boardvane Versoin ixil Om4260 x PISO 813 ve Port I O Tool Function Address Yalue HEX Sege DES flo 201s Ox WE PISO 813 v2 oe Win AF Service Pack 3 286 Memory Le Tool Address VYalue HEX 0 FDCFF000 Devicett Width og Address O CEOO Ki 5 e 16 e S S Classt i ixi St Save Log EXIT User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 43 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board E For DOS The PIO_PISO EXE for DOS is contained in CD NAPDOS PCI Utility DOS http ftp icpdas com pub cd iocard pci napdos pci utility dos The PIO_ PISO program source is given as follows ye FT eel eT ee Oe eh Bee RL L Be ie RAS EE E eg Se Find all PlO_PISO series cards in this PC system step 1 plug all PlO_PISO cards into PC SCH step 2 run PIO_PISO EXE wi s EE E E include PIO H WORD wBase wirq WORD wBase2 wlrq2 int main int i j j1 j2 j3 j4 k jj dd j11 j22 j33 j 44 WORD wBoards wRetVal WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice
42. ovides software trigger pacer trigger and external trigger modes to get A D input signal Bit 2 to Bit 0 0 reset the AD trigger mode SoftTrig 1 Enable Software Trigger Mode PacerTrig 1 Enable Pacer Trigger Mode ExtTrig 1 Enable External Trigger Mode The following is the partial programs for DOS C development environment to set A D mode For example outportb wBase Oxe4 OxF1 enable software trigger mode outportb wBase Oxe4 OxF2 enable pacer trigger mode outportb wBase Oxe4 OxF4 enable external trigger mode outportb wBase Oxe4 OxFO reset the AD trigger mode User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 54 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 3 14 A D Software Trigger Control Register Write wBase 0xe8 U o The A D converter will convert the analog input data by 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 conversion For example outportb wBase 0xe8 0x01 convert A D data once 7 3 15 Card ID Register Read wBase 0xf0 r we oes ona ona ona ona ono For example wCardID inportb wBase Oxf0 read Card ID Note The Card ID function is only supported by the PIO 821LU HU Ver 1 0 or above User Manual Ver 2 0 Mar 2015 PMH 019 20 Page 55
43. suuuuucseeseeeesescssessssssuuuaueeeeceeeeeessess 19 2 5 3 The 8254 Timer Counter Connection 20 2 6 BIR eu e EN 3 HARDWARE IINSUAULAUION i seiccsicsssazsccassciven E E seeaudsesacentsapeasenenimeneeapueneaceaieusdeseaai 22 4 SOFTWARE INSTALLATION ee 26 4 1 OBTAINING INSTALLING THE DRIVER INSTALLER PACKAGE ccseeccccsececcseccececceccecceccucececaueceensccecuunececauceeecsuceeeaaecess 26 4 2 PNP DRIVER INSTALLATION E 27 4 3 EIERE 28 4 3 1 How do get into Windows Device Monggerd 28 AS EE TINGE TC INS UGH OOM eebe 30 5 LEUSCHEN dE ENEE dE EE GEREENT 31 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board So ANOT OUP e EE 33 5 2 EXECUTE THE TEST PROGRAM vancensertanerccntecensesiovesenesneenseetannnsandeseesasneacetousaaeadui tamcangutvccedeno ecatsetneciatteacevantecansetovenens 34 6 CALIBRATION ee 38 6 1 BILEN e 39 6 2 OR ee EE 40 7 HO CONTROL REGISTER EE 41 7 1 PLOT Os INIT BECKER 41 Pl PO e EE 42 7 2 THE ASSIGNMENT OF UO ADDRESS cccccccceccceececcccecccccececeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 45 7 3 THE I O ADDRESS Map 47 Zad RESET CONC ROIS EE 48 E AUX Ee 48 TiS POR OL re 48 TAA INT Mask Control REGISTE csncenctccsicatenanetnstiensbansacestonsireabauxwacdesntsieassiaehiaiudenssantedanonentaneuactbenbaceesanssensiaabouantenssantt 49 feaa AUA SAUS REGIS TET eer Eeer 50 7 3 0 Interrupt Polarity Control Eed deed EARE EEEE
44. t 16 ch A D 1 ch D A Multi function DAQ Board 7 3 1 RESET Control Register Read Write wBase 0x0 RESET When the PC s power is first turned on RESET signal is in a Low state This will disable all D I O operations The user has to set the RESET signal to a High state before any D A command applications are initiated 7 3 2 AUX Control Register Read Write wBase 0x2 This register is designed for feature extension and for enable or disable of the reading writing data from or to the EEPROM And it is reversed for internal utilization and do not apply this control register under any consideration 7 3 3 AUX Data Register Read Write wBase 0x3 This register controls the read write function of the EEPROM on board There are all reversed by ICPDAS internal use If the user wants to access this EEPROM please refer to the function read write of the EEPROM provided by the driver toolkit PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board 7 3 4 INT Mask Control Register SE wBase 0x5 por me oes ee ome oe oer oo The INT mask control register is presented as following table The detail function for these control register is desc ribed as below INTO ADC ready INT1 Timer 0 ENO 0 gt ENO 1 gt EN1 0 gt EN1 1 gt The following disable INTO to be an interrupt signal default enable INTO to be an interrupt signal disable INT1 to
45. y __ 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 PIO 821 Series Card 45 kS s 12 bit 16 ch A D 1 ch D A Multi function DAQ Board TABLE OF CONTENTS 1 INTRODUCTION ME 3 1 1 PACKING EE 4 1 2 FEATURE aa E AN AA A EE A A AE EE 4 1 3 SPECIFICATIONS eaa E AEE E E E A 5 1321 Andog Input RONGE EEN 6 Lo An T T e e 7 1 3 3 Programmable Titmer COUNtECL ccccccccccccccccccccscceeeeeeeeeccccccsscssucecsuuuuceceseeeceesssssssseusuuuuueseeeeesessssssssssussuaaaneeessss 7 2 HERE 8 2 1 THE OCI RAME casera ce sree ce creeds geese ee E EN A E E EE REEE R 8 2 2 BOARD AVOU WE 9 2 3 SN HIDES hes ee ee tn rete errr eer er ne er er ee 11 2 4 CONFIGURATION OF THE DA AD OUTPUT SIGNALS ssscccccessssseccesssnseeceesssseeccesesueeecesseueeceeseesaeeeesseeaaeeeeseseaaeseeseeaaes 12 2 4 1 JP2 D A Reference Voltage Selecton 12 2 4 2 JP3 D I Port Settings Du Hiobdlowl 12 24 3 JP4 A D INDUL pe SCIECHION SE JDI sicuusievevivescnsiercaricnnsbianaajancvuvensveurwsduetebseadaduniapirsiineeiraaiveberdaniendt acoasiens 13 24 4 A D Input Signal CONC CH OO EEN 14 2 5 CONFIGURATION GF THE S254 CHIP xcscnnsccecencnrssntueadusaanaeveseomecacossnaausassesntuscessbeiesceranssansacesshnnsedessenateecammanieeasseesueyentt 18 2 5 1 JP5 Chip 8254 Clock Settings Internal EXternal Oochl 18 2 5 2 JP6 External Gate Internal COUNtELO SCttiNGS cccccccccccssseeeeeeeeececccccccccccccc
Download Pdf Manuals
Related Search
Related Contents
General Rehabilitation 2010 CMP 543USB Multy ÍNDICE 1. Instruções de Segurança 2. Especificações Técnicas 3 Geovision GV-EDR1100 surveillance camera E-410 - Manual de Instruções Philips FM08DA132B 3Com 3CRWE777A Network Card User Manual Pressa a caldo PF-101 Service Manual Copyright © All rights reserved.
Failed to retrieve file