PCI-P8R8/P16R16/P16C16/P16POR16
User’s Manual
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 © March 1998~1999 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of
their respective companies.
License
The user can use, modify and backup this software
machine.
software, or any copy, in whole or in part.
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
The user may not reproduce, transfer or distribute this
on a single
1
Table of Contents
1. INTRODUCTION ....................................................................................................................3
1.1 F
1.2 B
1.3 S
1.4 H
EATURES AND APPLICATIONS ............................................................................................4
LOCK DIAGRAM ................................................................................................................5
PECIFICATIONS .................................................................................................................6
ARDWARE CONFIGURATION...............................................................................................8
1.4.2 Board Layout.............................................................................................................9
1.4.3 Jumper Setting........................................................................................................11
1.5 P
IN ASSIGNMENTS ............................................................................................................12
2. HARDWARE APPLICATIONS ............................................................................................15
2.1 R
2.2 O
2.3 P
2.4 I
ELAY OUTPUT ................................................................................................................15
PEN COLLECTOR OUTPUT...............................................................................................16
HOTOMOS RELAY OUTPUT..............................................................................................17
SOLATED INPUT ...............................................................................................................18
3. SOFTWARE INSTALLATION GUIDE .................................................................................20
3.1 P
3.2 S
LUG AND PLAY OF WINDOWS 95/98/2000/XP..................................................................20
OFTWARE INSTALLATION FOR DOS.................................................................................28
3.3 S
OFTWARE INSTALLATION FOR WINDOWS 95/98/NT/2000/XP ....................................28
4. I/O CONTROL REGISTER...................................................................................................29
4.1 F
UNCTION CALL IN P16R16.DLL ......................................................................................34
4.2 P16R16.H.......................................................................................................................34
4.3 PCI_F
4.4 PCI_S
4.5 PCI_G
4.6 PCI_D
4.7 PCI_D
4.8 PCI_G
4.9 PCI_G
LOATSUB2 .............................................................................................................35
HORTSUB2 ............................................................................................................36
ETDLLVERSION......................................................................................................36
RIVERLNIT..............................................................................................................37
RIVERCLOSE..........................................................................................................39
ETDRIVERVERSION .................................................................................................39
ETCONGFIGADDRESSSPACE ..................................................................................40
4.10 P16R16_DO ...................................................................................................................41
4.11 P16R16_DI.....................................................................................................................41
4.12 P8R8_DO .......................................................................................................................45
4.13 P8R8_DI.........................................................................................................................45
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
2
1 . Introduction
Model Number Isolated Digital Input Output Type
PCI-P8R8 8 Channel 8 Channel Relay Output
PCI-P16R16 16 Channel 16 Channel Relay Output
PCI-P16C16 16 Channel 16 Channel Open-Collector Output
PCI-P16POR16 16 Channel 16 Channel PhotoMos-Relay
Output
• PCI-P8R8 / PCI-P16R16
The PCI-P16R16 and PCI-P8R8 are relay actuator output / isolation
input interface cards for PCs and compatible computers. The former provides
16 channels and the latter provides 8 channel input and output channels.
Both can be easily installed in a 5V PCI slot and can support truly “Plug and
Play". They can be used in many applications.
• PCI-P16C16
The PCI-P16C16 provides 16-channel transistor outputs and 16-channel
isolated digital input. The transistor can outputs up to 30Vdc / 600mA(open
collector). The isolated digital input, like the PCI-P16R16, provides AC/DC input
and R/C filter.
• PCI-P16POR16
The PCI-P16POR16 provides 16-channels PhotoMos Relay output and
16-channel isolated digital input. The PhotoMos relay output can switch up to
350Vac / 130mA (max.), with designed LED indicated for output status. The
isolated digital input, like the PCI-P16R16, provides AC/DC input and R/C filter.
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
3
1.1. Features and Applications
1.1.1. Features
PCI-P8R8 PCI-P16R16 PCI-P16C16 PCI-
P16POR16
Common
Features
Input channel 8 16 16 16
Input type Optically isolated digital input
Output channel 8 16 16 16
Output type Relay Output Relay output Transistor
Led indicators None None External Power
Table 1-1. Features of PCI-P8R8/P16R16/P16C16/P16POR16 card
5V PCI Bus add-on card
Optically isolated digital input
AC/DC digital signed input
AC digital input with filter by jumper setting
(Open-
collector)
status
PhotoMos
Relay
Output Status
1.1.2. Applications
•
Factory automation.
• Laboratory automation.
Communication switching
•
Security control.
•
•
Product test.
Energy management.
•
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
4
1.2. Block Diagram
PCI BUS
EEPROM
PCI Controller
Buffers
&
Drivers
Buffers
&
Filters
P8R8 / P16R16
Relay
Relay
Transistor
Transistor
Relay
Relay
Transistor
Transistor
Photo-couple
Photo-couple
Photo-couple
Photo-couple
PhotoMos
PhotoMos
P16POR1
PhotoMos
PhotoMos
Figure 1-1: Functional Block diagram.
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
5
1.3. Specifications
INPUT
OUTPUT
Product PCI-P16R16 PCI-P8R8
Channels 16 8
Photo-coupler PC-814 PC-814
Input-Current (per
20 mA max (24V) 20 mA max (24V)
channel)
Input-Voltage AC/DC 5 - 24 V
(AC 50 - 1K HZ)
Input Impedance
1.2 KΩ 1.2 KΩ
AC/DC 5 - 24 V
(AC 50 - 1K HZ)
Withstanding Voltage 1KV 1KV
Response Time Without Filter 20µS
With Filter 2.2mS
Relay Output
16 8
Without Filter 20µS
With Filter 2.2mS
Channels
Relay Type 8 SPDT 8 SPST 4 SPDT 4 SPST
Contact Rating AC: 120V / 0.5A
DC: 24V/1A,
48V/0.15A
AC: 120V / 0.5A
DC: 24V/1A,
48V/0.15A
Breakdown Voltage 1KV 1KV
Operate Time 5 m Sec 5 m Sec
Release Time 2 m Sec 2 m Sec
Insulation
1,000 M Ω 1,000 M Ω
Resistance
Life Mechanical
Electrical
Input Resistance
5 ¯ 10
1 ¯ 10
6
5
5 ¯ 10
1 ¯ 10
100mΩ 100mΩ
6
5
(initial)
Switching Power 60VA, 24W 60VA, 24W
Operating
0~60 deg. C
Temperature
Common Storage
-20~70 deg. C
Temperature
Humidity 0~90%
Dimensions 183mm X 105 mm
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
6
INPUT
OUTPUT
Product PCI-P16C16 PCI-P16POR16
Channels 16 16
Photo-coupler PC-814 PC-814
Input-Current (per
20 mA max (24V) 20 mA max (24V)
channel)
Input-Voltage AC/DC 5 - 24 V
Input Impedance
(AC 50 - 1K HZ)
1.2 KΩ 1.2 KΩ
AC/DC 5 - 24 V
(AC 50 - 1K HZ)
Withstanding Voltage 1KV 1KV
Response Time Without Filter 20µS
With Filter 2.2mS
Without Filter 20µS
With Filter 2.2mS
Output Channels 16 16
Output Type Transistor
(Open collector)
Output Rating (per
channel)
30Vdc /
600mA(max)
PhotoMos Relay
(Form A)
350Vac / 130mA
(Peak AC)
Turn On Time 0.7 m Sec
Turn OFF Time 0.05 m Sec
Switching Power 30Vdc 350Vac
Output On
23Ω
Resistance
LED indicators External Power
Output status
Input status
Operating
0~60 deg. C
Temperature
Common Storage
-20~70 deg. C
Temperature
Humidity 0~90%
Dimensions 183mm X 105 mm
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
7
1.4. Hardware Configuration
This chapter describes how to unpack this I/O card and how to
install it to your system. Both the unpacking information and the jumper
settings are described in the following text. This manual should be
carefully read before installation.
1.4.1. Unpacking
This I/O card was well-tested and inspected both mechanically and
electrically before shipping. It was free of marks and scratches our
quality delivery policy requires that all equipment be in perfect order
before delivery. However, some unconditional damages may occur while
unpacking!! Please read this section before unpacking the card. Feel free
to contact your carrier and retain your carton in case there is error.
CAUTION:
This card contains sensitive electronic components that can be easily damaged by
static electricity.
1. This card should be packed with an anti-static mat.
2. The user should wear an anti-static wristband, grounded at the same point
to the anti-static mat.
3. Inspect the carton for obvious damage. Either shipping or handing may
cause damages!! Be sure there are no shipping and handing damages on
the card before using.
4. After opening the carton, place the system board handle on a grounded
anti-static surface and let the component side up.
CAUTION: Do not apply power to the board if it has been damaged!
• You are now ready to install your card.
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
8
1.4.2. Board Layout
PCI-P8R8
JP8..........JP1
Figure 1-2. PCI–P8R8 Board Layout.
Input Resistor: 1.2KΩ
PCI-P16R16
Input Resistor: 1.2KΩ
JP8......….JP1
JP16 —— JP9
Figure 1-3. PCI–P16R16 Board Layout.
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
9
Transisto
External Power protection
(Pico Fuse)
JP8............JP1
PCI-P16C16
Figure 1-4. PCI-P16C16 Board Layout
External Power LED
indicator
JP16 — JP9
LED indicator
PCI-P16POR16
JP8...........JP1
Figure 1-5. PCI-P16POR16 Board Layout
JP16 —— JP9
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
10
1.4.3. Jumper Setting
• For PCI-P8R8 / P16R16 / P16C16 / P16POR16
You can change the I/O card configuration simply by setting the
jumpers on this board. Each digital input channel can be jumper-
configured as a single-pole, RC filter with a time constant of 1.2 ms. The
table listed below shows each digital input channel and the
corresponding jumper.
Jumper Channel Jumper Channel
JP1 DI0 JP9 DI8
JP2 DI1 JP10 DI9
JP3 DI2 JP11 DI10
JP4 DI3 JP12 DI11
JP5 DI4 JP13 DI12
JP6 DI5 JP14 DI13
JP7 DI6 JP15 DI14
JP8 DI7 JP16 DI15
Table 1-2. Jumper assignment.
The figure below shows how to select the digital input type :
1
2
3
Without Filter
For DC Signal
(Default Settling)
1
2
3
With AC Filter
For AC Signal
Figure 1-6. Jumper Settings.
If you are using
pin2-3 of the corresponding jumpers. If you are using DC input signals,
the AC FILTER is optional. If the DC input signal response is less than
20 µs, set the filter to off. If you want a slow response (about 5 to 10 ms)
to reject either noise or contact bouncing, short AC FILTER Pin2-3.
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
AC input signals, you must short AC FILTER
11
1.5. Pin Assignments
CON 1
PCI-P8R8 / PCI-P16R16
Pin Assignment
CON 2
CON 2
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
NO: Normal Open
COM: Common
NC: Normal Close
DIA: Digital Input (Point A)
DIB: Digital Input (Point B)
Extender Cable
12
CON 1
PCI-P16C16 Pin Assignment
CON 2
CON 2
External Cable
Ext. Power: External Power Input
GND: External Power Ground
OUT: Open Collector Output
DIA: Digital Input (Point A)
DIB: Digital Input (Point B)
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
13
CON 1
PCI-P16POR16 Pin Assignment
CON 2
CON 2
8
9
10
11
12
13
14
15
B
8
B
9
B
10
11
B
B
12
B
13
B
14
B
15
External Cable
NO
DIA: Digital Input (Point A)
DIB: Digital Input (Point B)
CM
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
14
2 . Hardware applications
Model Number OUTPUT Input
PCI-P8R8 / PCI-P16R16 Relay Output Optical isolation
PCI-P16C16 Transistor Output
(Open collector)
PCI-P16POR16 PhotoMos Relay Output Optical isolation
Optical isolation
2.1 Relay Output
• For PCI-P8R8 / PCI-P16R16 Only
Whenever data is written data to the output control register, the relays will
switch to NC or NO as specified by the control code. A`1'in the control
register will energize the corresponding relay. The relay will switch from COM to
NO (normally open ). A `0' in the control register will turn off the
corresponding relay and the relay will be switch from COM to NC (normally
closed). The control register powers-on in NC mode. A hardware reset signal or
programmable reset signal will also turn the relay to NC!!
The following figures show how to use the relay.
Basic Circuitry: (Current Rating < 0.3 A):
Figure 2-1. Basic Relay Circuit.
AC/ DC
Power Supply
Relay Contact
COM
NO
Load
PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …
15