8 channel digital input and 8 channel digital output data acquisition module with 32-bit counters (8 pages)
Summary of Contents for ICP DAS USA PIO-D144 Series
Page 1
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru PI O- D 1 4 4 / D 1 4 4 U PI O- D 1 6 8 / D 1 6 8 U Ve r sion 3 .0 Use r M a n u a l N ove m be r 2 0 1 0 W a r r a n t y...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Ta ble s of Con t e n t s INTRODUCTION ..........................4 ..........................5 PECIFICATIONS 1.1.1 PIO-D144/PIO-D144U ......................5 1.1.2 PIO-D168/PIO-D168U ......................6 ...........................7 EATURES ........................7 RODUCT HECK HARDWARE CONFIGURATION ....................8 ..........................8 OARD AYOUT...
Page 3
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.3.7 Read/Write 8-bit Data Register ...................31 3.3.8 Active I/O Port Control Register ..................32 3.3.9 I/O Selection Control Register.....................32 3.3.10 Read Card ID Register ....................33 SOFTWARE INSTALLATION .....................34 ..................34 OFTWARE NSTALLING...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1. Introduction The PIO-D144U/D168U card is a new generation product provided by ICP DAS to meet RoHS compliance requirements. The new PIO-D144U/D168U card is designed as a drop-in replacement for the PIO-D144/D168, and users can directly replace the PIO-D144/D168 with the PIO-D144U/D168U without the need for software/driver modification.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Specifications 1.1.1 PIO-D144/PIO-D144U Model Name PIO-D144 PIO-D144U Programmable Digital I/O Channels Digital Input Compatibility 5 V/TTL Logic 0: 0.8 V max. Input Voltage Logic 1: 2.0 V min. Response Speed 1.2 MHz (Typical) Digital Output...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.1.2 PIO-D168/PIO-D168U Model Name PIO-D168 PIO-D168U Programmable Digital I/O Channels Digital Input Compatibility 5 V/TTL Logic 0: 0.8 V max. Input Voltage Logic 1: 2.0 V min. Response Speed 1.2 MHz (Typical) Digital Output...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Features Supports the +5 V PCI bus for PIO-D144/D168. Supports the +3.3 V/+5 V PCI bus for PIO-D144U/D168U. PIO-D144(U): Five 50-pin flat cable connectors and one 37-pin connector. PIO-D168(U): Six 50-pin flat cable connectors and one 37-pin connector.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2. Hardware Configuration Hardware Configuration Board Layout Board Layout The board layout of the PIO-D144/D168 series cards are shown below: Only PIO-D168 Port 0 Port 3 Port 6 Port 9 Port 12 Port 15...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru I/O 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 D/I or D/O port. When the PC is first powered-on, all ports are set as Digital input ports.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Pin Assignments The Pin assignments for all PIO-D144/D168 series connectors are listed in Tables 2.2 and 2.3. All signal sources for each digital input or output pin (channel) are TTL compatible.
Page 11
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Table 2.2 CN1: 37-PIN D-type female connector for Port0~Port2 Description Description Number Number N. C. N. C. P1B7 P2C7 P1B6 P2C6 P1B5 P2C5 P1B4 P2C4 P1B3 P2C3 P1B2 P2C2 P1B1...
Page 12
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Table 2.3 CN2/3/4/5/6/7: 50-PIN of flat-cable connector for Port3~Port20 Description Description Number Number P5C7/ P8C7/ P11C7/ P14C7/ P17C7/ P20C7 P5C6/ P8C6/ P11C6/ P14C6/ P17C6/ P20C6 P5C5/ P8C5/ P11C5/ P14C5/ P17C5/ P20C5 P5C4/ P8C4/ P11C4/ P14C4/ P17C4/ P20C4 P5C3/ P8C3/ P11C3/ P14C3/ P17C3/ P20C3 P5C2/ P8C2/ P11C2/ P14C2/ P17C2/ P20C2...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Enable I/O Operation When the PC is first powered-on, the operations of all digital I/O channels for each port are disabled. Note that the digital I/O channel for each port is enabled or disabled using the RESET\ signal.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru D/I/O Architecture The digital I/O control architecture for the PIO-D144/D168 series is illustrated in Figure 2.2. The operation method of control signal is described below. When the RESET\ signal is in the Low-state, if means that all D/I/O operations are disabled.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Interrupt Operation The P2C0, P2C1, P2C2 and P2C3 interrupts pins of the CN1 connector can be used as an interrupt signal source. Refer to Sec. 2.1 for the location of the P2C0/P2C1/P2C2/P2C3 pins.
Page 16
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Read the new status of the interrupt signal source Compare the new status with the old status to identify the active signals If P2C0 is active, service P2C0 and non-inverter/inverted as the P2C0 signal If P2C1 is active, service P2C1 and non-inverted/inverted as the P2C1 signal...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Daughter Boards 2.7.1 DB-37 The DB-37 is a general-purpose daughter board for D-sub 37-pin devices, and is designed for easy wiring. Figure 2.5 2.7.2 DN-37 and DN-50 The DN-37 is a general-purpose daughter board for the DB-37 using DIN-Rail Mounting.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.7.3 DB-8125 The DB-8125 is a general-purpose screw terminal board and is designed for easy wiring. The DB-8125 uses a single DB-37 header and two 20-pin flat-cable headers.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.7.5 DB-24P, DB-24PD Isolated Input Board The DB-24P is a 24-channel isolated digital input daughter board. The optically isolated inputs of the DB-24P consist of a bi-directional optocoupler with a resistor for current sensing.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.7.6 DB-24R, DB-24RD Relay Board The DB-24R is a 24-channel relay output board consisting of 24 Form-C relays for efficient programmable control of the load switching. The relays are powered by applying a 12 V/24 V voltage signal to the appropriate relay channel on the 50-pin flat-cable connector.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.7.7 DB-24PR, DB-24POR, DB-24C Table 2.7 DB-24PR 24 × Power relay, 5 A/250 V DB-24POR 24 × Photo MOS relay, 0.1 A/350 V DB-24C 24 × Open Collector, 100 mA per channel, 30 V max. The DB-24PR is a 24-channel power relay output board consisting of 8 Form-C and 16 Form-A electromechanical relays for efficient programmable control of the load switching.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.7.8 Daughter Board Comparison Table Table 2.9 lists a comparison for the daughter board applications using PIO/PISO series cards. Table 2.9 20-pin flat-cable 50-pin flat-cable D-sub 37-pin DB-37 DN-37 ADP-37/PCI...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3. I/O Control Register I/O Control Register 3.1 How to Find the I/O Address 3.1 How to Find the I/O Address The Plug & Play BIOS will assign an appropriate I/O address to each PIO/PISO series card during the power-on stage.
Page 24
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The PIO_PISO.EXE utility program will detect and present all information for PIO/PISO cards installed in the PC, as shown in the following figure. Details of how to identify the PIO series cards of ICPDAS data acquisition boards based on the Sub-vendor, Sub-device and Sub-Aux ID are given in Table 3-1.
Page 25
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Table 3-1 PIO/PISO series Sub_sendor Sub_device Sub_aux Description card PIO-D168(U) 168 * DIO 9880 PIO-D168A 168 * DIO PIO-D144(REV4.0) 144 * D/I/O 80 (5C80) PIO-D96 96 * D/I/O PIO-D64 (REV2.0) 64 * D/I/O 80 (4080)
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.2 The Assignment of I/O Addresses The Plug & Play BIOS will assign an appropriate I/O address to the PIO/PISO series card. If there is only one PIO/PISO board, the board will be identified as card_0.
Page 27
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The records may be similar to the following table: Table 3-2 PC’s PCI slot wSlotBus wSlotDevice Slot_1 0x07 Slot_2 0x08 Slot_3 0x09 Slot_4 0x0A PCI-BRIDGE Slot_5 0x0A Slot_6 0x08 Slot_7...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.3 The I/O Address Map The I/O address of the PIO/PISO series card is automatically assigned by the main board ROM BIOS. The I/O address can also be re-assigned by the user, but It is strongly recommended that the I/O address is not changed by user.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.3.1 RESET\ Control Register (Write): wBase+0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved Reserved Reserved Reserved Reserved Reserved Reserved RESET\ When the PC is first powered-on, the RESET\ signal is in the Low-state.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.3.4 INT Mask Control Register (Write): wBase+5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EN0=0 Disable P2C0 of the CN1 as an interrupt signal (Default). EN0=1 Enable P2C0 of the CN1 as an interrupt signal out p( wBase+ 5,0) ;...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.3.6 Interrupt Polarity Control Register (Write): wBase+0x2a Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 INV3 INV2 INV1 INV0 This register provides a function that is used to control whether the interrupt signal source is inverted or non-inverted.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3.3.8 Active I/O Port Control Register (Read/Write): wBase+0xc4 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 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.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 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 either a D/I or a D/O port. Note that all ports are set as D/I ports when the PC is first powered-on.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 4. Software Installation Installation The PIO-D144 and PIO-D168 series can be used in DOS and Windows The PIO-D144 and PIO-D168 series can be used in DOS and Windows 98/ME/NT/2K and 32-bit/64-bit Windows XP/2003/Vista/7.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 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.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 4.3 Confirm the Successful Installation Make sure the PIO-D144 and PIO-D168 series card installed are correct on the computer as follows: Step 1: Select “Start” “Control Panel” and then double click the “System” icon on Windows.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5. Demo Programs for Windows None of the demo programs will function correctly if the DLL driver is not properly installed. During the DLL driver installation process, the Install Shield software will register the correct kernel driver to the operating 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-bit Windows...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Appendix Appendix Appendix A. Related DOS Software Appendix A. Related DOS Software Where is the related software The related DOS software and demos are located on the CD as below: CD:\NAPDOS\PCI\PIO-DIO\dos\ http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/pio-dio/dos/ TC\*.*...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru DOS LIB Functions A2-1. ErrorCode and ErrorString Code Table Table A.1 Error Error ID Error String Code NoError OK (No error) Driver HandleError Error opening the device driver An error occurred while calling the driver DriverCallError functions...
Page 40
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru A2-3. PIO_GetConfigAddressSpace Description: This function can be used to save the resource information all PIO/PISO cards installed in the system. The application program can then control all the functions of the PIO/PISO series card directly. Syntax: WORD PIO_GetConfigAddressSpace(wBoardNo,*wBase,*wIrq, wSubVendor, *wSubDevice, *wSubAux, *wSlotBus, *wSlotDevice)
Page 41
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru A2-5. ShowPIOPISO Description: This function can be used to display a text string indicating the special Sub_ID. This text string is the same as that defined in PIO.H. Syntax: WORD ShowPIOPISO(wSubVendor, wSubDevice, wSubAux) Parameters:...