Home

User Manual - ICP DAS USA`s I

image

Contents

1. P16R16 T C HUGE DEMO gt huge mode demo programs P16R16 T C HUGE LIB gt huge mdoe library P16R16H LIB P16R16 T C LARGE DEMO gt large mode demo programs P16R16 T C LARGE LIB gt large mode library P16R16H LIB Please see readme txt in sub directory of DEMO and LIB for further information PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 5 3 PIO PISO EXE for Windows The PIO PISO exe utility is located on the CD as below and is useful for all PIO PISO series cards CD NAPDOS PC NUtility Win32 PIO_PISO http ftp icpdas com pub cd iocard pci napdos pci utility win32 pio piso After executing the utility detailed information for all PIO PISO cards that are installed in the PC will be shown as illustrated below ICP DAS PCI Base 1 0 Card Utility Ver 2 48 8 1202 one of the device to show the detail information ley ID Subven Suble r AUX BoardHameiVerzoin Uxlesd Uz1b616 Uz 142 xl s23 D cL Pol ithii series Manual E U Port Address HEE Address Value Width Vin XP Service Pack ES E a C 16 Fead BAH 0 Bust TETE BAH 1 Devicek P gt BAR 2 Address BAR 3 IR EXIT Note The PIO PISO EXE application is valid for all PIO PISO cards The user can execute the PIO PISO EXE file to retrieve the following information B List all PIO PISO cards installed in the PC B List the resources allocated to each PIO PISO card B List the wSlotBus and wSlotDevice details for i
2. Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr0 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 0 wBaseAddrO WhichLong 5 Base Address 1 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr1 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 1 2wBaseAddr1 WhichLong 6 Base Address 2 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr2 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 2 wBaseAddr2 WhichLong 7 Base Address 3 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr3 WORD dBaseAddress amp Oxfffe wConfigS pace wTotalBoards 3 wBaseAddr3 WhichLong 8 Base Address 4 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr4 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 4 wBaseAdar4 WhichLong 9 Base Address 5 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr5 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 5 wBaseAddr5 store the type name ID t wConfigSpacelwTotalBoards 6 TYPE_P8R8 wTotalBoards increment board number wGetAddress 1 if wTotalBoards gt 16 return NotFoundBoard else return NoError void WriteAddress UCHAR bBus UCHAR bDevice UCHAR bFunction UCHAR bWhichLong D
3. P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 Bo 1 6 3 PCI P8POR8 P16POR16i and PEX P8POR8i P16POR16i CON 1 NO 0 1 NO 1 2 20 CMO NO 2 3 21 OM 1 NO3 4 22 CM2 ERA NO 4 5 23 CM 3 NO 5 6 24 CM 4 NO 6 7 25 CM 5 NO 7 8 26 CM 6 i 9 27 CM 7 10 28 11 29 GND DIA O 12 30 DIBO DIA 1 13 31 DIB 1 DIA 2 14 32 DIB 2 NO 8 CM 8 DIA 3 15 33 DIB 3 NO 9 OQ CM 9 DIA 4 16 34 DIB 4 NO 10 OO CM 10 DIA 5 17 35 DIB 5 ae OO CM_11 DIA 6 18 36 DIB 6 us OO m DIA 7 19 37 DIB 7 Mo sos o NO 15 OO CM 15 OO OO GND OO DIB 8 DIA 8 DIB 9 dis DIA 9 o S DIB 10 NO 8 1 DIA 10 OO DIB_11 DIA 11 DIB 12 NE ar DA 12 31 OO 32 DiB 15 NO 10 3 E DIA 13 66 DIB 14 NO 11 4 22 CM 10 Sci SO SIE S NO 12 5 23 CM 11 DIA 15 NO 13 6 24 CM 12 E OO NO 14 7 25 CM 13 OO NO 15 8 26 CM 14 T g 27 CM 15 10 28 11 29 GND DIA 8 12 30 DIB8 DIA 9 13 31 DIB9 DIA 10 14 32 DIB 10 DIA 11 15 33 DIB 11 External Cable DIA 12 16 34 DIB 12 DIA 13 17 35 DIB 13 DIA 14 18 36 DIB 14 DIA 15 19 37 DIB 15 DIA Digital Input Point A DIB Digital Input Point B PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 Mo m 2 Hardware Applications y Model Number OUTPUT INPUT PCI P8R8 I PCI P16R16 Relay Output Optical isolation Transistor Output m PCI P16C16 Open Collector Optical isolation PhotoMos Relay Output Optical isolation PEX P16POR16i 2 1 Relay Output e For PCI P8R8 P16R16 Only Whenever data is written data to the ou
4. channel 8 15 for CN2 B PCI P16C16 Board Layout m I col s External Power LED External Power protection indicator Pico Fuse e Z M cna Cppmaenmg SES PCI P16C16 EEEHEEHE JP16 JP9 Figure 1 4 PCI P16C16 Layout Note D I O channel 0 7 for PCI P16C16 Select the input AC or DC signals of D I channel 0 7 for CN1 D I O channel 8 15 for PCI P16C16 MS ESB alo Select the input AC or DC signals for D I channel 8 15 for CN2 B PCI PSPORS P16POR 16 Board Layout o JU HEEL d E ES ey ES ES LED indicator PCI P8PORS CEIGOCHOG SESE Sed Figure 1 5 PCI P8PORS Layout LL JL HUELLA OO LJ LED indicator PCI P16POR16 CHIEBBIEEIBIO mmm HEEL RERERERE JP16 JP9 Figure 1 6 PCI P16POR16 Layout Note D I O channel 0 7 for PCI P8POR8 P16POR16 Select the input AC or DC signals of D I channel 0 7 for CN1 D I O channel 8 15 for PCI P16POR16 MANERA alo Select the input AC or DC signals for D I channel 8 15 for CN2 B PEX P8POR8i P16POR16i Board Layout LED indicator PEX P8PORSI Espera pe E JP2 J1 SWI EN mimm Figure 1 7 PEX P8POR8i Board Layout ROO ROO CONI CON LED indicator PEXP16POR161 a o 00 0 JP2 Jf J2 ARABE EAS 6 9 1 Figure 1 8 PEX P16POR16i Board Layout Note D I O channel 0 7 for PEX P8PORSI P16POR161 Select the input type AC or DC signals for D I channel 0 7 D I
5. end as means of preventing damage form the counter emf If your Device Is Inductive Load Ex Relay 2 3 PhotoMos Relay Output e For PCI P8POR8 P16POR16 and PEX PSPORGI P16POH 16i Only The PCI P8POR8 P16POR16 and PEX P8PORSi P16POR16i includes 8 16 normally open form A PhotoMOS relays The board can eliminate ground loop problems and isolate the computer from damaging voltages Use the PCI P8POR8 P16POR16 and PEX P8POR8i P16POR16i to switch loads up to 350 Vac and 130 mA 130 A 350 Vac max Measurement Meter AC DC Signal PCI P8POR8 PCI P16POR16 PEX P8POR8I PEX P16POR16i 2 4 Isolated Input e For PCI P8R8 P16R16 P16C16 P8POR8 P16POR16 and PEX PS8PORSGI P16POH 16i Reading the isolation input register will give the digital input state of the photo couple isolation input Figures 2 3 and 2 4 show the basic circuit of the digital input Switch If Using AC Internal Circuit Signal JP1 must be shorted 2 3 Figure 2 3 Basic Digital Input Circuit Although the normal input voltage range is 5 to 24 Vac or Voc the input can still be changed to a larger range by choosing suitable external resistors The following figure shows how to connect to a larger input Please note that the input current should be limited between 2 mA to 20 mA too large an input current will burn down the internal resistor Ri while too low of an input current will not active the photo cou
6. refer to UniDAQ SDK user manual CD NAPDOS PCI UniDAQ Manual http ftp icpdas com pub cd iocard pci napdos pci unidag maunal B Windows NT 2K and 32 bit Windows XP 2003 Vista 7 The P16R16 DLL file will be copied into the C WINNT SYSTEM32 folder The NAPWNT SYS and P16R16 SYS files will be copied into the CAWINNT SYSTEM32 DRIVERS folder B Windows 95 98 ME The P16R16 DLL and Nappci Vxd files will be copied into the C Windows SYSTEM folder For more detailed P16R16 DLL function information please refer to o PCI P16R16 Series Software Manual pdf CD NAPDOS PCI PCI P16R16 Manual http ftp icpdas com pub cd iocard pci napdos pci pci p16r16 manual 3 2 PnP Driver Installation Power off the computer and install the PCI P8R8 P16R16 P16C16 P8POR8P16POR16 and PEX P8POR8i P16POR16i cards Tum on the computer and Windows 98 ME 2K and 32 bit 64 bit Windows XP 2003 Vista 7 should automatically defect the new PCI device s and then ask for the location of the driver files forthe hardware If a problem is encountered during installation refer to the PCI P16R16 PnP Driver Installation pdf CD NAPDOS PCI PCI P16R16 Manual for more information PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 3 3 Confirm the Successful Installation Make sure the PCI P8R8 P16R16 P16C16 P8POR8P16POR16 and PEX P8POR8i P16POR16i card installed are correct on the computer as follows Step 1 Select Start Control Pane
7. than 20 us set the filter to off If you want a slow response about 5 to 10 ms to reject either noise or contact bouncing short AC FILTER Pin2 3 B JP2 Ground isolated protection jumper for PEX P8POR8i P16POR16i only This JP2 jumper is used to select the isolated or non isolated of ground for PEX P8POR8i P16POR16i only As shown in Figure 1 7 the user needs to connect Pin1 2 to obtain the ground isolation protection which is the default setting However for the ground non isolation the Pin2 3 for the JP2 jumper should be connected The figure below shows how to select the ground isolation type IH 30 GND Isolation GND Non lIsolation Protection Protection Default Setting Figure 1 12 Jumper Settings 1 6 Pin Assignments 1 6 1 PCI P8R8 P16R16 CON 1 LLIDOID BIETET OOL ro d NH COMO 2 i NCO 3 E NO 1 4 COM 1 5 NC 1 8 NO 2 7 COM 8 g NC 2 NO 7 10 COM 6 NO 8 OO NO 11 COM 7 11 GND COM 8 OO COM 11 DIA O 12 DIB 6 NC 8 OO NC 11 DIA 1 13 DIB 1 NO 9 OO NO 12 DIA 2 14 DIB 2 COM 9 OO COM 12 DIA 3 15 DIB 3 NC 9 OO NO 13 DIA 4 18 DIB 4 NO 10 OO COM 13 DIA 5 17 DIB 5 COM 10 OO NO 14 DIA E 18 DIB 6 us OO M DIA 7 18 DIB 7 DOMO EN m DIA 8 OO DIB 9 DIA 9 OO DIB 10 DIA 10 OO DIB 11 CON 2 DIA 11 DO DIB_12 DIA_12 OO DIB_13 NO B 1 DIA_13 OO DIB_14 COM 8 2 20 NO 11 DIA 14 OO DIB 15 NC 8 3 21 COM 1 DIA 15 OO NO O 4 22 NC 11 OO COM 9 5 23 NO 12 NC 9 E 24 COM 12 NO 10 7 25 NO 13 COM 10 8 26 COM 13 MC 1
8. 0 9 27 NO 14 NO 15 10 28 COM 14 COM 45 11 79 GND DIA 8 12 SU DIE amp Extender Cable DIA 9 13 31 DIB 9 DIA 10 14 32 DIB 10 DIA 11 15 33 DIB 11 NO Normally Open DIA 12 16 34 DIB 12 COM Common DIA T5 17 35 DIE 13 NC Normally Closed DIA 14 18 38 DIB 14 DIA 15 19 ar DIB 15 DIA Digital Input Point A DIB Digital Input Point B PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 mo 1 6 2 PCI P16C16 CON 1 OUT O 1 OUT 1 2 20 Ext Power 1 OUT 2 3 21 Ext Power 1 OUT 3 4 22 GND 1 OUT 4 5 23 GND 1 OUT 5 6 24 Ext Power 2 OUT 6 7 25 Ext Power 2 OUT 7 8 26 GND2 9 27 GND2 10 28 11 A DIEBUS DO 8 OO Ext Power 3 DIA O 12 x DO 9 OO Ext Power 3 DIA 1 13 31 DIB 1 DO 40 DO GND 3 DIA S 15 33 DIB 3 DO 12 OO Ext Power 4 DIA 4 16 34 DIB 4 DO 13 OO Ext Power 4 DIA 5 17 35 DIB 5 DO 14 OO GND 4 DIA 6 18 36 DIB 6 DO 15 OO GND 4 DIA 7 19 37 DIB 7 OO OO QO DIB 8 DIA 8 OQ DIB 9 DIA 9 OO DIB 10 DIA 10 OO DIB 11 DIA 11 OO DIB_12 CON 2 DIA 12 OOo DIB 13 DIA 13 OO DIB 14 DIA 14 DIB 15 OUT 9 2 20 Ext Power 3 DO OUT 10 3 21 Ext Power 3 OUT 11 4 22 GND3 OUT 12 5 23 GND3 OUT 13 6 24 Ext Power 4 OUT 14 7 25 Ext Power 4 OUT 15 8 26 GND4 9 2 GND4 10 20 11 29 DIA 8 12 30 DIB 8 External Cable DIA 9 13 31 DIB 9 DIA 10 14 32 DIB 10 Ext Power External Power Input Sas n e m GND External Power Ground DIA 13 17 35 DIB 13 OUT Open Collector Output ee bx o ip DIA Digital Input Point A DIB Digital Input Point B PCI
9. IP OTAN OS AAN AA ia 10 EI JUMPee r SCI As tdi ios daa ita 14 1 6 PIWAS SIG NINIEIN TS cr RE disen 17 LO FA CI PORRO ORTOS o As 17 DO EC SESTO O tacar tated Dre a opido aa piod DR M acest on o p oe dae Cop DRM Moe LUE eS 18 1 6 3 PCEPSPORS PI6PORI6i and PEX PSPORSIV PIOPORIOL rrenan 19 2 HARDWARE APPLICATIONS eee eoe eut r aa epa ove eo Y ue aa euo o cuia Eae vea eve doa doa lada ada des sda id ada 20 2 1 REAS OUIOT etes a Met eC P DRA NO eru e LAE ntn I nT TOE e DUNE E mE 20 2 OPEN COBEECIOROU REU T avos Ra edente ces A ee ito case e de i dE aA ie 21 2 3 PHOTOMOS RELAY OULPUT utu dcs LM D AA MR E Ea D mei eked 22 2 4 ISOLATEDINBE Essent os sees uou et sto EM IE LM E UU M MAU MuR OS I uaa cael 23 3 SOFTWARE INSTALLATION GUIDE eci ecesvias eseteVeee ose esvos eec citada 25 dal SOPTWARE INSTAELING PROCEDURE Sii ii be oom tbe ii i 25 32 PNP DRIVER ING TAZA TION Gusto Caia dadas 26 3 3 CONFIRM THE SUCCESSFUL INSTALLATION 0sccsccscccccoscceccscceccsscsccscceccsccsscescsceecescessesscescsscescesceess 24 4 TO CONTROL REGISTE Rois A vd e Ue Pe uS a Geter ek 28 Zl SHOW O FIND VHESYO ADDRESS oa 28 4 2 TREVO ADDRESS MAP anal redit Soros SS reuse ues vede sadia Ma Si tod ad cA ue qu 34 BDA TOG OUI Di cital DUI das tte oe ri tue E T coe 34 4 2 2 NORESTE E ton Qum sedes escuela edet irr a a 35 BTiS Cara DREE NEE tede tied E ee doom o doa Onde o eoa un no rau oc esae 35 5 DEMO PROGRADMS cuina didas 36 5 1 DEMO PROGRAMS F
10. O channel 8 15 for PEX P16POR16i Select the input type AC or DC signals for D I channel 8 15 Ground isolated protection Card ID dip switch 1 5 3 Jumper Settings B input signal type You can change the I O card configuration simply by setting the jumpers on this board Each digital input channel can be jumper configured as a single pole RC filter with a time constant of 1 2 ms The Figure 1 9 Figure 1 10 and Table 1 2 listed below shows each digital input channel and the corresponding jumper e PCI P8R8 P16R16 P16C16 P8POR8 P16POR16 CN1 CN2 NOOBWON 0 dd 0 0 ORONO Figure 1 9 PCI Series Jumper Settings e PEX P8POR8i P16POR16i CONT CON2 O NO E 00 OO O oL ol SO N C RO Figure 1 10 PEX Series Jumper Settings e Jumper Mapping Digital Input Channel Table Jumper Jumper Channel Channel PCI series PEX series PCI series PEX series Do JP9 Eca JP2 JP3 3 DIZ DI10 JP4 s D111 JP5 D112 JP6 6f D5 D113 JP7 T Die D114 JP8 8 D7 DI15 Table 1 2 Jumper assignment The figure below shows how to select the digital input type 1H i 3 3 Without Filter With AC Filter For DC Signal For AC Signal Default Setting Figure 1 11 Jumper Settings If you are using AC input signals you must short AC FILTER pin2 3 of the corresponding jumpers If you are using DC input signals the AC FILTER is optional If the DC input signal response is less
11. O resources information in the library The function is implemented based on the PCI Plug amp Play mechanism Please refer to PCI P16R16 Series Software Manual 2 PCI GetConfigAddressSpace wBoards amp wTypelD amp wAddressO amp wAddress1 amp wAddress2 amp wAddress3 amp wAddress4 amp wAddress5 Use this function to get I O resources information of a PCI P8R8 P16R16 series card installed in this system Then the application program can control all functions of PCI P8R8 P16R16 series card directly Please refer to PCI P16R16 Series Software Manual o Note The PCI P8R8 P16R16 series card is to use the BAR 2 amp wAddress2 to control all functions please refer to Sec 4 2 The I O Address Map The First 16 double words of a PCI device s configuration space are referred to as the device s configuration region Within these the 16 0 15 double words the 04 05 06 07 08 and 09 double words are referred to as Base AddressO Base Address1 Base Address2 Base Address3 Base Address4 and Base Address5 For more detailed information for about these 16 double words please referring the book titled PLUG AND PLAY SYSTEM ARCHITECTURE written by Tom Shanley Addison Wesley Publish Company 1995 These base addresses are utilized as control register and or I O register for many data acquisition boards On PCI P16R16 and PCI P8R8 series boards the base address2 is utilized as the base address of digital input and digit
12. O32 EXE file in the NAPDOS folder on this CD Click the item PCI Bus DAQ Card Click the item UniDAQ Click the item DLL for Windows 2000 and XP 2003 Vista 32 bit Double Click UniDAQ Win Setup x x x x xxxx exe file in the Driver folder B Windows driver Windows 98 NT 2K and 32 bit Windows XP 2003 Vista 7 Insert the companion CD into the CD ROM drive and after a few seconds the installation program should start automatically If it doesn t start automatically for some reason double click the AUTO32 EXE file in the NAPDOS folder on this CD Click the item PCI Bus DAQ Card Click the item PCI P16R16 PCI P8R8 Click the item DLL and OCX for Windows 98 NT 2K XP 2003 Choose the Win2K XP Win98 or WinNT folders for setup according to your PC platform and then double Click exe to install driver PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 Bo The setup program will then start the driver installation and copy the relevant files to the specified directory and register the driver on your computer The directory where the drive is stoned is different for different windows versions as shown below B Windows 64 bit Windows XP 2003 Vista 7 The UniDAQ DLL file will be copied into the C WINNT SYSTEM32 folder The NAPWNT SYS and UniDAQ SYS files will be copied into the CAWINNT SYSTEM32 DRIVERS folder e For more detailed UniDAQ DLL function information please
13. OR WINDOWS 45221 3 rette danada ee EE C e E eed dis 36 29 2 DEMO PROGRAMS FOR DOS uau utter te eoo aa dia aote dnte eoa Uto aa 37 5 3 PIO PISQEXE FOR WINDOWS 2521555 9086555 6489804888 099 8 94 99 001 kao BEER RA Obat Eee ON ORE OM MAD 38 EE 1 Introduction Model Number Isolated Digital Input Output Type PCI P8R8 8 Channel 8 Channel Relay Output PCI P16R16 16 Channel 16 Channel Relay Output PCI P16C16 16 Channel 16 Channel Open Collector Output PCI P8POR8 8 Channel 8 Channel PhotoMos Relay Output PEX P8PORSI PCI P16POR16 _ 16 Channel 16 Channel PhotoMos Relay Output PEX P16POR16i e PCI P8R8 PCI P16R16 The PCI P16R16 PCI P8R8 is a PCI card supporting 5 V PCI bus and Plug amp Play feature to get I O address automatically without manually setting This card contains 16 8 photo coupler digital input channels that provide 5000 Vrms isolation protection allowing the input signals to be completely floated so as to prevent ground loops They are also equipped with 16 8 relay output channels to enable the control of the ON OFF state of external devices drive external relays or small power switches or activate alarms etc e PCI P16C16 The PCI P16C16 is a 5 V PCI card that support Plug amp Play functionality to automatically obtain I O resources from the BIOS This card contains 16 optically isolated digital input channels and 16 open collector sink NPN digital output channels The DI channels provide 5000 Vrms isolation pr
14. WORD dOutData WORD HiWord LoWord UCHAR HiByte LoByte HiWord 0x8000 bBus HiByte bDevice lt lt 3 bFunction LoByte bWhichLong 2 Oxfc LoWord WORD HiByte 8 LoByte dOutData DWORD HiWord lt lt 16 LoWord outpd Oxcf8 dOutData 4 2 Thel O Address Map The I O address for PIO PISO series cards is automatically assigned by the ROM BIOS of the main board The I O address can also be re assigned by user It is strongly recommended that users don t change the I O address The Plug amp Play BIOS will assign the proper I O address to each PIO PISO series card The detailed I O register address mapping for the PCI P8R8 P16R16 P16C16 P8POR8 P16POR16 and PEX P8POR8i P16POR16i card is as follows BAR 2 DI DO Register Register Function Script Bar No Offset TEEE Operation Access DIO Read D O Readback RO 16 bit 4 2 1 Digital Output Digital Input The sample code of DI DO is given as follows DIDO function of PCI P16R16 P16C16 P16POH16 and PEX P16POR 161 series void P16R16 DO WORD BaseAddr WORD wOutData outport BaseAddr wOutData WORD P16R16 DI WORD BaseAddr Digitallnzinportb BaseAddr I DIDO function of PCI P8R8 P8POR8 and PEX P8POR 8I series void P8R8 DO WORD BaseAddr WORD wOutData I outportb BaseAddr wOutData UCHAR P8R8 DI WORD BaseAddr Digitalln inportb BaseAddr 4 2 2 D O Readback Register The format of the D O readback regi
15. al Input Isolation Voltage 3 50 Vrms Photo couple Channels Logic 1 AC DC 5 24 V AC 50 1 kHz Logic 0 AC DC 0 1 V Without Filter 50 kHz Typical With Filter 0 455 kHz Typical Isolation Voltage Channels Compatibility Output Capability Response Speed General Female DB3 x 1 40 pin box header x 1 Dimensions L x W x D 183 mm x 105 mm x 22 mm Power Consumption 800 mA 5 V Input Voltage Response Speed I O Connector Operating Temperature 0 60 C Storage Temperature 20 70 C Humidity 5 85 RH non condensing PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 CA 1 3 3 PCI P8POR8 P16POR16 and PEX PSPORSI P16POH161 Model Name PCI P8POR8 PCI P16POR16 PEX PSPOR8i PEX P16POR16i Digital Input Isolation Voltage 3 50 Vrms Photo couple Channels 8 17 8 1 o Logic 1 AC DC 5 24 V AC 50 1 kHz Logic 0 AC DC 0 1 V Without Filter 50 kHz Typical With Filter 0 455 kHz Typical Input Voltage Response Speed Relay Output Chames 8 w 8 w PhotoMos Relay Form A AC 350 V 130 mA Peak AC Operating Time 0 7 ms typical 0 05 ms typical 23 O LED Indicators Output status General Bus Type 5 V PCI 32 bit 33 MHz PCI Express x1 16 bit Card ID No Yes 4 bit Female Connector 40 pin box q 1 header Dimensions L x W x D 183 mm x 105 mm x 22 mm Power Consumption 800 mA 5 V Operating Temperature 0 60 C Storage T
16. al output So the Digital I O functions for PCI P16R16 and PCI P8R8 series are coded as follows define WORD unsigned int define UCHAR unsigned char void P16R16 DO WORD BaseAddr WORD wOutData outport BaseAddr wOutData WORD P16R16_DI WORD BaseAddr WORD Digitall n Digitall nzinport BaseAddr return Digitall n void P8R8 DO WORD BaseAddr WORD wOutData outportb BaseAddr wOutData UCHAR P8R8 DI WORD BaseAddr UCHAR Digitall n Digitalln inportb BaseAddr return Digitall n Please refer to the following program code to get these six base addresses for PCI P16R16 and PCI P8R8 These codes are based on PCI Plug amp Play mechanism 2 SRS ERRAR GR A RR RUE Ibo Sup a toS bobo on Reading PCI card s configuration address space ani JUS EOS ROSSO AOL SUD DOROROR SUDOSO OD OR DOR SOROR B DOS DOS nadar roca E o WORD GetAddress void DWORD dConfigAddress dBaseAddress WORD HiWord LoWord WORD ReturnCode UCHAR Bus Device Function WhichLong WORD VendorlD Devicel D WORD wlrqNumber wTotalBoards 0 initial board number is O Bus 0 for Bus 0 Bus lt 10 Bus Function 0 WhichLong 1 for Device 0 Device lt 32 Device WhichLong 0 WriteAddress Bus Device Function WhichLong Vendorl D inport Oxcfc Devicel D inport Oxcfe if Vendorl D 0x1234 amp amp Devicel D 0x1616 PCI P16R16 WhichLong 4 Base Address O WriteAddress Bu
17. dentification of specific PIO PISO cards Refer to Sec 4 1 for more information
18. emperature 20 70 C Humidity 5 85 RH non condensing PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 EN 1 4 Product Check List The shipping package includes the following items B One PCI boards as follows e PCI P8R8 PCI P16R16 e PCI P16C16 e PCI P8POR8 PCI P16POR16 e PEX P8POR8i PEX P16POR16i B One software utility PCI CD B One Quick Start Guide It is recommended that you read the Quick Start Guide first All the necessary and essential information is given in the Quick Start Guide including B Where to get the software driver demo programs and other resources B How to install the software B How to test the card Attention If any of these items is missing or damaged contact the dealer from whom you purchased the product Please save the shipping materials and carton in case you need to ship or store the product in the future 1 5 Hardware Configuration This chapter describes how to unpack this I O card and how to install it to your system Both the unpacking information and the jumper settings are described in the following text This manual should be carefully read before installation 1 5 1 Unpacking This I O card was well tested and inspected both mechanically and electrically before shipping It was free of marks and scratches our quality delivery policy requires that all equipment be in perfect order before delivery However some unconditional damages may occur while unpackin
19. g Please read this section before unpacking the card Feel free to contact your carrier and retain your carton in case there is error CAUTI ON This card contains sensitive electronic components that can be easily damaged by static electricity 1 This card should be packed with an anti static mat 2 The user should wear an anti static wristband grounded at the same point to the anti static mat 3 Inspect the carton for obvious damage Either shipping or handing may cause damages Be sure there are no shipping and handing damages on the card before using 4 After opening the carton place the system board handle on a grounded anti static surface and let the component side up CAUTI ON Do not apply power to the board if it has been damaged 5 You are now ready to install your card PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 DE 1 5 2 Board Layout B PCI P8R8 P16R16 Board Layout E JLILILILILILIL PCI P8BR8 DOLL presiso 24 LL JC JL JL TE IE UE Sisisisisisisls EN Figure 1 2 PCI P8R8 Layout QDD TEIL ILI C TE QE IL TL ILI PCE P16R16 IS Input Resistor 2KQ Z EEE 2 169 HEEHEESE EE SESE JP One T JP16 JP9 Figure 1 3 PCI P16R16 Board Layout Note D I O channel 0 7 for PCI P8R8 P16R16 TRES ZEE Select the input AC or DC signals of D I channel O 7 for CN1 D I O channel 8 15 for PCI P16R16 ULA Ato Select the input AC or DC signals for D I
20. gu PCI P16R16 Series RR RR Includes PCI P8R8 P16R16 PCI P8POR8 P16POR16 PU EH PCI P16C16 and PEX P8POR8i P16POR16i Version 2 8 Apr 2011 Warranty 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 Warning 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 Copyright Copyright O 2011 by ICP DAS All rights are reserved Trademark Names are used for identification only and may be registered trademarks of their respective companies Tables of Contents 1 5 INTRODUCTION cuca is 1 1 1 FEATURES AND APPLICATIONS Saad ill 3 TT sale E 1 1 A AR EA S A N ENE AENA E AE S AAAA N AT 3 ic 2 sA DIDO ONON PROMO O RR OATES 4 1 2 PEOC qe METIRI 4 1 3 SPECIFICATIONS eta 5 Dd PCPS RSI TORIO eet tron Neri 5 Do do CT OCT eiectus eese ote cite dem ep als dd SSD AR uere ER 6 1 3 3 PCI PSPORS PI6PORI and PEX PSPORSi PIOPORIOL errar 7 1 4 PRODUCT CHECK EIST rpn A A E A CIN IARE b EDI Dn SS aan 8 1 5 HARDWARE CONFIGURATION isaac 9 LIA ED Door E AAA AAA AA AAA AA AAA AA a 9
21. i napdos pci pci p16r16 dll_ ocx demo BCB3 gt For Borland C Builder 3 A list of available demo P16R16 H gt Header files programs is as follows P16R16 LIB gt Linkage library for BCB E Delphi3 gt For Delphi 3 m DIO D I O demo P16R16 PAS Declaration files B VB6 gt For Visual Basic 6 P16R16 BAS gt Declaration files BH VC6 gt For Visual C 6 P16R16 H Header files P16R16 LIB Linkage library for VC6 B VB NET2005 gt For VB NET2005 P16R16 vb Declaration files m CSharp2005 For C NET2005 P16R16 cs Declaration files PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 woo 5 2 Demo Programs for DOS The related DOS software and demos are located on the CD as below CD NAPDOS PCI PCI P16R16 dos http ftp icodas com pub cd iocard pci napdos pci pci p16r16 dos After installing the software the following drivers will be installed onto your hard disk m Demo code Lib for Borland C P16R16 BC HUGE DEMO gt huge mode demo programs P16R16 BC HUGE LIB gt huge mode library P16R16H LIB P16R16 BC LARGE DEMO gt large mode demo programs P16R16 BC LARGE LIB gt large mode library P16R16L LIB m Demo code Lib for MSC P16R16 MSC HUGE DEMO gt huge mode demo programs P16R16 MSC HUGE LIB gt huge mode library P16R16H LIB P16R16 MSC LARGE DEMO gt large mode demo programs P16R16 MSC LARGE LIB gt large mode library P16R16L LIB B Demo code Lib for TC
22. l and then double click the System icon on Windows Step 2 Click the Hardware tab and then click the Device Manager button Step 3 Check the PCI P8R8 P16R16 P16C16 PBPOR8P16POR16 and PEX P8POR8i P16POR16i card which listed correctly or not as illustrated below Es Device Manager File Action View Help E amp mE Sat Disk drives m i Display adapters H DVD CD ROM drives Ee Floppy disk controllers E Floppy disk drives 43 IDE ATAJATAPI controllers E gt Keyboards g T Mice and other pointing devices E Monitors ce Network adapters Ports COM amp LPT EE Processors gm Sound video and game controllers 22 System devices Universal Serial Bus controllers Successful EN 4 VO Control Register 4 4 1 How to find the I O Address The Plug amp Play BISO assigns a proper I O address to every PCI P8R8 P16R16 P16C16 P8R8 P16POR16 and PEX P8POR8i P16POR16i card in the power on stage The IDs of PCI P8R8 P16R16 P16C16 P8R8 P16POR16 and PEX P8POR8i P16POR16i are as follows PCHPBR PCLPIECIE Model Name PCI P8POR8 PEX P8PORS8i A EU PEX P16POR16i Vendor ID 0x1234 0x1234 Device ID 0x0808 0x1616 Sub Vendor ID 0x0000 0x0000 Sub Device ID 0x0000 0x0000 We provide the following necessary functions 1 PCI Driverlnit amp wBoards This function detects how many PCI P8R8 P16R16 series cards are installed in the system and also records all their I
23. otection that allows the input signals to be completely floated so as to prevent ground loops and isolate the host computer from damaging voltages The open collector output DO channels are typically used for alarm and warning notification control of signal output control of external circuits that require a higher voltage level and signal transmission applications etc The PCI P16C16 contains a single DB 37 connector and a single 40 pin box header and includes a 40 pin to DB 37 flat cable for easy wiring PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 LM e PCI P8POR8 P16POR16 and PEX P8PORGIi P16POH16i The PCI P8ROR8 P16POR16 supports 5 V PCI bus while the PEX P8POR8i P16POR16i supports PCI Express bus Each contain 8 or 16 optically isolated input channels and 8 or 16 PhotoMos relay output channels Both the isolated DI channels and the PhotoMos relay channels use a short optical transmission path to transfer an electronic signal between elements of a circuit and keep them electrically isolated The DI channels provide 5000 Vrms isolation protection allowing the input signals to be completely floated so as to cut down ground loops block voltage spikes and isolate the host computer from damaging voltages PhotoMos relays are used where it is necessary to control a circuit using a low power signal with complete electrical isolation between the control and controlled circuits or where several circuits must be controlled b
24. pler isolator Calculate input voltage and current then replace resister Ri Ri 1 2 kQ 1 W External Circuit On board circuits PC 814 Figure 2 4 Isolated Digital Input lf 2 mA 20 mA A rough estimate if Vin 120 V and we ignore photo coupler turn on voltage Well get Vin l Ri Vin 120 V lr 10 mA Ri Vin 120 V 0 01 A 12000 Q If you replace 12 kQ as resistor Ri we can calculate the power consumption of Ri as follows 2 2 P I Rex 10 mA 12 KQ 2 1 2W The power consumption is 1 2 watts but choosing 1 5 or 2 watts is better Thus we can choose a 12 K 2 W resistor to replace the resistor Ri PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 TN MEME 3 Software Installation Guide The PCI P8R8 P16R16 P16C16 P8POR8 P16POR16 and PEX P8POR8i P16POR16i series can be used in DOS and Windows 98 NT 2K and 32 bit 64 bit Windows XP 2003 Vista 7 The recommended installation procedure for windows is given in Sec 3 1 3 2 Or refer to Quick Start Guide CD NAPDOS PCI PCI P16R16 Manual QuickStart http ftp icodas com pub cd iocard pci napdos pci pci p16r16 manual quickstart 3 1 Software Installing Procedure E UniDAQ SDK driver 32 bit 64 bit Windows XP 2003 Vista 7 Insert the companion CD into the CD ROM drive and after a few seconds the installation program should start automatically If it doesnt start automatically for some reason double click the AUT
25. s Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr0 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 0 wBaseAddrO WhichLong 5 Base Address 1 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr1 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 1 wBaseAdadr1 WhichLong 6 Base Address 2 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr2 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 2 wBaseAddr2 WhichLong 7 Base Address 3 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr3 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 3 wBaseAddr3 WhichLong 8 Base Address 4 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr4 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 4 wBaseAddr4 WhichLong 9 Base Address 5 WriteAddress Bus Device Function WhichLong dBaseAddress inpd Oxcfc wBaseAddr5 WORD dBaseAddress amp Oxfffe wConfigSpace wTotalBoards 5 wBaseAddr5 store the type name ID yl wConfigSpacelwTotalBoards 6 TYPE_P16R16 wTotalBoards increment board number wGetAddress 1 if VendorlD 0x1234 amp amp Devicel D 0x0808 PCI P8R8 a WhichLong 4 Base Address 0 WriteAddress Bus Device
26. ster is given as follows BaseAddr 0x0C The sample code of reading the given as follows D O Readback function of PEX P8POR8Ii and PEX P16POR 161 Digitalln inportb BaseAddr 0x0C 4 2 3 Card ID Register The format of the Card ID register is given as follows BaseAddr 0x3C It can be used to read the card ID set from SW1 switch The sample code of reading the given as follows Card ID function of PEX P8POR8i and PEX P16POR 161 wlIDzinportb BaseAddr 0x3C amp 0x000f e Note l Refer to Sec 4 1 for more information regarding BaseAddr 2 The Card ID and D O Readback function is only supported by the PEX P8PORSi and PEX P16POR16i Ver1 0 or above mM o Demo Programs 5 1 Demo Programs for Windows Please note that none of the demo programs will work normally if the DLL driver has not been installed correctly During the DLL driver installation process the install shield will register the correct kernel driver to the operating system and copy the DLL driver and demo programs to the correct location depending on the driver software package you have selected Win98 Me NT 2000 and 32 bit Win XP 2003 Visa 7 After installing the driver the related demo programs development library and declaration header files for the different development environments will be available in the following folders The demo program is contained in CD NAPDOS PCI PCI P16R16 DLL_OCX Demo http ftp icodas com pub cd iocard pc
27. tput control register the relays will switch to NC or NO as specified by the control code A 1 in the control register will energize the corresponding relay The relay will switch from COM to NO normally open A O inthe control register will turn off the corresponding relay and the relay will be switch from COM to NC normally closed The control register powers on in NC mode Hardware reset signal or programmable reset signal will also turn the relay to NC The following figures show how to use the relay Basic Circuitry Current Rating 0 3 A Power Supply Figure 2 1 Basic Relay Circuit Heavy Loading Application gt 0 3 A P16R16DI Power Relay ORelay Ov Contact 7 Power Relay ad Heavy Loading Figure 2 3 Heavy load relay circuit 2 2 Open Collector Output e For PCI P16C16 Only The PCI P16C16 provides 16 channel open collector outputs and 4 channels per common power Each common power has designed fuse protection and LED indicated status Ext Power1 LOAD E LOAD IDO1 UY IDO7 LOAD Power supply Y IGND V External Internal of PCI P16C16 n 4 4 A A A AA Recommend It Is necessary to connect a diode 3 In the External Device
28. y automation Communication switching Security control Product test Energy management 1 2 Block Diagram PCI BUS p P8R8 P16R16 EEPROM PCI Controller mmm mmm c A Buffers Tran ST PhotoMos amp tais P16PDR16 Protos Photo Couple Buffers Photo Couple s Filters Photo Couple Photo Couple Figure 1 1 Functional Block diagram PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 n 1 3 Specifications 1 3 1 PCI P8R8 P16R16 Model Name PCI P8R8 PCI P16R16 Digital Input Isolation Voltage 3750 Vrms Photo couple 16 Logic 1 AC DC 5 24 V AC 50 1 kHz Logic 0 AC DC 0 1 V Without Filter 50 kHz Typical With Filter 0 455 kHz Typical 4 SPDT 4SPST AC 120 V 0 5A DC 24 V 1 A o ms typical Channels Input Voltage Response Speed Relay Output Channels Relay Type Contact Rating Operating Time Release Time 10 ms typical Insulation Resistance 1000 MQ Mechanical 5000000 ops Electrical 100000 ops 5 V PCI 32 bit 33 MHz 16 bit No Female DB3 x 1 I O Connector Female DB37 x 1 40 pin box header x 1 Dimensions L x W x D 183 mm x 105 mm x 22 mm Power Consumption 500 mA 5 V 800 mA O 5 V Operating Temperature 0 60 C Life Storage Temperature 20 70 C Humidity 5 85 RH non condensing PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 mM 1 3 2 PCI P16C16 Model Name PCI P16C16 Digit
29. y one signal The PCI P8POR8 P16POR16 and PEX P8POR8i P16POR16i can be used in various applications such as controlling the ON OFF state of external devices driving external relays or small power switches activating alarms contact closure sensing external voltages or switches etc The card can be installed in PCI PCI Express slot and supports true Plug amp Play with two DB 37 connectors provided for easy wiring PCI P16R16 Series User Manual Ver 2 8 Apr 2011 PMH 013 28 m 1 1 Features and Applications 1 1 1 Features PCI P8R8 PCI P16R16 PCI P16C16 Bus Type 5 V PCI Bus e Optically Isolated Digital Input e AC DC Digital Signed Input e AC Digital Input With Filter By Jumper Setting Common Features Input Channel Input Type Optically Isolated Digital Input Output Channel 8 16 16 Output Type Relay Output nor utpu utpu ES i Open Collector Led Indicators External Power status Table 1 1 Features of PCI P8R8 P16R16 P16C16 card PCI P8POR8 PCI P16POR16 PEX P8POR8 PEX P16POR 16I Bus Type 5 V PCI Bus PCI Express x 1 e Optically Isolated Digital Input e AC DC Digital Signed Input e AC Digital Input With Filter By Jumper Setting InputChannel 8 16 8 te Output Channel 8 16 8 416 PhotoMos Relay Table 1 2 Features of PCI P8POR8 P16POR16 and PEX P8POR8i P16POR16i card Common Features 1 1 2 Applications Factory automation Laborator

Download Pdf Manuals

image

Related Search

Related Contents

i3TOUCH V-SENSE  JUM-126KPK Super 8 Slides & Negatives Scanner -ML-4-7-2014  Moulded Seating User Manual  SikaTop® 123 PLUS Winter Grade  CESAG - BIBLIOTHEQUE - Bibliothèque du CESAG  EN COBY USB MP3 Player  LM6100 Series LCD Monitor  Le TTR en procès : une condamnation sans appel  リーフレット>(4/6)(PDF:2243KB)  Disney Interactive Studios Pirates of the Caribbean: Dead Man's Chest User's Manual  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.