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.
-P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
ISO
ISO-P32C32/P32S32W
ISO-P64/C64
User Manual
Version 1.9
Oct. 2011
1

Advertisement

Table of Contents
loading

Summary of Contents for ICP ISO-P32C32

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

    Tables of Contents INTRODUCTION.........................4 ........................4 PECIFICATIONS 1.1.1 ISO-P32C32..........................4 1.1.2 ISO-P32S32W ........................5 1.1.3 ISO-P64 ..........................6 1.1.4 ISO-C64 ..........................6 .......................7 RDER ESCRIPTION ..........................7 PTIONS ......................8 RODUCT HECK 2. HARDWARE CONFIGURATION ....................9 ISO-P32C32 B ....................9 OARD AYOUT ISO-P32S32W B ...................10 OARD AYOUT 2.2.1 Jumper Setting ........................11 2.2.2 IRQ Circuit diagram ......................12...
  • 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 ................
  • Page 4: Introduction

    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 &...
  • Page 5: Iso-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...
  • Page 6: Iso-P64

    1.1.3 ISO-P64 Model Name ISO-P64 Digital Input Isolation Voltage 3750 Vrms (Using external power) 3000 Vrms (Using internal power) Channels Compatibility Photo Coupler Isolated Input Voltage Logic 0: DC 0 ~ 1 V Logic 1: DC 9 ~ 24 V Response Speed 4 kHz (Typical) General...
  • Page 7: Order Description

    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...
  • Page 8: Product Check List

    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.
  • Page 9: Hardware Configuration

    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...
  • Page 10: Iso-P32S32W Board Layout

    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...
  • Page 11: Jumper Setting

    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.
  • Page 12: Irq Circuit Diagram

    2.2.2 IRQ Circuit diagram Figure 2-2: Select circuit diagram of IRQ for ISO-P32C32/P32S32W board. Interrupt happend to rising edge External signal inupt to channel 0 or channel 16 Figure 2-3: Interrupt happened to rising edge. -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 13: I/O Base Address Setting

    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.
  • Page 14 ISO-P32C32/P32S32W Base Address Table: (*): Default setting S1 Dip Switch Address (Hex) 200 (*) -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 15 -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 16: I/O Register Address

    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...
  • Page 17: Iso-P64 Board Layout

    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)
  • Page 18: Jumper Setting

    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.
  • Page 19 ISO-P64 Base Address Table: (*): Default setting S1 Dip Switch Address (Hex) 200 (*) -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 20 -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 21: I/O Register Address

    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...
  • Page 22: Iso-C64 Board Layout

    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...
  • Page 23: I/O Base Address Setting

    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.
  • Page 24 ISO-C64 Base Address Table: (*): Default setting S1 Dip Switch Address (Hex) 200 (*) -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 25 -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 26: I/O Register Address

    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...
  • Page 27: Isolated D/I Architecture

    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)
  • Page 29: Sample D/I Architecture For Internal Power

    DC / DC (-) GND Internal (-) External GND PC's Power (+) Internal R=4.7k R=3K DI 0 Switch 0 R=4.7k R=3K DI 1 Switch 2 R=4.7k R=3K DI 2 Switch ISO-P32C32 & ISO-P64 -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 30: Sample D/I Architecture For External Power

    2.5.2 Sample D/I Architecture for External Power -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 31: Isolated D/O Architecture

    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, ...
  • Page 33: Sample D/O Architecture

    2.6.1 Sample D/O Architecture -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 34 Open-Collector wiring Notice -P32C32/P32S32W/P64/C64 User Manual (Ver.1.9, Oct. 2011, IMH-000-19)
  • Page 35: Daughter Boards

    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.
  • Page 36: Pin Assignment Of Iso-P32C32

    2.8 Pin Assignment of ISO-P32C32 CON2: Pin assignment External External Power GND (-) Power GND (-) DO: 0-15 (-) Internal Internal ISO-P32C32 DO: 0-15 (-) DI 0 DO 0 External External DI 1 DO 1 DI 2 1 2 3 4 5 6...
  • Page 37: Pin Assignment Of Iso-P32S32W

    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...
  • Page 38: Pin Assignment Of Iso-P64

    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...
  • Page 39: Pin Assignment Of Iso-C64

    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...
  • Page 40: The Applications Of Digital I/O

    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...
  • Page 43: The Example Of Iso-P64

    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.
  • Page 46: The Example Of Iso-C64

    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...
  • Page 49: Demo Program

    /* 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);...
  • Page 50: Demo2 D/Ifor Iso-P32C32/P32S32W

    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;...
  • Page 51: Demo3 D/I/Ofor Iso-P32C32/P32S32W

    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)
  • Page 53: P32C Int

    << s << endl ; cout << "Press <Enter> key to exit." << endl; getchar(); return 1; int main(void) cout<< "Demo program for Interrupt of ISO-P32C32"<< endl; cout<<*****************************************" << endl; cout<<"Wire connection.." << endl; cout<<"Setting JP1, JP2 to Internal Power" << endl; cout<<"Connect DO0 with DI0 =>...
  • Page 54 wApcCount = 0 ; if( DIO_DriverInit() != 0 ) return MyErr( "Driver Initialize Error!!" ); else cout << "Driver Initialize OK!!" << endl; if( DIO_RegisterApc(RegisterApcFunction) != 0 ) return MyErr( "Register APC Error!!" ); else cout << "Register APC OK!!" << endl; if ( DIO_InstallIrq(wBase,static_cast<WORD>( nIRQ ) ) != 0 ) return MyErr( "Interrupt Install Error!!"...
  • Page 55: Demo1 D/Ifor Iso-P64

    4.5 DEMO1 D/I for ISO-P64 /* --------------------------------------------------------------- */ /* Demo 1: Digital Input of ISO-P64 /* Step 1: The circuit diagram of hardware: refer to Sec 3.2 /* Step 2: run demo1.EXE /* --------------------------------------------------------------- */ #define wBase 0x200 #include <dos.h> void main() char c;...
  • Page 56: Demo1 D/Ofor Iso-C64

    4.6 DEMO1 D/O for ISO-C64 /* --------------------------------------------------------------- */ /* Demo 1: Digital Output of ISO-C64 /* Step 1: The circuit diagram of hardware: refer to Sec 3.3 /* Step 2: run demo1.EXE /* --------------------------------------------------------------- */ #define wBase 0x200 #include <dos.h> void main() char c;...

This manual is also suitable for:

Iso-p32s32wIso-c64Iso-p64

Table of Contents