Hide thumbs Also See for P8R8-DIO:

Advertisement

Quick Links

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)
P8R8-DIO
P16R16-DIO

User Manual

Version 1.7
Oct. 2011
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P8R8-DIO and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ICP DAS USA P8R8-DIO

  • Page 1: User Manual

    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)
  • Page 2: Table Of Contents

    ......................20 AYOUT ....................20 UMPER ETTING 5.3.1 Base Address Setting......................20 5.3.2 Jumper Setting ......................... 24 ......................... 26 SSIGNMENTS 6. P16R16-DIO PROGRAMMING ....................28 I/O A ........................ 28 DDRESS ........................29 ELAY UTPUT P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 3 Input Register ........................31 6.3.2 Using Isolated Input......................32 7. TROUBLESHOOTING........................33 ......................33 ROBLEM SOLATED SOFTWARE/HARDWARE INSTALLATION ............... 34 8.1 S ................... 34 OFTWARE NSTALLING ROCEDURE 8.2 H ..................35 ARDWARE NSTALLING ROCEDURE P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 4: Introduction

    1. Introduction 1. Introduction The P8R8-DIO/P16R16-DIO is an 8/16 isolated input and 8/16 relay output The P8R8-DIO/P16R16-DIO is an 8/16 isolated input and 8/16 relay output interface board designed for control and sensing applications. This interface interface board designed for control and sensing applications. This interface board is easily installed in any PC/AT/XT or compatible computer.
  • Page 5: Product Check List

    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/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 6: P8R8-Dio Specifications

    150 mm x 97 mm x 22 mm 160 mA @ +5 V (max.) Power Consumption 150 mA @ +12 V (max.) Operating Temperature 0 ~ 60 °C Storage Temperature -20 ~ 70 °C Humidity 5 ~ 85% RH, non-condensing P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 7: P8R8-Dio Installation

    Your P8R8-DIO card contains sensitive electronic components that can be easily damaged by static electricity. 1. The P8R8-DIO should be done on a grounded anti-static mat. 2. The user should wear an anti-static wristband, grounded at the same point as the anti-static mat.
  • Page 8: P8R8-Dio Layout

    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 address for each board.
  • Page 9 The base address switch is preset at 300H (see Figure 2-1). Figure 2-1: Default Base Address 300 Hex For Example How to select 3 0 0 (Hex) The detail SW1 base addresses setting. Please refer to P8R8DIO (see Table 2-1) Base Address Table P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 10 P8R8DIO Base Address Table: (*): Default Setting SW1 Dip Switch Address (Hex) 300 (*) Table 2-1 P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 11: Jumper Setting

    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.7 P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 12: Pin Assignments

    D I 6- D I 6+ D I 7- D I 7+ 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)
  • Page 13: P8R8-Dio Programming

    3. P8R8-DIO Programming 3. P8R8-DIO Programming This chapter provides the I/O map of P8R8-DIO registers. Example programs This chapter provides the I/O map of P8R8-DIO registers. Example programs and programming information are also included. and programming information are also included.
  • Page 14: Relay Output

    REM: Set relay output CH 3 is ON, Output data 8h (00001000 BIN) Out Base, &h8 ‘ Set relay output CH 3 ON (For C Language) outportb(0x300,0x0FF); /* Set all relay output is On*/ outportb(0x300,0x0); /* Set all relay output is Off*/ P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 15: Using Relay Output

    Load AC/ DC Power Supply Figure 3-1. Heavy Loading Application ( > 0.3 A ), Refer to Figure.3-2. P8R8DIO Power Relay Relay Contact AC/ DC Power Supply Power Relay Heavy Loading Figure 3-2. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 16: Isolated Input

    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-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 17: Using Isolated Input

    = 120 V Then i = 120 (V) / 0.01 (A) = 12 kΩ w = 120 (V) X 0.01 (A) = 1.2 W i Must Replace By 12 kΩ / 2 W (1.2 W) P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 18: P16R16-Dio Specifications

    4. P16R16-DIO Specifications 4. P16R16-DIO Specifications Model Name P16R16-DIO Digital Input Isolation Voltage 5000 Vrms Channels Compatibility Non-polarized OPTO-isolated Logic 0: 0 ~ 1 V Input-Voltage Logic 1: 5 ~ 24 V Input Impedance 1.2 KΩ, 0.5 W Without Filter: 0.045 MHz Response Speed With Filter: 0.05 kHz Relay Output...
  • Page 19: P16R16-Dio Installation

    After opening the carton, exact the system board and place it on a grounded anti-static surface & component side up. CAUTION: Do not apply power to the board if it has been damaged! 10. You are now ready to install your P16R16-DIO. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 20: P16R16-Dio Layout

    You can set the base address on any 4-byte boundary using the DIP switch (S1). If you install one more P16R16-DIO boards, you must set a different base address for each board. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 21 The base address switch is preset at 300H (see Figure 2-1). Figure 2-1: Default Base Address 300 Hex For Example How to select 3 0 0 (Hex) The detail SW1 base addresses setting. Please refer to P16R16-DIO (see Table 2-1) Base Address Table P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 22 P16R16DIO Base Address Table: (*): Default Setting S1 Dip Switch Address (Hex) 300(*) P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 23 Table 2-1 P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 24: Jumper Setting

    Without Filter With AC Filter For DC Signal For AC Signal (Default Setting) JP 9 ~ JP 16 Without Filter With AC Filter For DC Signal For AC Signal (Default Setting) Figure 2-2 P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 25 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)
  • Page 26: Pin Assignments

    5.4 Pin Assignments CON1 CON2 Extender Cable NO n : Normally Open. COM n : common. NC n : Normally closed. DI n : Digital input channel n. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 27 NC: Normally Closed COM: Common NO: Normally Open Figure 3-4. SPDT RELAY: Single Pole Double Throw. DI n +: Digital Input Jumper AC Filter DI n -: Digital Input PC - Figure 3-5. Isolated Input. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 28: P16R16-Dio Programming

    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 User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 29: Relay Output

    ‘ Read Back Relay Output Ch 8 ~ Ch 15 REM : Set relay output CH 3 is ON ,Output data 8h (00001000 BIN) Out Base,&h8 ‘ Set relay output CN2 D3 ON P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 30: Using Relay Output

    P8R8DIO Relay Load AC/ DC Power Supply Figure 3-1. Heavy Loading Application (>0.3 A). Refer to Figure 3-2. P8R8DIO Power Relay Relay Contact AC/ DC Power Supply Power Relay Heavy Loading Figure 3-2. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 31: Isolated Input

    Input Channel 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 User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 32: Using Isolated Input

    = 120 V Then i = 120 (V) / 0.01 (A) = 12 kΩ w = 120 (V) X 0.01 (A) = 1.2 W i Must Replace By 12 kΩ / 2 W (1.2 W) P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 33: Troubleshooting

    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: 300 FF ‘Turn On all Relays.
  • Page 34: Software/Hardware Installation

    Step 5: Choose the “Install Toolkit for Windows 95/98、NT or 2000” for setup according to your PC platform and then install driver. Notes: 1. The P8R8DIO/P16R16DIO Windows driver site location: http://ftp.icpdas.com/pub/cd/iocard/isa/napdos/isa/dio/dll/ 2. The Windows 2000 (Win2K) driver support Windows 2000 and 32-bit Windows XP/2003/Vista/7. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 35: Hardware Installing Procedure

    Step 2: Remove all covers from the computer. Step 3: Select an empty ISA slot. Step 4: Care fully insert your P8R8DIO/P16R16DIO card into the ISA slot. Step 5: Replace the PC covers. Step 6: Power on the computer. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 36 Step 12: Selection the item “Show All Devices” and click the “Next>” button. Step 13: Click the “Have Disk...” button. Step 14: Click the “Browse...” button to select the .Inf file default path is C:\DAQPRO\DIO_Win2K\Inf and click the “Open” and “OK” button. P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
  • Page 37 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.

This manual is also suitable for:

P16r16-dio

Table of Contents