ICP ISO-P32C32, ISO-P32S32W, ISO-C64, ISO-P64 User Manual

ISO-P32C32/P32S32W ISO-P64/C64
User Manual
Version 1.9 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.
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 1
Tables of Contents
1. INTRODUCTION.........................................................................................................................4
1.1 SPECIFICATIONS ......................................................................................................................4
1.1.1 ISO-P32C32..........................................................................................................................4
1.1.2 ISO-P32S32W.......................................................................................................................5
1.1.3 ISO-P64 ................................................................................................................................6
1.1.4 ISO-C64................................................................................................................................6
1.2 ORDER DESCRIPTION...............................................................................................................7
1.3 OPTIONS..................................................................................................................................7
1.4 PRODUCT CHECK LIST.............................................................................................................8
2. HARDWARE CONFIGURATION..................................................................................................9
2.1 ISO-P32C32 BOARD LAYOUT.................................................................................................9
2.2 ISO-P32S32W BOARD LAYOUT ...........................................................................................10
2.2.1 Jumper Setting ....................................................................................................................11
2.2.2 IRQ Circuit diagram...........................................................................................................12
2.2.3 I/O Base Address Setting ....................................................................................................13
2.2.4 I/O Register Address...........................................................................................................16
2.3 ISO-P64 BOARD LAYOUT .....................................................................................................17
2.3.1 Jumper setting.....................................................................................................................18
2.3.2 I/O Base Address Setting ....................................................................................................18
2.3.3 I/O Register Address...........................................................................................................21
2.4 ISO-C64 BOARD LAYOUT.....................................................................................................22
2.4.1 I/O Base Address Setting ....................................................................................................23
2.4.2 I/O Register Address...........................................................................................................26
2.5 ISOLATED D/I ARCHITECTURE...............................................................................................27
2.5.1 Sample D/I Architecture for Internal Power ...................................................................29
2.5.2 Sample D/I Architecture for External Power...................................................................30
2.6 ISOLATED D/O ARCHITECTURE.............................................................................................31
2.6.1 Sample D/O Architecture.................................................................................................33
2.7 DAUGHTER BOARDS..............................................................................................................35
2.7.1 DB-37..................................................................................................................................35
2.7.2 DN-37..................................................................................................................................35
2.7.3 DB-8125 .......................................................................................................................... 35
2.8 PIN ASSIGNMENT OF ISO-P32C32 ........................................................................................36
2.9 PIN ASSIGNMENT OF ISO-P32S32W.....................................................................................37
2.10 PIN ASSIGNMENT OF ISO-P64...............................................................................................38
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 2
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 3
2.11 PIN ASSIGNMENT OF ISO-C64 ..............................................................................................39
3. THE APPLICATIONS OF DIGITAL I/O ................................................................................40
3.1 THE EXAMPLE OF ISO-P32C32............................................................................................. 40
3.2 THE EXAMPLE OF ISO-P64....................................................................................................43
3.3 THE EXAMPLE OF ISO-C64 ...................................................................................................46
4. DEMO PROGRAM.....................................................................................................................49
4.1 DEMO1 D/O FOR ISO-P32C32/P32S32W...........................................................................49
4.2 DEMO2 D/I FOR ISO-P32C32/P32S32W ............................................................................50
4.3 DEMO3 D/I/O FOR ISO-P32C32/P32S32W ........................................................................51
4.4 P32CINT.EXE INTERRUPT INPUT FOR ISO-P32C32/P32S32W..............................................53
4.5 DEMO1 D/I FOR ISO-P64 ....................................................................................................55
4.6 DEMO1 D/O FOR ISO-C64 ..................................................................................................56
1. Introduction
The ISO-P32C32/P32S32W consists of 32-channel isolated D/I and 32-
channels isolated D/O. The ISO-P64 consists of 64-channel isolated D/I. The
ISO-C64 consists of 64-channel isolated D/O. The D/I specifications of ISO-
P32C32/P32S32W & ISO-P64 are the same. The D/O specifications of ISO-
P32C32/P32S32W & ISO-C64 are the same.
1.1 Specifications
1.1.1 ISO-P32C32
Model Name ISO-P32C32
Digital Input
Isolation Voltage
3750 Vrms (Using external power)
3000 Vrms (Using internal power) Channels 32 Compatibility Photo isolated current
Input Voltage
Logic 0: DC 0 ~ 1 V
Logic 1: DC 9 ~ 24 V
Input Impedance
3 K, 0.5 W
Response Speed 4 kHz (Typical)
Digital Output
Isolation Voltage 3750 Vrms (Using external power) Channels 32 Compatibility Sink, Open Collector External Voltage 5 ~ 30 VDC (max.)
Output Capability
100 mA for one channel @ 100% duty
100 mA for all channels @ 100% duty
Response Speed 4 kHz (Typical)
General
Bus Type ISA Data Bus 8-bit I/O Connector Female DB37 x 1 ; 40-pin box header x 1 Dimensions (L x W x D) 163 mm x 115 mm x 22 mm Power Consumption 600 mA @ +5 V Operating Temperature 0 ~ 60 °C Storage Temperature -20 ~ 70 °C Humidity 5 ~ 85% RH, non-condensing
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 4
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 5
1.1.2 ISO-P32S32W
Model Name ISO-P32S32W
Digital Input
Isolation Voltage 3750 Vrms (Using external power)
Channels 32
Compatibility Photo isolated current
Input Voltage
Logic 0: DC 0 ~ 1 V
Logic 1: DC 5 ~ 24 V
Input Impedance 3 K, 0.5 W
Response Speed 4 kHz (Typical)
Digital Output
Isolation Voltage 3750 Vrms (Using external power)
Channels 32
Compatibility Sink, Open Collector
External Voltage 5 ~ 30 VDC (max.)
500 mA for one high driving channel @ 100% duty
500 mA for all high driving channels @ 100% duty
(The GND pins all must be connected with GND of
External Power)
Output Capability
100 mA for one low driving channel @ 100% duty
100 mA for all low driving channels @ 100% duty
(The GND pins all must be connected with GND of
External Power)
Response Speed 4 kHz (Typical)
General
Bus Type ISA
Data Bus 8-bit
I/O Connector
Female DB37 x 1
40-pin Box header x 1
Dimensions (L x W x D) 163 mm x 115 mm x 22 mm
Power Consumption 600 mA @ +5 V
Operating Temperature 0 ~ 60 °C
Storage Temperature -20 ~ 70 °C
Humidity 5 ~ 85% RH, non-condensing
1.1.3 ISO-P64
Model Name ISO-P64
Digital Input
Isolation Voltage 3750 Vrms (Using external power)
3000 Vrms (Using internal power)
Channels 64
Compatibility Photo Coupler Isolated
Input Voltage Logic 0: DC 0 ~ 1 V
Logic 1: DC 9 ~ 24 V
Response Speed 4 kHz (Typical)
General
Bus Type ISA
Data Bus 8-bit
I/O Connector Female DB37 x 1 ; 40-pin Box header x 1
Dimensions (L x W x D) 175 mm x 115 mm x 22 mm
Power Consumption 400 mA @ +5 V
Operating Temperature 0 ~ 60 °C
Storage Temperature -20 ~ 70 °C
Humidity 5 ~ 85% RH, non-condensing
1.1.4 ISO-C64
Model Name ISO-C64
Digital Output
Isolation Voltage 3750 Vrms (Using external power)
Channels 64
Compatibility Sink, Open Collector
External Voltage 5 ~ 30 VDC (max.)
Output Capability 100 mA for one low driving channel @ 100% duty
100 mA for all low driving channels @ 60% duty
Response Speed 4 kHz (Typical)
General
Bus Type ISA
Data Bus 8-bit
I/O Connector Female DB37 x 1 ; 40-pin Box header x 1
Dimensions (L x W x D) 178 mm x 115 mm x 22mm
Power Consumption 500 mA @ +5 V
Operating Temperature 0 ~ 60 °C
Storage Temperature -20 ~ 70 °C
Humidity 5 ~ 85% RH, non-condensing
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 6
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 7
I/O channels
D/O channels
D/I
channels
Low Drive High Drive Type
ISO-P32S32W
32 24 8 Current Sink, NPN
ISO-P32C32
32 32 - Current Sink, NPN
ISO-P64
64 - - -
ISO-C64
- 64 - Current Sink, NPN
1.2 Order Description
ISO-P32C32/P32S32W: ISA bus D/I of 32-bit, D/O of 32-bit.
ISO-P64: ISA bus D/I of 64-bit.
ISO-C64: ISA bus D/O of 64-bit.
1.3 Options
ADP-37/PCI: extender, 50-pin OPTO-22 header to DB-37 for PCI Bus I/O
boards
ADP-50/PCI: extender, 50-pin OPTO-22 header to 50-pin header, for PCI
Bus I/O boards
DB32R: 32-channel relay output board (RoHS) Include : CA-3710D Male-
Male D-sub Cable 1.0 M
DB16P16R: 16-channel input terminal and 16-channel relay output board
Include : CA-3710D Male- Male D-sub Cable 1.0 M
1.4 Product Check List
The shipping package includes the following items:
One ISO-P32C32, ISO-P32S32W, ISO-P64 or ISO-C64 card
One software utility ISA CD.
One Quick Start Guide
It is recommended that you read the Quick Start Guide first. All the
necessary and essential 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.
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 8
2. Hardware configuration 2. Hardware configuration
2.1 ISO-P32C32 Board Layout 2.1 ISO-P32C32 Board Layout
The board layout of ISO-P32C32 is given as follows:
JP3
ISA BUS
IRQ
ON
1 2 3 4 5 6
JP1
12
65
Internal
External
External
Internal
1
JP2
2
56
ISA BUS
ISO-P32C32
SW1
CON1
CON2
Figure 2-1: Board layout of ISO-P32C32
CON1: 40-PIN connector for D/I/O channel 16~31
CON2: 37-PIN D-sub connector for D/I/O channel 0~15
JP1: CON1 select internal/external power
JP2: CON2 select internal/external power
JP3: Interrupt levels selection (ISO-P32C32 provides IRQ9, 10,11,12,14
and 15)
SW1: I/O Address selection
DI/O Channel
DO Channel Power Ground
Isolation Bank 1
DI_0~15 (CON1, Pin18) (CON1, Pin19)
Isolation Bank 2
DO_0~15 (CON1, Pin37) (CON1, Pin1 & 20)
Isolation Bank 3
DI_16~31 (CON2, Pin18) (CON2, Pin19)
Isolation Bank 4
DO_16~31 (CON2, Pin37) (CON2, Pin1 & 20)
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 9
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 10
2.2 ISO-P32S32W Board Layout
The board layout of ISO-P32S32W is given as follow:
Figure 2-4. Board layout of ISO-P32S32W
CON1: 40-PIN connector for D/I/O channel 16~31
CON2: 37-PIN D-sub connector for D/I/O channel 0~15
JP1: Interrupt levels selection (ISO-P32S32W provides IRQ9,10,11,12,14
and 15)
SW1: I/O Address selection
DI/O Channel
DI/DO Channel Power Ground
Isolation Bank 1
DI_0~15 (CON1,Pin1)
DO_0~3 (High drive for 500 mA
sink current, NPN )
(CON1,Pin18 & Pin19)
Isolation Bank 2
DO_4~15(Low drive for 100 mA
sink current, NPN )
(CON1,Pi
n37)
(CON1,Pin1 & Pin20)
Isolation Bank 3
DI_16 ~ DI_31 (CON2,Pin1)
DO_16~19(High drive for 500 mA
sink current, NPN )
(CON2,Pin18 & Pin19)
Isolation Bank 4
DO_20~31(Low drive for 100 mA
sink current, NPN )
(CON2,Pi
n37)
(CON2,Pin1 & Pin20)
Attention: To prevent the board damaged forever by overload, the GND pins (CON1: pin 1/ 18/ 19/ 20, CON2: pin 1/ 18/ 19/ 20) all must be connected with GND of External Power.
2.2.1 Jumper Setting
JP1/JP2 Jumper setting (for ISO-P32C32):
External
Power
Internal Power
Default Setting
JP1: CON1 Internal power/External selection.
JP2: CON2 Internal power/External selection.
IRQ selection : JP3 for ISO-P32C32 JP1 for ISO-P32S32W
N.C 15 14 12 11 10 9 7 6 5 4 3 N.C
Default IRQ: N.C (Not use IRQ)
Select IRQ one of the 3/4/5/6/7 for D/I channel 16 of CON1.
Select IRQ one of the 9/10/11/12/14/15 for D/I channel 0 of CON2.
Usage:
Step 1: Select IRQ 3/4/5/6/7 for channel 16.
Step 2: Select IRQ 9/10/11/12/14/15 for channel 0.
Step 3: Input interrupt signals by way of channel 0/16 of CON2/CON1.
Step 4: Run P32Cint.EXE used interrupt function for ISO-P32C32/
P32S32W card.
Step 5: Select I/O Base address of ISO-P32C32/P32S32W card.
Step 6: Input IRQ number (Refer to JP3 setting of P32C32 board,
JP1 setting of P32S32W board).
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 11
2.2.2 IRQ Circuit diagram
Figure 2-2: Select circuit diagram of IRQ for ISO-P32C32/P32S32W board.
External signal inupt to channel 0 or channel 16
Interrupt happend
to rising edge
Figure 2-3: Interrupt happened to rising edge.
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 12
2.2.3 I/O Base Address Setting
The ISO-P32C32/P32S32W occupies 8 consecutive in I/O address space. The
base address is set by DIP switch SW1.
BASE ADDRESS
ON
1 2 3 4 5 6
SW1
Default Base Address 200 Hex
For Example How to select 2 0 0 (Hex)
OFF Æ 1 ON Æ 0
2 0 0
ON ON ON ON ON ON
0 0 0 0 0 0
1
1
A8
2
A7
3
A6
4
A5
5
A4
6
A3
The detail SW1 base addresses setting. Please refer to ISO­P32C32/P32S32W Base Address Table.
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 13
ISO-P32C32/P32S32W Base Address Table:
(*): Default setting
S1 Dip Switch
Address (Hex)
1
A8
2
A7
3
A6
4
A5
5
A4
6
A3
200 (*) ON ON ON ON ON ON
208 ON ON ON ON ON OFF 210 ON ON ON ON OFF ON 218 ON ON ON ON OFF OFF 220 ON ON ON OFF ON ON 228 ON ON ON OFF ON OFF 230 ON ON ON OFF OFF ON 238 ON ON ON OFF OFF OFF 240 ON ON OFF ON ON ON 248 ON ON OFF ON ON OFF 250 ON ON OFF ON OFF ON 258 ON ON OFF ON OFF OFF 260 ON ON OFF OFF ON ON 268 ON ON OFF OFF ON OFF 270 ON ON OFF OFF OFF ON 278 ON ON OFF OFF OFF OFF 280 ON OFF ON ON ON ON 288 ON OFF ON ON ON OFF 290 ON OFF ON ON OFF ON 298 ON OFF ON ON OFF OFF 2A0 ON OFF ON OFF ON ON 2A8 ON OFF ON OFF ON OFF 2B0 ON OFF ON OFF OFF ON
2B8 ON OFF ON OFF OFF OFF 2C0 ON OFF OFF ON ON ON 2C8 ON OFF OFF ON ON OFF 2D0 ON OFF OFF ON OFF ON 2D8 ON OFF OFF ON OFF OFF 2E0 ON OFF OFF OFF ON ON 2E8 ON OFF OFF OFF ON OFF 2F0 ON OFF OFF OFF OFF ON 2F8 ON OFF OFF OFF OFF OFF
300 OFF ON ON ON ON ON
308 OFF ON ON ON ON OFF
310 OFF ON ON ON OFF ON
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 14
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 15
318 OFF ON ON ON OFF OFF 320 OFF ON ON OFF ON ON 328 OFF ON ON OFF ON OFF 330 OFF ON ON OFF OFF ON 338 OFF ON ON OFF OFF OFF 340 OFF ON OFF ON ON ON 348 OFF ON OFF ON ON OFF 350 OFF ON OFF ON OFF ON 358 OFF ON OFF ON OFF OFF 360 OFF ON OFF OFF ON ON 368 OFF ON OFF OFF ON OFF 370 OFF ON OFF OFF OFF ON 378 OFF ON OFF OFF OFF OFF 380 OFF OFF ON ON ON ON 388 OFF OFF ON ON ON OFF 390 OFF OFF ON ON OFF ON 398 OFF OFF ON ON OFF OFF 3A0 OFF OFF ON OFF ON ON 3A8 OFF OFF ON OFF ON OFF 3B0 OFF OFF ON OFF OFF ON
3B8 OFF OFF ON OFF OFF OFF 3C0 OFF OFF OFF ON ON ON 3C8 OFF OFF OFF ON ON OFF 3D0 OFF OFF OFF ON OFF ON 3D8 OFF OFF OFF ON OFF OFF 3E0 OFF OFF OFF OFF ON ON 3E8 OFF OFF OFF OFF ON OFF 3F0 OFF OFF OFF OFF OFF ON 3F8 OFF OFF OFF OFF OFF OFF
2.2.4 I/O Register Address
The ISO-P32C32/P32S32W card occupies 8 consecutive PC I/O addresses.
The following table lists the registers and their locations.
D/I: digital input data format.
D/O: digital output data format.
ISO-P32C32/P32S32W I/O Register Address
Address Read Write ISO-P32C32/P32S32W
Base+0 D/I Channel 0~7 D/O Channel 0~7 CON 2
Base+1 D/I Channel 8~15 D/O Channel 8~15 CON 2
Base+2 D/I Channel 16~23 D/O Channel 16~23 CON 1
Base+3 D/I Channel 14~31 D/O Channel 14~31 CON 1
Read/Write Base+0
Bit 7 6 5 4 3 2 1 0
Channel
7 6 5 4 3 2 1 0
Read/Write Base+1
Bit 7 6 5 4 3 2 1 0
Channel
15 14 13 12 11 10 9 8
Read/Write Base+2
Bit 7 6 5 4 3 2 1 0
Channel
23 22 21 20 19 18 17 16
Read/Write Base+3
Bit 7 6 5 4 3 2 1 0
Channel
31 30 29 28 27 26 25 24
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 16
2.3 ISO-P64 Board Layout
The board layout of ISO-P64 is given as follows:
ISA BUS
ON
1 2 3 4 5 6
JP4
Internal
External External
Internal
JP2
ISA BUS
ISO-P64
126512
65
126512
65
JP3
JP2JP1
CON1
CON2
SW1
Figure 2-5: Board layout of ISO-P64
JP1: select internal/external power for DI_0 ~ DI_15 (3000 V isolation)
JP2: select internal/external power for DI_16 ~ DI_31 (3000 V isolation)
JP3: select internal/external power for DI_47 ~ DI_32 (3000 V isolation)
JP4: select internal/external power for DI_63 ~ DI_48 (3000 V isolation)
Isolation bank 1: DI_0 ~ DI_15, Power=CON1_18, Ground=CON1_1
Isolation bank 2: DI_16 ~ DI_31, Power=CON1_37, Ground=CON1_20
Isolation bank 3: DI_32 ~ DI_47, Power=CON2_18, Ground=CON2_1
Isolation bank 4: DI_48 ~ DI_63, Power=CON2_37, Ground=CON2_20
All these four banks are fully isolated from each other.
The DC/DC1 is used to provide the internal power supply for bank1 & bank2.
The DC/DC2 is used to provide the internal power supply for bank3 & bank4.
ISO-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19) 17
Loading...
+ 39 hidden pages