Home
PIO-D144/D168 Series Card User Manual
Contents
1. PIO D144 D168 Series Card AC or DC Signal OV to 24 V Figure A4 1 Table A4 1 DB 24P DB 24PD 50 pin Flat Cable Header Yes Yes D sub 37 pin Header No Yes Other Specifications Same FG User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 49 PIO D144 D168 Series Card 144 168 channel DIO Board A5 DB 24R and DB 24RD Relay Board The DB 24R 24 channel relay output board consists of 24 form C relays for efficiently controlling the switch with the use of an appropriately loaded program The relays are energized by applying a 12 V 24 V voltage signal to the appropriate relay channel on the 50 pin flat cable connector There are 24 enunciator LEDs for each relay channel and the LED light will go on when their associated relay has been activated The control scheme is illustrated below Form C Relay N ol Qo Normal Open x O _ Normal Close Com PIO D144 D168 Series Card LEALE Figure A5 1 Note 50 pin Cable Channel 24 Form C Relay Relay Switching up to 0 5 A at 110 Vac or 1 A at 24 Vo Table A5 1 DB 24R DB24RD 50 pin Flat Cable Header Yes Yes D sub 37 pin Header No Yes Other Specifications Same Table A5 2 DB 24R DB 24RD 24 Relay 120 V 0 5 A DB 24PR DB 24PRD 24 Power Relay 250 V 5 A DB 24POR 24 PhotoMOS Relay 350 V 0 1 A DB 24SSR 24 SSR 250 Vac 4 A DB 24C 24 Open Collector 30 V 100 mA DB 16P8R 16 Relay 120 V 0 5 A 8
2. 0 Rev 4 0 or above Rev 1 0 or above Sub AuiD Odd Table 6 2 PIO D168A PIO D168 D168U Vendor ID OxE159 OxE159 We provide all necessary functions as follows 1 PIO Driverinit amp wBoard wSubVendor wSubDevice wSubAux 2 PIO_GetConfigAddressSpace wBoardNo wBase wIirq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice 3 Show PIO PISO wSubVendor wSubDevice wSubAux PIO D144 D168 Series Card 144 168 channel DIO Board For more information about all functions defined refer to PIO DIO DLL software manual The important driver information is given as follows 1 Resource allocated information e wBase BASE address mapping in this PC e wirq IRQ channel number allocated in this PC 2 PIO PISO identification information wSubVendor subVendor ID of this board wSubDevice subDevice ID of this board wSubAux subAux ID of this board 3 PC s physical slot information e wSlotBus hardware slot ID1 in this PC s slot position e 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 6 1 1 for more information 6 1 1PIO_PISO Utility The PIO_PISO EXE is valid for all PIO PISO cards This program shows all PCI hardware ID regarding the PIO and PISO series DAQ cards It is useful to test if the card Plug amp Play successfully when the computer bootup If the PIO or PISO series card
3. 3 Mar 2015 PMH 009 33 Page 3 PIO D144 D168 Series Card 144 168 channel DIO Board Comparison Table DI Card Model Interface Channels Compatibility Advantage Pull High Low ID Low power consumption PEX D144LS PC0CI Express 144 Yes Yes 5V CMOS Low temperature Universal i PIO D144LU 144 Yes Yes 5V CMOS gr ue PCI Low temperature Universal i iVi PIO D144U 144 No Ves 5 V TTL ED EUNE PCI Output Capability PIO D144 PCI Bus 144 No No 5V TTL gin VG PES Output Capability Universal i iVi PIO D168U 168 No Yes 5V ITL gn DO rar PCI Output Capability PIO D168 ivi PCI Bus 168 No No 5V TTL gn DS Drivin PIO D168A Output Capability 1 1 Packing List The shipping package includes the following items o One PIO D144 D168 series card hardware as follows PIO D144 U Em ii HUN 1ese items is e One printed Quick Start Guide ili th ture e One software utility CD e future User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 4 PIO D144 D168 Series Card 144 168 channel DIO Board 1 2 Features PIO D144 D144U D144LU PEX D144LS e Support the 5V PCI bus for PIO D144 e Support the 3 3 5 V PCI bus for PIO D144U D144LU e Support the PCI Express x 1 for PEX D144LS e 144 channels of digital I O e 18 8 bit bi direction I O ports e Pull high Pull low Jumpers for DI Channels for PIO D144LU PEX D144LS e Card ID function for PIO D144U D144LU and PEX D144LS e PIO D144 D144U D144LU Five 50 pin flat
4. D144 D168 series card 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 UniDAQUtility exe 2 Confirm the PIO D144 D168 series card had successfully installed to PC It starts form 0 3 Click the TEST button to start test es we V LIniDAQUIEilit PIO D144 D168 Series Card 144 168 channel DIO Board Step 2 Get DIO function test result 1 Click the Digital Output tab 2 Selectthe Port1 from the Port Number drop down options 3 Check channels 0 2 4 and 6 0 PIO D168 CARD ID 0 Part Number 4 Click the Digital Input tab 5 Select the Port0 from the Port Number drop down options 6 The corresponding DI become red for channel 0 2 4 6 of DO is ON lt D PIO D168 CARD ID 0 Sees Analog Input Analog Cutout Digital Input Al Output Timer Counter gt DONE gt OFFO PIO D144 D168 Series Card 144 168 channel DIO Board 6 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 D144 D168 series cards are given as follows Table 6 1 PIO D144 PIO D144 D144U D144LU PEX D144LS Rev 1 0 3
5. DIO Board 2 2 1 0 Port Location There are 18 21 8 bit I O ports in the PIO D144 D168 series Every port can be independently configured as a DI or DO port When the PC is first powered on or reset all ports are configured as Digital input ports Therefore the user needs to configure these ports as either digital input or output ports before using then in an application Each I O port is named as the following table and its location can be found in Table 2 1 to 2 3 The PIO D144LU and PEX D144LS card supports pull high low jumpers allow the DI ports can be selected to either pull high or pull low via placement of the JP1 to JP18 jumpers Please refer to Table 2 2 and 2 3 for more detailed information Table 2 1 PIO D144 D144U PIO D168 PIO D168 D168U PIO D168U Model Connector CN1 CN2 CN3 CN4 CN5 CN6 CN7 Table 2 2 Model PIO D144LU Connector CN1 CN2 CN3 CN4 CN5 CN6 ee PAO PA7 Pull high Low JP1 JP4 JP7 PJ10 PJ13 PJ16 ee pom Ponz Porto Poras Poras PBO PB7 Pull high Low JP2 JP5 JP8 JP11 PJ14 PJ17 o ee AE PCO PC7 Pull high Low JP3 JP6 JP9 JP12 PJ15 PJ18 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 10 PIO D144 D168 Series Card 144 168 channel DIO Board Table 2 3 Model PEX D144LS i Connector CON1 Connector CON2 PAO PA7 Porto pull high low by JP1 PA40 PA47 PBO PB7 Port1 pull high low by JP2 PB40 PB47 Port12 pull high low by JP13 Port13 pull high low by JP14 P
6. 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 List the wSlotBus and wSlotDevice for specified PIO PISO card identification refer to Sec 6 2 for more information about the assignment of I O Address PIO D144 D168 Series Card 144 168 channel DIO Board E For Windows OS The PIO PISO EXE for Windows is contained in CD 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 Figure 6 1 Y ICP DAS PCI Based I O Card Utility Yer 3 0 0 214 Please select one of the device to show the detail information EoardHNaner Yersoin OxE154 Dx0001 09880 Dx0001 0x50 PIO 0168 AAA Port I O Tool nction Address Value HEX Width O O16 032 Memory 1 0 Tool Fu Address Value HEX IROH Devicedt Width Address d 16 e 32 Save Log User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 33 PIO D144 D168 Series Card 144 168 channel DIO Board E For DOS The PIO_PISO EXE for DOS is contained in CD NAPDOS PCI Utility DOS http ftp icodas com pub cd iocard pci napdos pci utility dos EE PR ARE TN Gee te NE ae ae Ee PAP A a Find all PIO_PISO series cards in
7. isa general purpose screw terminal board It is designed for easy wire connection The DB 8125 consists of one DB 37 and two 20 pin flat cable headers del Je Er dd das Hee Hes Hes DE H af ab af Tad ef KIMI age st s wv sl w Na DB 8125 A3 ADP 37 PCI and ADP 50 PCI The ADP 37 PCI and ADP 50 PCI are extender for the 50 pin header The one side of the ADP 37 PCI or the ADP 50 PCI can be connected to a 50 pin header Note that ADP 37 PCI is 50 pin header to DB 37 extender and ADP 50 PCI is 50 pin header to 50 pin header extender The other side can be mounted onto the PC chassis as is depicted by the following User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 48 PIO D144 D168 Series Card 144 168 channel DIO Board A4 DB 24P and DB 24PD Isolated Input Board The DB 24P is a 24 channel isolated digital input daughter board The optically isolated inputs of AA P the DB 24P consist of a bi directional optocoupler with a resistor for current sensing You can use the DB 24P to sense DC signals from TTL levels up to DB 24P 24 V or use the DB 24P to sense a wide range of AC signals You can also use this board to isolate the computer from large common mode voltage ground loops and transient voltage spikes that often occur in industrial environments as shown in Figure A4 1 Table _A4 1 is the comparison of DB 24P and DB 24PD PIO D144 D168 Series Card Opto Isolated
8. mounted on the motherboard Step 10 Re attach cover for the computer and reconnect the power supply 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 3 3 Mar 2015 PMH 009 33 Page 21 PIO D144 D168 Series Card 144 168 channel DIO Board 4 Software Installation This chapter provides a detailed description of the process for installing the PIO D144 D168 series driver and how to verify whether the PIO D144 D168 series card was properly installed PIO D144 D168 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 amp Play PnP compliant for easy installation 4 1 Obtaining Installing the Driver Installer Package The driver installer package for the PIO D144 D168 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 Table4 2 below Table 4 1 UniDAQ Driver SDK Windows 2000 32 64 bit Windows XP 32 64 bit Windows 2003 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 XxxXXx exe CD ROM CD NAPDOS PCI UniDAQ DL
9. pin flat cable connector for Port3 to Port20 Note CN7 Port8 Port20 is only for the PIO D168 series Terminal No Pin Assign Terminal No ment PC_7 PC 6 PC 5 PC 4 PC 3 BBSS PC 1 PC 0 PB 7 PB 6 PB 5 PB 4 PB 3 PB 2 PB 1 PBO PA 7 PA 6 PA 5 PA 4 PA 3 PA 2 PA 1 PA 0 5V 0000000000000000000000000 0000000000000000000000000 CN2 CN3 CN4 CN5 CN6 CN7 PIO D168U only User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 13 PI0 D144 D168 Series Card 144 168 channel DIO Board 2 4 2 PEX D144LS Terminal No i Pin Assign Terminal No ment E CON1 100 pin SCSI II female connector for PortO to Port11 EH CON2 50 pin flat cable connector for Port12 to Port17 O O O O O O O O O O O O O O O O O O O O O O O O O 000 00 000000000000000000000 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 14 PIO D144 D168 Series Card 144 168 channel DIO Board 2 5 Enable I O Operation When the PC is first turned on all operations involved with digital I O channels are disabled Note that the digital I O channel of each port is enabled or disabled by the RESETN signal refer to Sec 6 3 1 for more information related to this The power on states for all DI O ports are given as follows e D I O operations for each port are disabled e D I O ports are all configured as Digital input ports e D O latch register outputs are all high impedance Refer to Sec 2 6 The use
10. signal source is used the interrupt service routine does not need to identify the interrupt source Refer to DEMO3 C and DEMO4 C However if there are more than one interrupt source the interrupt service routine has to identify the active signals in the following manner refer to DEMO5 C Read the new status of the interrupt signal sources Compare the new status with the old status to identify the active signals If P2CO is active service P2CO and non inverter inverted the P2CO signal If P2C1 is active service P2C1 and non inverted inverted the P2C1 signal If P2C2 is active service P2C2 and non inverted inverted the P2C2 signal If P2C3 is active service P2C3 and non inverted inverted the P2C3 signal EE tS S SE Update the interrupt status o the interrupt signal differing operating syst general 20 ms is enough for all O S User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 17 PIO D144 D168 Series Card 144 168 channel DIO Board 3 Hardware Installation 8 Note As certain operating systems such as Windows 2000 XP may require the computer to be restarted after a new driver is installed it is recommended that the driver is installed first which will reduce the installation time Follow the process described below to install your PIO D144 D168 series card Step 1 Installing PIO D144 D168 series card driver on your computer first For detailed information about the driver installation please
11. this PC system step 1 plug all PIO_PISO cards into PC SCH step 2 run PIO_PISO EXE wi s EE E g Hinclude PIO H WORD wBase wlrq WORD wBase2 wlrq2 int main int i j j1 j2 j3 j4 k jj dd j11 j22 j33 j44 WORD wBoards wRetVal WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice char c float ok err clrscr wRetVal PIO_DriverInit amp wBoards 0xff 0xff 0xff for PIO PISO printf YnThrer are d PIO_PISO Cards in this PC wBoards if wBoards 0 exit 0 printf n T EE ENE SEE ee oe e aeta ny for i 0 i lt wBoards i PIO_GetConfigAddressSpace i amp wBase amp wlrq 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 I PIO_DriverClose PIO D144 D168 Series Card 144 168 channel DIO Board 6 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 0 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
12. 015 PMH 009 33 Page 37 PIO D144 D168 Series Card 144 168 channel DIO Board 6 3 1RESETN Control Register Write wBase 0 RESET When the PC s power is first turned on RESET signal is in a Low state This will disable all DI O operations The user has to set the RESET signal to a High state before any DI O command applications are initiated For example outportb wBase 1 RESET High gt all D I O are enable now outportb wBase 0 RESET Low gt all D I O are disable now 6 3 2 AUX Control Register Write wBase 2 Aux 0 gt this Aux is used as a D I Aux 1 gt this Aux is used as a D O When the PC is first turned on all Aux signals are in a Low state All Aux are designed as DI for all PIO PISO series cards PIO D144 D168 Series Card 144 168 channel DIO Board 6 3 3 Aux Data Register Read Write wBase 3 When the Aux is used for D O the output state is controlled by this register This register is designed for feature extension Therefore do not use this register 6 3 4 INT Mask Control Register Write wBase 5 ENO 0 Disable P2C0 of CN1 as an interrupt signal Default ENO 1 gt Enable P2C0 of CN1 as an interrupt signal For example outportb wBase 5 0 Disable interrupt outportb wBase 5 1 Enable interrupt P2CO outportb wBase 5 0x0f Enable interrupt P2CO P2C1 P2C2 P2C3 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 39 P
13. 144 D144U D144LU and PiO DIe DIegt r 27 5 1 2 FE DN cion 28 5 2 PENT NNN 29 6 UO CONTROL REGISIER u u uuu uuu l ll u o IA 31 6 1 TN NE l eins crt te cise Pe is cc tol 31 P ON 32 PIO D144 D168 Series Card 144 168 channel DIO Board 6 2 THE ASSIGNMENT OF I O ADDRESS r 35 6 3 THE ENN 37 631 RESETIVConlrol REO arena RAR ia 38 2 AUX CONTO Regla mnao ia ia 38 UE JA A In ca A oo SI 39 6 3 4 INT Mask Control Register 39 OS AUX SIQI CO el dada 40 6 30 Interr pt Polar Ree aida 40 6 3 7 Read Write 8 bit Data Register EE 41 6 3 8 Active 1 0 Port Control Register E 41 6 3 9 I O Selection Control Register 42 SEE I PEP e EEE E Po EE A 43 7 DEMO PROGRAMS ee 44 7 1 DEENEN A4 7 2 DEMO PROGRAM FOR DOS is 46 APPENDIX DAUGHTER BOARD uuu uuu u u u u uuu non a uwasgapisasssusisusasaptassusawtausasastassasaytaysasustassaqaykayasqaykaqqasssiss 47 DES NN NNN vr 47 EN 48 A3 ADP 37 PCI and ADP 507PC1 u EE 48 A4 DB 24P and DB 24PD Isolated Input Board r rr 49 AS DB 242R 0NA DB 24R UNE ay BO OIG u u uu i us Guinea EE DE 50 AG DB 24PR DB 24POR nd DB 24C eeben 51 A7 Daughter Boards Comparison Joble 52 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 2 PIO D144 D168 Series Card 144 168 channel DIO Board The PEX D144LS PIO D144 L U and PIO D168U cards are the new generation product that ICP DAS provides to meet RoHS compliance requirement and is designed as an easy re
14. 4000 0000 QQ CCC CR 000000000000000 000000 Japeay xoq uid 0S CN2 PIO D168U RETTET PCI Bus User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 8 PIO D144 D168 Series Card 144 168 channel DIO Board W PIO D144LU O O PIO D144LU CN2 SWI CN3 CN4 CN5 CN6 e oo oo a Y a a pp sf e3 en R3 Es i O oo E e O e O e aoe 22 Pulktow Pullow o zl pul Low gt Pullow o J4 o o a a e gt o a 6 2 Y _ Y EE bm O JP7 oi o PLEN SD IP13NQ o o JP160 2 Pull High ba og oo Ft sa loe loa 9 Pull High o o Pul Hgh Z Pull High G S Pul High NN Y e Y e Qa e o Q SS Y m Pull Low SG Pull Low o o Pull Low o o Pull Low o o Pull Low o o O Sl qa SG pg RG e Se e e p a lt ww e e JP2 So ona JP5 lo o oo o oj JPI4N O ol JP17 Nl oo GO lwo aa es a en a Y eg lt Y wp a Y Pull High oo Pull High 5 o Pull High o Pull High lo o PullkHighlo o a o e gt S Bo e o e oo EE og Pull Low 5 o Pull Low jo o Pull Low lo o Pull Low ol JP9 wo lt wua oo 0
15. B TCPIO_H LIB gt TC Huge Model Library File pep 64 For detailed information about the DLL function of the DOS please refer to PIO DIO DLL Software Manual CD NAPDOS PCI PIO DIO Manual User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 46 PIO D144 D168 Series Card 144 168 channel DIO Board Appendix Daughter Board A1 DB 37 DN 37 DN 50 and DN 100 E DpDB 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 D144 D144U D144LU and PIO D168 D168U DB 37 E DN 37 and DN 50 The DN 37 is a general purpose daughter board for DB 37 pins with DIN Rail Mountings The DN 50 is designed for 50 pin flat cable headers win 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 PIO D144 D144U D144LU and PIO D168 D168U by DN 37 and then use a 50 pin cable e g CA 5002 etc to connect to CN1 CN2 CN3 by DN 50 m DN 100 The DN 100 is a general purpose daughter board for SCSI II 100 pins It is designed for easy wire connection via pin to pin Use a 100 pin SCSI II cable e g CA SCSI100 15 etc to connect DN 100 to CON1 of the PEX D144LS User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 47 PIO D144 D168 Series Card 144 168 channel DIO Board A2 DB 8125 The DB 8125
16. 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 VC6 gt forVisualC 6 I 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 3 3 Mar 2015 PMH 009 33 Page 45 PIO D144 D168 Series Card 144 168 channel DIO Board 7 2 Demo Program for DOS The demo program is contained in EJ CD NAPDOS PCI PIO DIO DOS d144 CD NAPDOS PCI PIO DIO DOS d168 e http ftp icodas com pub cd iocard pci napdos pci pio dio dos d14 http ftp icodas com pub cd iocard pci napdos pci pio dio dos d16 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 LI
17. IO D144 D168 Series Card 144 168 channel DIO Board 6 3 5 Aux Status Register Read wBase 7 Aux0 P2C0 Aux1 P2C1 Aux2 P2C2 Aux3 P2C3 Aux7 4 Aux ID Refer to DEMO5 C for more information The Aux 073 are used as interrupt source The interrupt service routine has to read this register to identify the interrupt source Refer to Sec 2 7 for more information 6 3 6 Interrupt Polarity Register Write wBase 0x2A This register provides a function to control invert or non invert for the interrupt signal source A detailed application example is given below INVO 1 gt select the non inverted signal from P2C0 INVO 0 gt select the inverted signal from P2C0 For example outportb wBase 0x2a 0x0f select the non inverted input P2C0 1 23 outportb wBase 0x2a 0x00 select the inverted input of P2C0 1 23 outportb wBase 0x2a 1 select the non inverted input of P2CO select the inverted input P2C1 2B outportb wBase 0x2a 3 select the non inverted input of P2CO 1 select the inverted input P2C2B Refer to Sec 2 7 and DEMO5 C DOS for more information FG User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 40 PIO D144 D168 Series Card 144 168 channel DIO Board 6 3 7 Read Write 8 bit Data Register T wBase 0xc0 e me ms ma ms mz ma oo The PIO D144 D168 series contains 18 21 8 bit I O ports and each I O port can be configured as eitherDlora DO port The user
18. Isolated Input PIO D144 D168 Series Card 144 168 channel DIO Board A6 DB 24PR DB 24POR and DB 24C x The DB 24PR 24 channel x power relay output board consists of 8 form C and 16 form A electromechanical DB 24POR relays for efficiently controlling the switch with the use of an appropriately loaded program The contact of each relay can allow 5 A current load at 250 Vac 30 Voc The relay is energized by applying a 5 voltage signal to the associate relay channel on the 20 pin flat cable connector just used 16 relays or 50 pin flat cable connector OPTO 22 compatible for DIO 24 series 24 enunciator LEDs for indicating the status of for each relay and the corresponding LED light will go on when their associated relay has been activated To avoid overloading your PC s power supply this board needs a 12 Mee or 24Vnc external power supply as shown in Figure A6 1 e Normal Open Form A Relay Com PIO D144 D168 Series Card ee I Table A6 1 DB 24PR 24 Power Relay 5A 250 V DB 24POR 24 PhotoMOS Relay 0 1 A 350 Vac DB 24C 24 Open Collector 100 mA per channel 30 V max Note 1 50 Pin connector OPTO 22 compatible for DIO 24 48 144 PIO D144 D96 D56 D48 D24 D168 2 20 Pin connector for 16 channel digital output A 82X A 62X DIO 64 ISO DA16 DA8 3 Channel 16 Form A Relay 8 Form C Relay 4 Relay switching up to 5 A at 110 Vac 5 A at 30 V
19. L Driver x Web Site http fto icodas com pub cd iocard pci napdos pci unidag dil 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 unidaq manual Installing Procedure User Manual Ver 3 3 Mar 2015 PMH 009 33 Page PIO D144 D168 Series Card 144 168 channel DIO Board Table 4 2 PIO DIO 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 DIO Series Classic Driver PIO_DIO_Win__vxxx exe CD ROM CD NAPDOS PCI PISO DIO DLL_OCX Driver http ftp icodas com pub cd iocard pci napdos pci pio dio dll ocx driver For detailed information about the PIO DIO series classic driver installation please refer to PIO DIO series classic driver DLL Software Manual Sen The user manual is contained in CD NAPDOS PCI PISO DIO Manual http ftp icodas com pub cd iocard pci napdos pci pio dio dll ocx driver Procedure 4 2 PnP Driver Installation Power off the computer and install the PIO D144 D168 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 hard
20. O Val OU qa ep Y oO o ri m F FT ml T e ep po CU O cO O O ER CO SE T 0 0 o si lt F i ion Configurat 2 1 Board Layout PIO D144 D168 O GA Gei 4 O a O PIO D144 000000 000 000000 000 000 Q O00000 QQ O00000 FeV Fre Japeay xoq uld gg CN7 000000 000 000000 000000 COVE CP GGG 0000 CVU CUD Japeay xoq uld 9g CN6 000000 000 000000 000000 000000 000 000000 000000 Japeay xoq u d 0s CN5 000000 0009 0000 CO 000000 000 00 4000 COVE FP COV CE CN4 Japeay xoq uid Os C dd Ar PO COVE CO PPPE 000000 000 000000 000 000 CN3 Japeay xoq u d 0s 000000000000000 000000 000000000000000 000000 Japeay xoq uld 9g CN2 PIO D168 RETTET PCI Bus Lead PIO D144U D168U O GA Xe Ea O a O PIO D144U 000000 000 000000 000 000 400040040 000 CCVE FP CVV AG AG Japeay xoq u d 0s CN7 000000000000000 000000 0000 GGG 0000 GGG CUD Japeay xoq uid Os CN6 9400000 PPF CCV OO 000000 00000 GGG 000 PO 000000 Japeay xoq u d 0s CN5 00000 000 0000 CO 000000 0000 GO 4000 COVE OO COV CE CN4 Japeay xoq u d 0s Crore 40009 0004040 000000 000000 000 000000 000 000 CN3 Japeay xoq u d 0s 94000009
21. PIO D144 D168 Series Card User Manual 144 168 channel DIO board Version 3 3 Mar 2015 PIO D144 D168 Series Card 144 168 channel DIO Board TABLE OF CONTENTS 1 NONNE 3 1 1 MINN 4 1 2 TU EEE E E 5 1 3 sP Pe TIONS ENER EEE EEE EEE EE 6 1 3 1 PEX D144LS PIO D144LU PIO D144U and PIO D144 6 1 3 2 PIO D168U and PIO D168 encolado ice 7 2 HARDWARE CONFIGURATIONN 8 2 1 ee Ee EE 8 2 2 I O PORT LOCATION ssssseossnesssensssenssennssnrestrrosttrosttt esett s ttt settes tt oett oett eSEE PSE EPSE EEPS PEEPS EEOSE EEPSE EPSE EESE EES eeens e eneee eene 10 2 3 aD KG aras E EEE sunsu ns 12 2 4 MINN NNN 13 2 4 1 PiO D A24DI22U DT221U DIeGS 0D1eG U rr 13 2 4 2 O DI anna uu u i u u i 14 2 5 EMI NN 15 2 6 NO ENE NN 16 2 7 MN NN 17 3 HARDWARE INSTALLATION sed 18 4 SOFTWARE INSTALLATION Leren 22 4 1 OBTAINING INSTALUNG THE DRIVER INSTALLER PACKAGE iia 22 4 2 PORN NN 23 4 3 ENN 24 4 3 1 How do I get into Windows Device Manager rvnrrrrrnnnrrnnnnnrnnnnnnrnnnnnsrnnnnnvnnnnnnernnnnvennnenvnnnnnsennnnnrennnenennnnesennnneeee 24 a o ee EE 26 5 TESTING PIO D144 D168 SERIES CARD 27 5 1 A a E nee 27 5 1 1 PIO D
22. System Properties dialog box m Microsoft Windows 2003 Step 1 Click Start gt point to Administrative Tools and then click Computer Management Step2 From System Tools in the console tree click Device Manager Administrator J Manage Your Server EI My Computer Command Prompt vg Control Panel pe Samer TONE E Certification Authority Cluster Administrator E Component Services E Windows Explorer ES Printers and Faxes e Wize kama SS Mange Computer Management Help and Support gt Lonrigure tau User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 24 PIO D144 D168 Series Card 144 168 channel DIO Board m Microsoft Windows Vista 7 Step 1 Click Start button and then click Control Panel Step 2 Click System and Maintenance and then click Device Manager Alternatively Control Panel 3 Step 1 Click Start button al Device Manager Step 2 In the Search field type ae View devices and printers Device Manager and the press El Update device drivers Enter P See more results device manager ade Note that Administrator privileges are required for this operation If you are prompted for an administrator password or confirmation type the password or provide confirmation Disk Management m Microsoft Windows 8 Step 1 To display the Start screen icon from Computer Management the desk
23. amp A 2 a Hi 2 39 I Se Ge i oo e eS Q wll Ole 33 Pul High 3 S Pull High 3 S Pul High S Pul High S S COM1 Pull High eea egg a e Ge a 50 pin L PCI Bus W PEX D144LS PEX D144LS O Pull Low JP12 EN SWI CON2 o Pull Low Sw Pull High A4 a JP9 EN 3 Pull Low 1234 e Y j Pull High JP11 Sn o o E oo Pull Low S Pull Low GERS JEM Pull Low Sa QIN JP8 Ze PulkHigh SL Buin 3 o o JP16 e v JP10 Om JP13 DN Sl Pul High 2 Hi i O y E2 PulkLow amp Pull High Pull High We Oo N a or Pull Low oo Pull L OD Pull High JP6 Op Pull Low aS QD u OW e e e a O S Pull Low Sko Pull High a o o JP17 on Op JP14 Glo o Oj w JP3 Go Pull High ar PulkLow 2 leal Pul kigh SH JPS eN Pul Hgh x gt o PullLow co Pull High loo O IN i Clo o JP2 Le Pull High Ol Pull Low Pull Low ng Pull pow JP4 on q 22 OS Pull Low Ga Pull High PLP lee re a PI en Pull High Se Pull High PO s PCI Express A Note JPx Default Setting Pull Low N Pull High JP1 284 5 6 7 9 10 11 12 13 14 15 16 17 18 1 2 short Pull Low Note JPx Default Setting Pull Low N Pull High JP1 2 3 A 5 6 7 9 10 11 12 13 14 15 16 17 18 1 2 short Pull Low User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 9 PIO D144 D168 Series Card 144 168 channel
24. cable connectors and one 37 pin connector e PEX D144LS One SCSI II 100 pin connector and one 5 pin flat cable connector e PIO D144 D144U D144LU DIO response time is about 1 us 1MHz e PEX D144LS DIO response time is about 500 kHz PIO D168 D168U e Support the 5V PCI bus for PIO D168 e Support the 3 3 5 V PCI bus for PIO D168U e 168 channels of digital I O e 21 8 bit bi direction I O ports e Card ID function for D168U e Six 50 pin flat cable connectors and one 37 pin connector e DIO response time is about 1 us 1MHz Common Functions e Bi direction programmable I O ports under software control e 4 Interrupt source P2CO P2C1 P2C2 P2C3 e Output status Readback function e Connects directly to DB 24P DB 24R DB 24PR DB 24SSR DB 24POR any other OPTO 22 Compatible daughter boards e Double side SMT short card power saving 144 168 channel DIO Board 1 3 Specifications 1 3 1 PEX D144LS PIO D144LU PIO D144U and PIO D144 Model Name PEX D144LS PIO D144LU PIO D144U PIO D144 Programmable Digital I O Digital Input Compatibility 5 V CMOS 5 V TTL Logic 0 0 8 V max Input Voltage Logic 1 2 0 V min Response Speed 500 kHz 1 MHz Digital Output 5 V CMOS 5 V TTL Logic 0 0 1 V max Logic 0 0 4 V max Logic 1 4 4 V min Logic 1 2 4 V min Sink 6 mA 0 33 V Sink 64mA 0 8 V Source 6 mA 4 77 V Source 32 mA 2 0 V 500 kHz 1 MHz Compatibility Output Voltage Output Capabil
25. can send receive digital data to from this register for digital input or output Note that all ports are set as DI ports when the PC is first powered on For example outportb wBase 0xc0 Val write to DO Port0 Val inportb wBase 0xc0 read from DI Port0 or read a DO Readback Note Ensure that the I O port configuration is set to either DI or DO before attempting to read write from the to data register Refer to Sec 6 3 9 6 3 8 Active I O Port Control Register Read Write wBase 0xc4 or pe os m m o m mo The PIO D144 D168 series contains 18 21 8 bit I O ports but only one I O port can be activated at a time The following example is a demonstration of how to activate the port of the PIO series card For example outportb wBase 0xc4 0 1 0 port0 is now active outportb wBase 0xc4 1 1 0 port1 is now active outportb wBase 0xc4 17 1 0 port17 is now active outportb wBase 0xc4 20 1 0 port20 is now active User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 41 PIO D144 D168 Series Card 144 168 channel DIO Board 6 3 9 I O Selection Control Register Write wBase 0xc8 To o Pon rons vona ponz pori Pono Write wBase 0xcc a o rons romo rono vona ron rons Write wBase 0xd0 o o omr rors poms mora Poma Porz Write wBase 0xd4 a o o o o oo pos roms Port 1 gt This port is used as a DI port Por
26. find and identify card_0 and card_1 is demonstrated below The simplest way to identify which card is card 0 is to use wSlotBus and wSlotDevice in the following manner Step 1 Remove all PIO D144 D168 series boards from the PC Step 2 Install one PIO D144 D168 series into the PC s PCI_slot1 run PIO_PISO EXE Then record the wSlotBus1 and wSlotDevice1 information Step 3 Remove all PIO D144 D168 series boards from the PC Step 4 Install one PIO D144 D168 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 6 3 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 0x07 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 35 PIO D144 D168 Series Card 144 168 channel DIO 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 6 3 Step2 Enter the board number into PIO_GetConfigAddressSpace function to get the in
27. formation 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 A Note that normally the card installed in slot 0 is card0 and the card installed in slot1 is card1 for PIO PISO series cards User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 36 PIO D144 D168 Series Card 144 168 channel DIO Board 6 3 The I O Address Map The I O address for PIO D144 D168 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 Play BIOS will effectively perform the assignment of proper I O addresses to each PIO D144 D168 series card The I O address for the PIO D144 D168 series card are given in the table below all of which are based on the base address of each card Table 6 4 Refer to Sec 6 1 for more information about wBase Address Read Write wBase 0 RESETN Control Register wBase 3 Aux data register Aux data register wBase 5 INT mask control register wBase 7 Reserved wBase 0x2a INT polarity control register Read DO Readback wBase 0xc0 Write 8 bit data to the DO port Read 8 bit data from the DI port wBase 0xd0 I O Port 12 17 direction control I O Port 18 20 direction control wBase 0xd4 Reserved for PIO D168 Series only User Manual Ver 3 3 Mar 2
28. ital output and is activated right away I O Select Sec 6 3 9 RESET Sec 6 3 1 Data Input Disable Sec 6 3 7 gt gt Clock Input Latch D I Latch CKT Disable Data lt Buffer Sec 6 3 7 Clock Input Input D I Buffer CKT D I O Figure 2 3 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 16 PIO D144 D168 Series Card 144 168 channel DIO Board 2 7 Interrupt Operation The P2C0 P2C1 P2C2 and P2C3 interrupts pins of the CN1 connector can be used as interrupt signal source Refer to Sec 2 1 and Sec 2 4 for P2C0 P2C1 P2C2 P2C3 location The interrupt of PIO D144 and PIO d168 series is level trigger and Active High The interrupt signal can be programmable as inverted or non inverted The procedures for how to configure the interrupt signal source are given as follows Make sure the initial level is high or Low from the signal source 2 If the initial state is High please select the inverted setting for interrupt signal source Sec 6 3 6 If the initial state is Low please select the non inverted setting for interrupt signal source Sec 6 3 6 3 Enable the interrupt function Sec 6 3 4 4 If the interrupt signal is active the interrupt service routine will be started up Note that DEMO3 C and DEMO4 C are demo programs for a single interrupt source and DEMOS C is the demo program for four interrupt sources in the DOS operating system If only one interrupt
29. ity Response Speed 3 3 V 5 V Universal PCI 32 bit 33 MHz 8 bit 5 V PCI 32 bit 33 MHz PCI Express x 1 Bus Type Data Bus Card ID O Yes 4 bit Female SCSI II 100 pin x 1 Female DB37 x 1 50 pin box header x 1 162 mm x 100 mm x 22 I O Connector 50 pin box header x 5 Dimensions Lx W x D 180 mm x 105 mm x 22mm mm 600 mA 5 V 0 60 C 20 70 C Power Consumption Operating Temperature Storage Temperature Humidity 5 85 RH non condensing User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 6 144 168 channel DIO Board 1 3 2 PIO D168U and PIO D168 Model Name PIO D168 PIO D168U Programmable Digital I O Channels 168 Digital Input Compatibility 5 V TTL Logic 0 0 8 V max Logic 1 2 0 V min 1 MHz Input Voltage Response Speed Digital Output Compatibility 5 V TTL Logic 0 0 4 V max Output Voltage Logic 1 2 4 V min Sink 64mA 0 8 V Output Capability Source 32 mA 2 0 V Response Speed 3 3 V 5 V Universal PCI 32 bit 33 Bus Type 5 V PCI 32 bit 33 MHz Z Data Bus Card ID we Yes 4 bit Female DB37 x 1 I O Connector 50 pin box header x 6 200 mm x 105 mm x 22mm 1300 mA 5 V O 60 C 20 70 C Dimensions L x W x D Power Consumption Operating Temperature Storage Temperature Humidity 5 85 RH non condensing User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 7 Lo U
30. kage 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 E Demo Program for PIO DIO Series Classic Driver The demo program is contained in CD NAPDOS PCI PIO DIO DLL_OCX Demo http ftp icodas com pub cd iocard pci napdos pci pio dio dll ocx demo BCB4 gt for Borland C Builder 4 Delphi4 gt for Delphi 4 PIODIO H gt Header files PIODIO PAS gt Declaration files PIODIO LIB gt Linkage library for BCB only VC6 gt forVisualC 6 VB6 gt for Visual Basic 6 PIODIO H gt Header files PIODIO BAS gt Declaration files PIODIO LIB gt Linkage library for VC only VB NET2005 gt for VB NET2005 CSharp2005 gt for CH NET2005 PIODIO vb gt Visual Basic Source files PIODIO cs gt Visual CH Source files For detailed information about the DLL function of the PIO D144 D168 series please refer to PIO DIO DLL Software Manual CD NAPDOS PCI PIO DIOVManual FG User Manual Ver 3 YMar 2015 PMH 009 33 Page 44 PIO D144 D168 Series Card 144 168 channel DIO Board E 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 unidag dll demo BCB6 gt for Borland C Builder 6 Delphi6 gt for
31. o Chapter 3 Hardware Installation and Chapter 4 Software Installation 5 1 Self Test Wiring 5 1 1 PIO D144 D144U D144LU and PIO D168 D168U mM Preparing the device Before beginning the self test ensure that the following items are available M A CA 3710 optional cable M A DN 37 optional terminal board Step 1 Use the DN 37 optional to connect the CN1 on the board 90000 00000000000000 OOO0000000000000006 User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 27 PIO D144 D168 Series Card 144 168 channel DIO Board Step 2 Connect the Port0 PAO PA7 with Port1 PB0 PB7 20 24 22 23 24 25 26 27 28 29 30 31 32 33 10 11 12 13 14 15 16 17 18 i 5 1 2 PEX D144LS mM Preparing the device Before beginning the self test ensure that the following items are available M A CA SCSI100 15 optional cable M A DN 100 optional terminal board Step 1 Use DN 100 wiring terminal board optional to connect the CON1 on the PEX D144LS card User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 28 PIO D144 D168 Series Card 144 168 channel DIO Board Step 2 Connect the Port0 PA00 PA07 with Port1 PB00 PB07 FG 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 NG 5 2 Execute the Test Program The following example use UniDAQ driver to perform self test If you install the PIO DIO series classic driver please refer to Quick Start Guide of the PIO
32. oc PIO D144 D168 Series Card 144 168 channel DIO Board A7 Daughter Boards Comparison Table Table A7 1 is the comparison table for the daughter application of PIO PISO series cards Table A7 1 PIO D144 PIO D144 PIO D144U PIO D144U PIO D144LU I O Card PIO D144LU PEX D144LS PEX D144LS PIO D168 PIO D168 PIO D168U PIO D168U Cable 20 Pin 50 Pin 37 Pin 100 Pin Daughter Boards Flat Cable Flat Cable D sub SCSI II DB 37 NO NO Yes NO DN 37 NO NO Yes NO ADP 37 PCI NO Yes Yes NO ADP 50 PCI NO Yes NO NO DB 24P NO Yes NO NO DB 24PD NO Yes Yes NO DB 16P8R NO Yes Yes NO DB 24R NO Yes NO NO DB 24RD NO Yes Yes NO DB 24C Yes Yes Yes NO DB 24PR Yes Yes NO NO DB 24PRD NO Yes Yes NO DB 24POR Yes Yes Yes NO DB 24SSR NO Yes Yes NO DN 100 NO NO NO Yes User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 52
33. ort14 pull high low by JP15 PCO PC7 Port2 pull high low by JP3 PC40 PC47 PA10 PA17 Port3 pull high low by JP4 PA50 PA57 Port15 pull high low by JP16 Port16 pull high low by JP17 PB10 PB17 PB50 PB57 PC10 PC17 PC50 PC57 Port17 pull high low by JP18 Refer to Sec 2 1 for the board layout and I O port locations Note that each P2C0 P2C1 P2C2 and P2C3 can be used as an interrupt signal source Refer to Sec 2 7 for more information User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 11 PIO D144 D168 Series Card 144 168 channel DIO Board 2 3 Card ID Switch The PIO D144U D144LU PEX D144LS and PIO D168U cards has a Card ID switch SW1 with which users can recognize the board by the ID via software when using two or more PIO D144U D144LU PEX D144LS and PIO D168U cards in one computer The default Card ID is 0x0 For detail SW1 Card ID settings please refer to Table 2 4 Default Settings Table 2 4 Default Settings OFF gt 1 ON 30 1 2 3 4 Card ID Hex ID3 me om O o om gt ox Or om O O gt o2 om Or om om gt OS om Or om om gt mm om om Or om ml Or O or Oo _ x o om Or om om ml Or Or Or om _ PIO D144 D168 Series Card 144 168 channel DIO Board 2 4 Pin Assignments 2 4 1 PIO D144 D144U D144LU D168 D168U MH CN1 37 pin D type female connector for PortO to Port2 E CN2 CN3 CN4 CN5 CN6 CN7 50
34. placement for the PIO D144 and PIO D168 without requiring any modification to the software or the driver The PIO D144 L U D168U universal PCI card supports 3 3 V 5 V PCI bus while the PEX D144LS supports PCI Express bus These cards provide 144 168 TTL Digital I O lines that consist of 18 21 8 bit bi directional ports Each group of three 8 bit ports is arranged on the connector as Port A PA Port B PB and Port C PC respectively and all ports are configured as inputs ports on power up or after a reset The PEX D144LS provides a high density connector that reduces the amount of installation space required for the card in the computer The PIO D144 L U D168U and PEX D144LS cards include an onboard Card ID switch that enables the board to be recognized via software if two or more boards are installed in the same computer The PIO D144LU and PEX D144LS also adds pull high low jumpers allow the DI status to be predefined instead of remaining floating if the DI channels are disconnected or interrupted These cards support various OS versions such as Linux DOS Windows 98 NT 2000 and 32 bit 64 bit Windows XP 2003 Vista 7 8 DLL and Active X control together with various language sample programs 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 quickly and easily develop their own applications User Manual Ver 3
35. r has to perform some initialization before using these digital I O ports The recommended steps are given below Step 1 Find the address mapping for PIO PISO cards Refer to Sec 6 1 Step 2 Enable all Digital I O operations Refer to Sec 6 3 1 Step 3 Select the controlled port Refer to Sec 6 3 8 Step 4 Send initial value to the D O latch register for the controlled port Refer to Sec Sec 2 6 and Sec 6 3 7 Step 5 Repeat Steps 3 and 4 to initialize the other D O ports Step 6 Configure all digital I O ports to their expected D I or D O function Refer to Sec 6 3 9 A For more information on the initial procedure for digital I O ports please refer to the DIO demo program User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 15 PIO D144 D168 Series Card 144 168 channel DIO Board 2 6 DI O Architecture The digital I O control architecture for the PIO D144 D168 series is demonstrated in Figure 2 3 The operation method used for the control signal is presented below e RESET is in the Low state gt all DI O operation is disabled e RESET is in the High state gt all DI O operation is enabled e If DI O is configured as a D I port gt DI external input signal e If DI O is configured as a D O port gt DI read back DO If the DI O is configured as a DI port gt sending data to a Digital input port will only change the DO latch register The latched data will be output when the port is configured as dig
36. refer to Chapter 4 Software Installation Step 2 Configuring the Card ID by the SW1 DIP Switch For detailed information about the card ID SW1 please refer to Sec 2 3 Car ID Switch Note that Card ID function is only supported by the PIO D144U D144LU PEX D144LS and PIO D168U User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 18 PIO D144 D168 Series Card 144 168 channel DIO Board Step 3 Correctly shut down and power off your computer and then disconnect the power supply Step 4 Remove the cover from the computer Step 5 Select an empty PCI PCI Express slot PE p A User Manual Ver 3 YMar 2015 PMH 009 33 Page 19 PIO D144 D168 Series Card 144 168 channel DIO Board Step 6 Remove the screw holding the cover for the PCI PCI Express slot in place and then remove the slot cover from the PC Ensure that you do not misplace the screw Step 7 Remove the connector cover form the PIO D144 D168 series card Step 8 Align the contacts of the PCI PCI Express card with the open slot on your motherboard and carefully insert your PIO D144 D168 series card into the PCI PCI Express slot User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 20 PIO D144 D168 Series Card 144 168 channel DIO Board Step 9 Screw the mounting bracket screw removed in step 5 into the new PCI PCI Express card bracket to secure the card in place Confirm that the PIO D144 D168 series card is correctly
37. t 0 gt This port is used as a DO port These registers provide the function for configuring the digital input output ports of the PIO PISO series cards Each I O port can be programmed as a DI or a DO port Note that all ports are set as DI ports when the PC is first powered on For detailed information about the I O ports location please refer to Sec 2 2 For example outportb wBase 0xc8 0 PortO to Port5 are all DO ports h outportb wBase 0xcc 0x3f Port6 to Port11 are all DI ports SE outportb wBase 0xd0 0x38 Port12 to Port14 are all DO ports Port15 to Port17 are all Dl ports User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 42 PIO D144 D168 Series Card 144 168 channel DIO Board 6 3 10 Card ID Register Lal wBase 0xf0 oer me ms ma ms mz ma oo For example wCardID inportb wBase 0xf0 read Card ID Ai The Card ID function is only supported by the PIO D144U D144LU PEX D144 and PIO D168U User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 43 PIO D144 D168 Series Card 144 168 channel DIO Board no Programs 7 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 pac
38. top view simply hover the mouse Command Prompt cursor over the bottom left corner of screen Be THe A Step 2 Right click the Start screen icon then Task Manager I u click Device Manager Cono P Windows Explorer Search Alternatively press Windows Key X to EE open the Start Menu and select Device Desktop Manager from the options list Right click PIO D144 D168 Series Card 144 168 channel DIO Board 4 3 2 Check that the Installation Check the PIO D144 D168 series card which listed correctly or not as illustrated below Es Device Manager File Action View Help CU ep Disk drives EN Display adapters HEA DYDICD ROM drives H Floppy disk controllers 42 IDE ATAJATAPI controllers ho Keyboards Ze Mice and other pointing devices Installation successful 2 Monitors B Network adapters GC W Ports COM amp LPT E Processors EJ Sound video and game controllers fo System devices ab Universal Serial Bus controllers User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 26 PIO D144 D168 Series Card 144 168 channel DIO Board 5 Testing PlO D144 D168 Series Card This chapter can give you the detail steps about self test In this way user can confirm that PIO D144 D168 series cards 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 t
39. ware If a problem is encountered during installation refer to the PnPinstall pdf file for more information User Manual Ver 3 3 Mar 2015 PMH 009 33 Page 23 PIO D144 D168 Series Card 144 168 channel DIO Board 4 3 Verifying the Installation To verify the installation use the Windows Device Manager to view and update the device drivers installed on your computer and check to ensure that hardware is operating correctly The following is a description of how access the Device Manager in each of the major versions of Windows Refer to the appropriate description for your specific operating system to verify the installation 4 3 1 How do get into Windows Device Manager m Microsoft Windows 95 98 ME Step 1 On the desktop right click on My Computer and click Properties or open the Control Panel and double click the System icon System Properties Step2 Click the Device Manager tab System Restore General m Microsoft Windows 2000 XP E Step 1 Click Start gt then point to The Add Hardware Wizard helps vou install hardware Settings and click gt Control Panel Double click the System icon to open Device Manager Ce The Device Manager lists all the hardware devices installed on Your computer Use the Device Manager to change the properties of any device Step 2 Click the Hardware tab and then click the Device Manager button the
Download Pdf Manuals
Related Search
Related Contents
VCC-XZ600 - Psn Nostalgia Electrics CFF-965 Use and Care Manual Final report - Chair of Software Engineering Surftest SJ-400 Series - D&S Machined Products User manual - Leks Group LCD TV - Planar 立ち読み版はこちら MultiSIM Circuits to Accompany ネットワーク機能 取扱説明書 Elixir 1GB DDR2 SDRAM Unbuffered DIMM Copyright © All rights reserved.
Failed to retrieve file