background image

 

P8R8-DIO 

 

P16R16-DIO 

 

 

 

 

User Manual

 

Version 1.7 

 

Oct. 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 © 2011 by ICP DAS. All rights are reserved. 

 

Trademark 

 

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

 

P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)   

 

1

 

Содержание P8R8-DIO

Страница 1: ... 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 2011 by ICP DAS All rights are reserved Trademark Names are used for identification only a...

Страница 2: ...R8 DIO PROGRAMMING 13 3 1 I O ADDRESS MAP 13 3 2 RELAY OUTPUT 14 3 2 1 Output Register 14 3 2 2 Using Relay Output 15 3 3 ISOLATED INPUT 16 3 3 1 Input Register 16 3 3 2 Using Isolated Input 17 4 P16R16 DIO SPECIFICATIONS 18 5 P16R16 DIO INSTALLATION 19 5 1 UNPACKING 19 5 2 P16R16 DIO LAYOUT 20 5 3 SW1 AND JUMPER SETTING 20 5 3 1 Base Address Setting 20 5 3 2 Jumper Setting 24 5 4 PIN ASSIGNMENTS ...

Страница 3: ...31 6 3 1 Input Register 31 6 3 2 Using Isolated Input 32 7 TROUBLESHOOTING 33 7 1 PROBLEM ISOLATED 33 8 SOFTWARE HARDWARE INSTALLATION 34 8 1 SOFTWARE INSTALLING PROCEDURE 34 8 2 HARDWARE INSTALLING PROCEDURE 35 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 3 ...

Страница 4: ... This interface board is easily installed in any PC AT XT or compatible computer The P8R8 DIO P16R16 DIO provides 8 16 electromechanical relay outputs and 8 16 optically isolated inputs The P8R8 DIO P16R16 DIO can be used in various applications including load switching external switching contact closure etc 1 1 Features and Applications 1 1 Features and Applications 1 1 1 Features 8 relay outputs...

Страница 5: ...ial information is given in the Quick Start Guide including Where to get the software driver demo programs and other resources How to install the software 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 P8R8 DIO ...

Страница 6: ...PDT 4 SPST Channels 8 Contact Rating 0 3 A 120 VAC VDC 1 A 30 VDC Operating Time 5 ms typical Release Time 5 ms typical Insulation Resistance 100 MΩ Life Mechanical 100 000 ops min Electrical 100 000 at 1 A 30 V resistive General Environmental I O Connector Female DB37 x 1 Dimensions L x W x D 150 mm x 97 mm x 22 mm Power Consumption 160 mA 5 V max 150 mA 12 V max Operating Temperature 0 60 C Stor...

Страница 7: ...at 2 The user should wear an anti static wristband grounded at the same point as the anti static mat 3 Inspect the carton for obvious damage Shipping and handing may cause damage to the board Be sure there are no shipping and handling damages on the board before using 4 After opening the carton exact the system board and place it on a grounded anti static surface and component side up CAUTION Do n...

Страница 8: ...oard s jumpers are set at the factory Under normal circumstances you should not need to change the jumper settings 2 3 1 Base Address Setting The P8R8 DIO requires two consecutive I O addresses one for output and read back and the other for input You can set the base address on any 4 byte boundary using the DIP switch SW1 If you install one more P8R8 DIO boards you must set a different base addres...

Страница 9: ... Default Base Address 300 Hex For Example How to select 3 0 0 Hex OFF Æ 1 ON Æ 0 3 0 0 OFF OFF ON ON ON ON 1 1 0 0 0 0 1 A9 2 A8 3 A7 4 A6 5 A5 6 A4 The detail SW1 base addresses setting Please refer to P8R8DIO Base Address Table see Table 2 1 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 9 ...

Страница 10: ...FF 2C0 OFF ON OFF OFF ON ON 2D0 OFF ON OFF OFF ON OFF 2E0 OFF ON OFF OFF OFF ON 2F0 OFF ON OFF OFF OFF OFF 300 OFF OFF ON ON ON ON 310 OFF OFF ON ON ON OFF 320 OFF OFF ON ON OFF ON 330 OFF OFF ON ON OFF OFF 340 OFF OFF ON OFF ON ON 350 OFF OFF ON OFF ON OFF 360 OFF OFF ON OFF OFF ON 370 OFF OFF ON OFF OFF OFF 380 OFF OFF OFF ON ON ON 390 OFF OFF OFF ON ON OFF 3A0 OFF OFF OFF ON OFF ON 3B0 OFF OFF ...

Страница 11: ...nal Default Setting Jumper Input Channels JP1 DI 0 JP2 DI 1 JP3 DI 2 JP4 DI 3 JP5 DI 4 JP6 DI 5 JP7 DI 6 JP8 DI 7 Table 2 2 If you are using AC input signals you must short the AC FILTER jumper 1 2 If you are using DC input signals the AC FILTER is optional If the DC input signals response less than 20 μs set the filter off If you want a slow response about 5 10 ms for rejecting noise or contact b...

Страница 12: ... 8 18 7 6 5 4 3 2 1 DI 5 DI 4 DI 5 DI 7 DI 2 DI 1 DI 3 DI 4 DI 2 DI 3 COM 2 NO 7 DI 0 GND NO 5 CO M 5 COM 4 NO 3 NO 4 CON1 CO M 6 NO 6 NO 0 NC 0 NC 3 CO M 0 COM 3 NO 2 NC 1 COM 1 NO 1 19 DI 7 NC 2 DI 1 DI 0 CO M 7 DI 6 NO n Normally open COM n Common NC n Normally close DI n Digital input channel n P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 12 ...

Страница 13: ...nformation are also included 3 1 I O Address Map 3 1 I O Address Map The P8R8DIO boards occupy two consecutive addresses in the computer s I O space The base address is selected by DIP switch The I O map is shown in Table 3 1 Base Address at 300 Hex Address Write Read Base 0 Relay Output CH 0 CH 7 Read Back The Output Status Base 1 NO FUNCTION DIGITAL INPUT CH0 CH7 Table 3 1 I O Address Map P8R8 D...

Страница 14: ...D3 D2 D1 D0 Output Channel 7 6 5 4 3 2 1 0 Table 3 2 Relay Addresses in the Relay Output Register For Example Basic Language REM Set all relay output is ON Output data FFh Base h300 Set Base Address at 300 Hex Out Base hFF Set Relay Output Ch 0 Ch 7 On RB Inp Base Read Back Relay Output Ch 0 Ch 7 REM Set relay output CH 3 is ON Output data 8h 00001000 BIN Out Base h8 Set relay output CH 3 ON For C...

Страница 15: ...o Fig 3 1 P8R8DIO Relay NO COM Load AC DC Power Supply Figure 3 1 Heavy Loading Application 0 3 A Refer to Figure 3 2 AC DC Power Supply Power Relay Contact Heavy Loading P8R8DIO Relay Power Relay Figure 3 2 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 15 ...

Страница 16: ... to 0 represents a low state Register bits are assigned as shown in Table 3 3 3 3 1 Input Register Base Address at 300 Hex Base 1 D7 D6 D5 D4 D3 D2 D1 D0 Input Channel 7 6 5 4 3 2 1 0 Table 3 3 input addresses in the isolated control input Register For Example Basic Language Base h300 Set Base Address at 300 Hex RIH INP Base 1 Read Isolated Input Ch 0 Ch 7 C Language int rih rih inportb 0x301 P8R8...

Страница 17: ...DC The normal input range can be changed by choosing suitable resistor to limit the current through the opto isolator to about 10 mA If The default resistor is 1 2 kΩ 0 5 W VIN PC 814 24 V Figure 3 4 Ri 1 2 kΩ 0 5 W If 10 mA Ri Vin If Pw Vin X If Calculation Example If Vin 120 V Then Ri 120 V 0 01 A 12 kΩ Pw 120 V X 0 01 A 1 2 W The Ri Must Replace By 12 kΩ 2 W 1 2 W P8R8 DIO P16R16 DIO User Manua...

Страница 18: ...er 0 05 kHz Relay Output Relay Type 8 SPDT 8 SPST Relay Output Channels 16 Contact Rating 0 3 A 120 VAC VDC 1 A 30 VDC Operating Time 5 ms typical Release Time 5 ms typical Insulation Resistance 100 MΩ Life Mechanical 100 000 ops min Electrical 100 000 at 1 A 30 V resistive General Environmental I O Connector Female DB37 x 1 Dimensions L x W x D 175 mm x 121 mm x 22mm Power Consumption 200 mA 5 V ...

Страница 19: ...atic mat 7 The user should wear an anti static wristband grounded at the same point as the anti static mat 8 Inspect the carton for obvious damage Shipping and handing may cause damage to the board Be sure there are no shipping and handling damages on the board before using 9 After opening the carton exact the system board and place it on a grounded anti static surface component side up CAUTION Do...

Страница 20: ...6 DIO configuration by setting jumper and switches on the board The board s jumpers are set at the factory Under normal circumstances you should not need to change the jumper settings 5 3 1 Base Address Setting The P16R16 DIO requires four consecutive I O addresses two is for output and read back and the other s is for input You can set the base address on any 4 byte boundary using the DIP switch ...

Страница 21: ...efault Base Address 300 Hex For Example How to select 3 0 0 Hex OFF Æ 1 ON Æ 0 3 0 0 OFF OFF ON ON ON ON ON 1 1 0 0 0 0 0 7 A9 6 A8 5 A7 4 A6 3 A5 2 A4 1 A3 The detail SW1 base addresses setting Please refer to P16R16 DIO Base Address Table see Table 2 1 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 21 ...

Страница 22: ...ON OFF X 270 ON OFF OFF OFF ON ON OFF X 278 OFF OFF OFF OFF ON ON OFF X 280 ON ON ON ON OFF ON OFF X 288 OFF ON ON ON OFF ON OFF X 290 ON OFF ON ON OFF ON OFF X 298 OFF OFF ON ON OFF ON OFF X 2A0 ON ON OFF ON OFF ON OFF X 2A8 OFF ON OFF ON OFF ON OFF X 2B0 ON OFF OFF ON OFF ON OFF X 2B8 OFF OFF OFF ON OFF ON OFF X 2C0 ON ON ON OFF OFF ON OFF X 2C8 OFF ON ON OFF OFF ON OFF X 2D0 ON OFF ON OFF OFF O...

Страница 23: ...N OFF OFF X 380 ON ON ON ON OFF OFF OFF X 388 OFF ON ON ON OFF OFF OFF X 390 ON OFF ON ON OFF OFF OFF X 398 OFF OFF ON ON OFF OFF OFF X 3A0 ON ON OFF ON OFF OFF OFF X 3A8 OFF ON OFF ON OFF OFF OFF X 3B0 ON OFF OFF ON OFF OFF OFF X 3B8 OFF OFF OFF ON OFF OFF OFF X 3C0 ON ON ON OFF OFF OFF OFF X 3C8 OFF ON ON OFF OFF OFF OFF X 3D0 ON OFF ON OFF OFF OFF OFF X 3D8 OFF OFF ON OFF OFF OFF OFF X 3E0 ON O...

Страница 24: ... to see the lost of jumper and it s corresponding digital input channel number 1 2 3 1 2 3 Default Setting Default Setting Without Filter For DC Signal With AC Filter For AC Signal JP 1 JP 8 JP 9 JP 16 Without Filter For DC Signal With AC Filter For AC Signal 3 2 1 3 2 1 Figure 2 2 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 24 ...

Страница 25: ...6 DI 15 Table 2 2 If you are using AC input signals you must short the AC FILTER jumper 1 2 If you are using DC input signals the AC FILTER is optional If the DC input signals response less than 20 μs set the filter off If you want a slow response about 5 10 ms for rejecting noise or contact bouncing short the AC FILTER jumper 1 2 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 25 ...

Страница 26: ...5 4 Pin Assignments Extender Cable CON1 CON2 DI n Digital input channel n NC n Normally closed COM n common NO n Normally Open P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 26 ...

Страница 27: ...lly Closed NO Normally Open Figure 3 4 SPDT RELAY Single Pole Double Throw DI n Digital Input AC Filter DI n Digital Input Jumper PC Figure 3 5 Isolated Input P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 27 ...

Страница 28: ... I O space The base address is selected by DIP switch The I O map are shown in Table 3 1 P16R16DIO Base Address at 300 Hex Address Write Read Base 0 Relay Output CH 0 CH 7 Read Back The Output Status Base 1 Relay Output CH 8 CH15 Read Back The Output Status Base 2 No Function Digital Input CH0 CH7 Base 3 No Function Digital Input CH8 CH18 Table 3 1 P16R16DIO I O Address Map P8R8 DIO P16R16 DIO Use...

Страница 29: ...16R16DIO Relay Addresses in the Relay Output Register Base 0 D7 D6 D5 D4 D3 D2 D1 D0 Read back channel 7 6 5 4 3 2 1 0 Base 1 D7 D6 D5 D4 D3 D2 D1 D0 Read back channel 15 14 13 12 11 10 9 8 Table 3 3 Relay output read back register For Example Basic Language REM Set all relay output is ON Output data FFh Base h300 Set Base Address at 300 Hex Out Base hFF Set Relay Output Ch 0 Ch 7 On Out Base 1 hF...

Страница 30: ... Figure 3 1 P8R8DIO Relay NO COM Load AC DC Power Supply Figure 3 1 Heavy Loading Application 0 3 A Refer to Figure 3 2 AC DC Power Supply Power Relay Contact Heavy Loading P8R8DIO Relay Power Relay Figure 3 2 P8R8 DIO P16R16 DIO User Manual Ver 1 7 Oct 2011 IMH 009 17 30 ...

Страница 31: ...ile a low bit equal to 0 represent a low state Register bits are assigned as shown in Table 3 3 6 3 1 Input Register Base Address at 300 Hex Base 1 D7 D6 D5 D4 D3 D2 D1 D0 Input Channel 7 6 5 4 3 2 1 0 Table 3 3 input addresses in the isolated control input Register For Example Basic Language Base h300 Set Base Address at 300 Hex RIH Inp Base 1 Read Isolated Input Ch 0 Ch 7 P8R8 DIO P16R16 DIO Use...

Страница 32: ...DC The normal input range can be changed by choosing suitable resistor to limit the current through the opto isolator to about 10 mA If The default resistor is 1 2 kΩ 0 5 W VIN PC 814 24 V Ri 1 2 kΩ 0 5 W If 10 mA Figure 3 4 Ri Vin If Pw Vin X If Calculation Example If Vin 120 V Then Ri 120 V 0 01 A 12 kΩ Pw 120 V X 0 01 A 1 2 W The Ri Must Replace By 12 kΩ 2 W 1 2 W P8R8 DIO P16R16 DIO User Manua...

Страница 33: ...the isolated inputs You can use DOS DEBUG program to exercise relay outputs or read the input ports or you can use the INP and OUT commands of the BASIC language For example using DEBUG for a P8R8 DIO at a base address set to H300 is as follows O 300 FF Turn On all Relays O 300 0 Turn Off all Relays O 300 08 Turn On Bit D3 Relay I 300 Read back Relay status I 301 Read Digital Input Data P8R8 DIO P...

Страница 34: ... 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 Step 2 Click the item Install Toolkits Softwares Manuals Step 3 Click the item ISA Bus DAQ Card Step 4 Click the item DIO Step 5 Choose the Install Toolkit for Windows 95 98 NT or 2000 for setup according to your...

Страница 35: ... insert P8R8DIO P16R16DIO card into the ISA slot in the computer For detailed base address information refer to Section 2 3 1 P8R8DIO Base Address Setting and 5 3 1 P16R16DIO Base Address Setting For example base address is 0x300 Step 1 Shout down and power off your computer Step 2 Remove all covers from the computer Step 3 Select an empty ISA slot Step 4 Care fully insert your P8R8DIO P16R16DIO c...

Страница 36: ...tep 9 Select the item Yes I have already connected the hardware and click the Next button Step 10 Selection the item Add a new hardware device and click the Next button Step 11 Selection the item Install the hardware that I manually select from a list Advanced and click the Next button Step 12 Selection the item Show All Devices and click the Next button Step 13 Click the Have Disk button Step 14 ...

Страница 37: ...el Step 18 Click the Hardware tab and then click the Device Manager button Step 19 Click the DAQCard tab and then double click ICPDAS P16R16 DIO Digital I O Card or ICPDAS P8R8 DIO Digital I O Card Step 20 Select the Resources tab and then setting as follows 4 Change to base address set by SW1 1 Select I O Range 5 Check the Conflict information 2 Uncheck 3 Click Complete P8R8 DIO P16R16 DIO User M...

Отзывы: