Page 1
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.
Page 3
2.11 ISO-C64 ....................39 SSIGNMENT OF THE APPLICATIONS OF DIGITAL I/O ................40 ISO-P32C32 ..................... 40 HE EXAMPLE OF ISO-P64....................43 HE EXAMPLE OF ISO-C64 ....................46 HE EXAMPLE OF DEMO PROGRAM........................49 DEMO1 D/O ISO-P32C32/P32S32W................49 DEMO2 D/I ISO-P32C32/P32S32W ................50 DEMO3 D/I/O ISO-P32C32/P32S32W ................
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 &...
1.1.2 ISO-P32S32W Model Name ISO-P32S32W Digital Input Isolation Voltage 3750 Vrms (Using external power) Channels Compatibility Photo isolated current Logic 0: DC 0 ~ 1 V Input Voltage Logic 1: DC 5 ~ 24 V Input Impedance 3 KΩ, 0.5 W Response Speed 4 kHz (Typical) Digital Output...
ISO-P64 Current Sink, NPN ISO-C64 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...
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.
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: Internal Internal ISO-P32C32 External External 1 2 3 4 5 6 CON1 CON2 ISA BUS ISA BUS...
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.
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 1 2 3 4 5 6 Default Base Address 200 Hex For Example How to select 2 0 0 (Hex) The detail SW1 base addresses setting.
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...
2.3 ISO-P64 Board Layout The board layout of ISO-P64 is given as follows: Internal Internal ISO-P64 External External CON2 CON1 1 2 3 4 5 6 ISA BUS ISA BUS 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)
2.3.1 Jumper setting JP1/JP2/JP3/JP4 jumper setting: Internal Power External Default Setting Power 2.3.2 I/O Base Address Setting BASE ADDRESS 1 2 3 4 5 6 Default Base Address 200 Hex For Example: How to select 2 0 0 (Hex) The detail SW1 base addresses setting. Please refer to ISO-P64 Base Address Table.
2.3.3 I/O Register Address The ISO-P64 card occupies 8 consecutive PC I/O address. The following table lists the registers and their locations. ISO-P64 I/O Register Address Address D/I Channel ISO-P64 Channel 0~7 Read Only Base+0 Channel 8~15 Read Only Base+1 Channel 16~23 Read Only Base+2...
2.4 ISO-C64 Board Layout The board layout of ISO-C64 is given as follows: LED4 LED3 LED2 LED1 ISO-C64 CON2 1 2 3 4 5 6 CON1 ISA BUS ISA BUS Figure 2-6: Board layout of ISO-C64 LED 1: power indicator for DO_0 ~ DO_15 LED 2: power indicator for DO_31 ~ DO_16 LED 3: power indicator for DO_47 ~ DO_32 LED 4: power indicator for DO_63 ~ DO_48...
2.4.1 I/O Base Address Setting BASE ADDRESS 1 2 3 4 5 6 Default base Address 200 Hex For Example How to select 2 0 0 (Hex) The detail SW1 base addresses setting. Please refer to ISO-C64 Base Address Table. -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct.
2.4.2 I/O Register Address The ISO-C64 card occupies 8 consecutive PC I/O address. The following table lists the registers and their locations. ISO-C64 I/O Register Address Address D/O Channel ISO-C64 Channel 0~7 Write Only Base+0 Channel 8~15 Write Only Base+1 Channel 16~23 Write Only Base+2...
2.5 Isolated D/I Architecture The D/I architecture of ISO-P32C32 & ISO-P64 are the same. The User can select internal power or external power to supply photo-couple digital input power. The ISO-P32S32W only used external Power. The block diagram of D/I...
Page 28
(+) Internal R=10k R=3K D in D Input (External) ISO-P32C32 / P32S32W / P64 Figure 2-8: Isolated D/I Architecture with external power supply Figure 2-9: Typical Applications of D/I with external power supply. -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
2.6 Isolated D/O Architecture The D/O architecture of ISO-P32C32/P32S32W & ISO-C64 are the same. The block diagrams of D/O are given as follows: Figure 2-10: Isolated D/O Architecture Figure 2-11: Typical Applications of D/O -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
Page 32
NOTE: 1. The ISO-P32C32/C64, I1, I2, … & I32 must be < 100 mA . The ISO- P32S32W , I1~I4 & I17~I20 must be ≦500 mA , The other must be < 100 mA . 2. The R1, R2, ... & R32 are current-limit resistors. They must be designed to let I1, I2, ...
2.7 Daughter Boards 2.7.1 DB-37 The DB-37 is a general purpose daughter board for D-sub 37 pins. It is designed for easy wire connection. 37-Pin Cable DB-37 2.7.2 DN-37 The DN-37 is a general purpose daughter board for DB-37 with DIN-Rail Mounting.
2.9 Pin Assignment of ISO-P32S32W CON2: Pin assignment External ISO-P32S32W External Power GND (-) Power GND (-) DI 0 DO 0 for High drive DI 1 DO 1 for High drive 1 2 3 4 5 6 DI 2 DO 2 for High drive DI 3 DO 3 for High drive DI 4...
2.10 Pin Assignment of ISO-P64 CON1 Pin assignment External External Power GND(-) Power GND(-) DI: 0-15 (-) DI: 16-31 (-) Internal Internal ISO-P64 DI 0 DI 16 DI 1 External External DI 17 DI 2 DI 18 DI 3 DI 19 DI 4 DI 20 DI 5...
2.11 Pin Assignment of ISO-C64 CON1 Pin assignment External External Power GND (-) Power GND (-) LED4 LED3 LED2 LED1 DO: 0-15 (-) ISO-C64 DO: 16-31 (-) DO 0 DO 16 DO 1 DO 17 DO 2 DO 18 DO 3 DO 19 DO 4 CON2...
3. The applications of Digital I/O 3.1 The example of ISO-P32C32 The circuit diagram of D/O of ISO-P32C32 is given as follows: ISO-P32C32 LED1 LED2 DC/DC 1 DC/DC 2 LED3 LED4 CON1 CON2 40-PIN DB-37 External Cable ISA BUS DN-37 Board...
Page 41
The test circuit diagram of D/I/O of ISO-P32C32 is given as follows: From the CON1 of ISO-P32C32 DN-37 I/O CONNECTOR BLOCK Figure 3-2: The D/I/O of CON1 of ISO-P32C32 The D/I of CON2 of ISO-P32C32 for internal power. From the CON2 of ISO-P32C32...
Page 42
The interrupt input of circuit diagram (1) of ISO-P32C32 is given as follows: From the CON1 or CON2 of ISO-P32C32 DN-37 I/O CONNECTOR BLOCK Figure 3-4: The interrupt input for ISO-P32C32 The interrupt input of circuit diagram(2) of ISO-P32C32 is given as...
3.2 The example of ISO-P64 The circuit diagram of D/I for ISO-P64 is given as follows: ISO-P64 DC/DC 1 DC/DC2 CON2 40-PIN CON1 DB-37 External Cable ISA BUS External Device 1 External Device 2 Figure 3-6: The example of digital inputs for ISO-P64 •...
Page 44
The circuit diagram of external device 1 is given as follows: From the CON1 of ISO-P64 DN-37 I/O CONNECTOR BLOCK Figure 3-7: The circuit diagram of external device 2 for the digital inputs of ISO-P64 The D/I of CON1 of ISO-P64 select internal power. -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct.
Page 45
The circuit diagram of external device 2 is given as follows: From the CON2 of ISO-P64 DN-37 I/O CONNECTOR BLOCK Figure 3-8: The circuit diagram of external device 2 for the digital inputs of ISO-P64 The D/I of CON2 of ISO-P64 select internal power. -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct.
3.3 The example of ISO-C64 The circuit diagram of D/O for ISO-P32C32 is given as follows: ISO-C64 CON2 40-PIN CON1 DB-37 External Cable ISA BUS DN-37 I/O CONNECTOR DN-37 I/O CONNECTOR External Device 1 External Device 2 Figure 3-9: The example of digital outputs for ISO-C64 The circuit diagram of external device 1: Refer to Figure 17.
Page 47
The circuit diagram of external device 1 is given as follows: From the CON1 of ISO-C64 Power Supply ICP DAS Super 2 +5.00 V POWER DN-37 I/O CONNECTOR BLOCK Vlotage Output LED 1 LED 25 LED 2 LED 9 LED 26...
Page 48
The circuit diagram of external device 2 is given as follows: From the CON2 of ISO-C64 Power Supply ICP DAS Super 2 +5.00 V POWER DN-37 I/O CONNECTOR BLOCK Vlotage Output LED 33 LED 57 LED 34 LED 41 LED 58...
/* initial value */ outp(wBase+0,0x00); outp(wBase+1,0x00); outp(wBase+2,0x00); outp(wBase+3,0x00); while(1) printf("\n\n --------- Digital output of ISO-P32C32 ------------"); for (i=1;i<=0x80;i=i<<1) outp(wBase+0,i); /* DO_07 to DO_00 of CON2 */ outp(wBase+1,i); /* DO_15 to DO_08 of CON2 */ outp(wBase+2,i); /* DO_23 to DO_16 of CON1 */ outp(wBase+3,i);...
4.2 DEMO2 D/I for ISO-P32C32/P32S32W /*-----------------------------------------------------------------*/ /* Demo 2: Digital input of ISO-P32C32 /* Step 1: The circuit diagram of hardware: refer to Sec 3.1 /* Step 1: run demo2.EXE under DOS /* ----------------------------------------------------------------*/ #define wBase 0x200 #include <dos.h> void main() unsigned char j1,j2,j3,j4;...
4.3 DEMO3 D/I/O for ISO-P32C32/P32S32W /* ----------------------------------------------------------------*/ /* Demo 3: Digital I/O test by itself for ISO-P32C32 /* Step 1: The circuit diagram of hardware: refer to Sec 3.1 /* Step 2: run demo3.EXE under DOS /* --------------------------------------------------------------- */ #define wBase 0x200 #include <dos.h>...
Page 52
if(i==j1 & i==j2 & i==j3 & i==j4) printf("The Digital I/O test of PISO-P32C32 by itself OK!\n"); if(i==0x80) { i=0x01; break; } if (kbhit()!=0) c=getch(); if ((c=='q') || (c=='Q') || c==27 ) return; delay(3); /* end of while -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)