background image

Digital I/O Board with Opto-Isolation for PCI

PIO-64/64L(PCI)

Digital Input Board with Opto-Isolation for PCI

PI-128L(PCI)

Digital Output Board with Opto-Isolation for PCI

PO-128L(PCI)

User’s Guide

Summary of Contents for PI-128L

Page 1: ...Digital I O Board with Opto Isolation for PCI PIO 64 64L PCI Digital Input Board with Opto Isolation for PCI PI 128L PCI Digital Output Board with Opto Isolation for PCI PO 128L PCI User s Guide ...

Page 2: ...product consists of the items listed below Check with the following list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board PIO 64 64L PCI PI 128L PCI or PO 128L PCI 1 This User s Manual 1 CD ROM API PAC W32 1 Board CD ROM API PAC W32 Manual Manual ...

Page 3: ...ent is subject to change without notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC Co LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document nor for results obtained by the user as a result of...

Page 4: ...cautions 4 Safety Information 4 Handling Precautions 5 Environment 6 Inspection 6 Storage 6 2 SETUP 7 What is Setup 7 Using the Board under Windows Using the API Function Library Package API PAC W32 7 Using the Board under Window Using Software Other than the API Function Library Package API PAC W32 8 Using the Board under an OS Other than Windows 8 Step 1 Installing the Software 9 Starting the In...

Page 5: ...g a Device to a Connector 25 Connector Pin Assignment 26 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 29 Connecting Input Signals 32 Input Circuit 32 Connecting a Switch 32 Connecting Output Signals 33 Output Circuit 33 Example of Connection to LED 34 Example of Connection to TTL Level Input 34 Connecting the Sink Type Output and Sink Output Support Input 35 4 FUN...

Page 6: ...I 128L PCI PO 128L PCI v 5 ABOUT SOFTWARE 41 Accessing the Help File 41 Using Sample Programs 42 Uninstalling the API Function Libraries 44 CD ROM Directory Structure 45 6 ABOUT HARDWARE 47 Hardware specification 47 Block Diagram 51 ...

Page 7: ...CONTEC CO LTD vi PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 8: ... programming language supporting Win32 API functions such as Visual Basic or Visual C C Features Common power supply configuration in 16 channel units capable of supporting different external power supplies Opto coupler used to electrically isolated I O signal interface from the PCI bus offering good noise immunity Capable of using up to 16 channels of input signals as interrupt inputs Also capabl...

Page 9: ...ed by the installed diagnosis program to check hardware operations CONTEC provides download services at http www contec co jp en to supply the updated drivers and differential files For details read Help on the bundled CD ROM or visit the CONTEC s Web site Operating environment OS Windows XP 2000 NT Me 98 etc Adaptation language Visual C C Borland C Visual Basic etc Others Each piece of library so...

Page 10: ...this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original boards The warranty is not applicable if the device has been tampered with or damaged through abuse...

Page 11: ...y or death and the destruction of equipment and resources Understand the meanings of these labels to operate the equipment safely DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury WARNING WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury CAUTION CAUTION indicates a pot...

Page 12: ...ean the terminals with industrial alcohol Do not install or remove the board to or from the slot while the computer s power is turned on Otherwise the board may malfunction overheat or cause a failure Doing so could cause trouble Be sure that the personal computer or the I O expansion unit power is turned off Make sure that your PC or expansion unit can supply ample power to all the boards install...

Page 13: ...ion Inspect the product periodically as follows to use it safely Check that the board has no dust or foreign matter adhering The gold plated leads of the bus connector have no stain or corrosion Check that the bus connector of the board and its cable have been plugged correctly Storage When storing this product keep it in its original packing form 1 Put the board in the storage bag 2 Wrap it in th...

Page 14: ...ibes the setup procedure to be performed before you can start developing application programs for the board using the bundled CD ROM API Function Library Package API PAC W32 Taking the following steps sets up the software and hardware You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step ...

Page 15: ...t software See also the following parts of this manual as required This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware Using the Board under an OS Other than Windows For using the board under an OS other than Windows see the following parts of this manual This chapter Step 2 Setting the Hardware Chapter 3 Exter...

Page 16: ...ption assumes the operating system as Windows Me Although some user interfaces are different depending on the OS used the basic procedure is the same Starting the Install Program 1 Load the CD ROM API PAC W32 on your PC 2 The API PAC W32 Installer window appears automatically If the panel does not appear run CD ROM drive letter AUTORUN exe 3 Click on the Install the drivers button CAUTION Before i...

Page 17: ...I PI 128L PCI PO 128L PCI Selecting the Digital I O Driver 1 The following dialog box appears to select Driver Type and Install Type 2 Select Digital I O API DIO 98 PC W95 3 Select Driver Help etc Full Install 4 Click on the Install button ...

Page 18: ...dware setup now and Show readme file check boxes are displayed When you are installing the software or hardware for the first time 1 Uncheck Perform a hardware setup now 2 Click on the Finish button Go to Step 2 to set and plug the hardware When the hardware has already been installed Check Perform a hardware setup now then go to Step 4 Initializing the Software You have now finished installing th...

Page 19: ...o an expansion slot The board can be set up even with the factory defaults untouched You can change board settings later Parts of the Board and Factory Defaults Figure 2 1 shows the names of major parts on the board Note that the switch setting shown below is the factory default Interface connector CNA CNB PIO PI PO xx PCI SW1 BOARD ID SW1 BOARD ID 0 1 2 3 4 5 6 7 9 A B C D E F CNA CNB BOARD ID Se...

Page 20: ... distinguish them The board IDs can be set from 0 to Fh to identify up to sixteen boards If only one board is used the original factory setting Board ID 0 should be used Setting Procedure To set the board ID use the rotary switch on the board Turn the SW1 knob to set the board ID as shown below BOARD ID Board ID 0 Factory setting SW1 0 1 2 3 4 5 6 7 9 A B C D E F Figure 2 2 Board ID Settings SW1 ...

Page 21: ...herwise the board may malfunction overheat or cause a failure If the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not install or remove the board to or from the slot while the computer s power is turned on Otherwise the board may malfunction overheat or cause a failure Doing so could cause trouble Be sure that the personal computer or the I O expansion un...

Page 22: ...ted Before attempting to install the board first determine what PC resources are free to use The resources used by each board do not depend on the location of the PCI bus slot or the board itself If you remove two or more boards that have already been installed and then remount one of them on the computer it is unknown that which one of the sets of resources previously assigned to the two boards i...

Page 23: ...er the board Source folder The setup information INF file is contained in the following folder on the bundled CD ROM Windows XP 2000 INF Win2000 Dio PCI Windows Me 98 95 INF Win95 Dio PCI Example of specifying the folder for use under Windows Me INF Win95 Dio PCI The name of the board you have just added is displayed PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 24: ...ile This dialog box appears only indicating that the relevant driver has not passed Windows Logo testing and it can be ignored without developing any problem with the operation of the board In this case click on the Continue Anyway button You have now finished installing the hardware The name of the board you have just added is displayed PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 25: ... called the initialization of the API function library Invoking API TOOL Configuration 1 Open the Start Menu then select Programs CONTEC API PAC W32 API TOOL Configuration 2 API TOOL Configuration detects boards automatically The detected boards are listed Updating the Settings 1 Select Save settings to registry from the File menu You have now finished installing the initial setting of Software ...

Page 26: ...atus and interrupt status Check Method Connect the board to a remote device to text the input output and check the execution environment For this board prepare an external power supply 12 to 24 V The Check Mate CM 64 PC E comes in handy when you check digital I O boards Check the board with the factor defaults untouched Connection diagram Optional cables PCB100 96PS xx C onnector C M 64 PC E G RO ...

Page 27: ...nosis Program Starting the Diagnosis Program Select the board in the API TOOL Configuration windows then run the Diagnosis Program The name of the board you have just added is displayed The name of the board you have just added is displayed PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 28: ... Interrupt Displays the number of interrupts detected bit by bit To use the wait time control feature click on the Wait Configuration button Use the feature when the wait time based on the DioWait or DioWaitEx function is not normal To use the function execution time measurement feature click on the Measurement Time button Enter the I O start port and the number of ports then press the measurement...

Page 29: ... install folder Program Files CONTEC API PAC W32 The Diagnosis Program performs board presence absence check driver file test board setting test and so on CAUTION Before executing diagnosis report output unplug the cable from the board 2 A diagnosis report is displayed as shown below Click on Show Diagnosis Report The name of the board you have just added is displayed PIO 64 64L PCI PI 128L PCI PO...

Page 30: ...g as the board operates with the Diagnosis Program it is to operate with other applications as well In such cases review your program while paying attention to the following points Check the arguments to functions and their return values When the board is an isolated type it has a time lag for its response between the output by a function and the actual output Consider the execution intervals betw...

Page 31: ...2 Setup CONTEC CO LTD 24 PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 32: ...able here when connecting an external device Using the On board Connectors Connecting a Device to a Connector To connect an external device to this board plug the cable from the device into the interface connector CAN CNB shown below Conn ector used H D RA E100W 1LFDT1EC SL m fd by HO N DA equivalen t Applicable conn ector H D RA E100M A 1 m fd by H ON DA In terface con nector CN A CNB Figure 3 1 ...

Page 33: ... 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 N C N C N C N C N C N C I 0 0 I 0 1 I 0 2 I 0 3 I 0 4 I 0 5 I 0 6 I 0 7 I 1 0 I 11 I 1 2 I 1 3 I 1 4 I 1 5 I 1 6 I 1 7 P 0 1 P 0 1 N C N C N C N C N C N C N C N C I 2 0 I 2 1 I 2 2 I 2 3 I 2 4 I 2 5 I 2 6 I 2 7 I 3 0 I 3 1 I 3 2 I 3 3 I 3 4 I 3 5 I 3 6 I 3 7 P 2 3 P 2 3 C...

Page 34: ...94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 P E F P E F I F7 I F6 I F5 I F4 I F3 I F2 I F1 I F0 I E7 I E6 I E5 I E4 I E3 I E2 I E1 I E0 N C N C N C N C N C N C N C N C P C...

Page 35: ...F O F 7 O F 6 O F 5 O F 4 O F 3 O F 2 O F 1 O F 0 O E 7 O E 6 O E 5 O E 4 O E 3 O E 2 O E 1 O E 0 N E F N E F N E F N E F N E F N E F N C N C P C D P C D O D 7 O D 6 O D 5 O D 4 O D 3 O D 2 O D 1 O D 0 O C 7 O C 6 O C 5 O C 4 O C 3 O C 2 O C 1 O C 0 N C D N C D N C D N C D N C D N C D C N B Com mon plus pin for E F output ports F port O utput E port O utput D port O utput C port O utput C om m on ...

Page 36: ...41 33 I 40 32 Input logical port 5 I 57 47 I 56 46 I 55 45 I 54 44 I 53 43 I 52 42 I 51 41 I 50 40 Input logical port 6 I 67 55 I 66 54 I 65 53 I 64 52 I 63 51 I 62 50 I 61 49 I 60 48 Input logical port 7 I 77 63 I 76 62 I 75 61 I 74 60 I 73 59 I 72 58 I 71 57 I 70 56 D7 D6 D5 D4 D3 D2 D1 D0 Output logical port 0 O 87 7 O 86 6 O 85 5 O 84 4 O 83 3 O 82 2 O 81 1 O 80 0 Output logical port 1 O 97 15...

Page 37: ...55 I 66 54 I 65 53 I 64 52 I 63 51 I 62 50 I 61 49 I 60 48 Input logical port 7 I 77 63 I 76 62 I 75 61 I 74 60 I 73 59 I 72 58 I 71 57 I 70 56 Input logical port 8 I 87 71 I 86 70 I 85 69 I 84 68 I 83 67 I 82 66 I 81 65 I 80 64 Input logical port 9 I 97 79 I 96 78 I 95 77 I 94 76 I 93 75 I 92 74 I 91 73 I 90 72 Input logical port 10 I A7 87 I A6 86 I A5 85 I A4 84 I A3 83 I A2 82 I A1 81 I A0 80 ...

Page 38: ...3 59 O 72 58 O 71 57 O 70 56 Output logical port 8 O 87 71 O 86 70 O 85 69 O 84 68 O 83 67 O 82 66 O 81 65 O 80 64 Output logical port 9 O 97 79 O 96 78 O 95 77 O 94 76 O 93 75 O 92 74 O 91 73 O 90 72 Output logical port 10 O A7 87 O A6 86 O A5 85 O A4 84 O A3 83 O A2 82 O A1 81 O A0 80 Output logical port 11 O B7 95 O B6 94 O B5 93 O B4 92 O B3 91 O B2 90 O B1 89 O B0 88 Output logical port 12 O ...

Page 39: ...IO 64 64L PCI PI 128L PCI The input circuit of this board is illustrated in Figure 3 5 The on board opto couplers isolate internal input circuits from outside devices The input channels are to be connected with current sinking output signals Driving these opto isolated circuits require an additional power supply isolated from the PC system When a 12VDC external power is used each input channel wil...

Page 40: ...an opto isolated open collector output current sink type Driving the output section requires an external power supply The rated output current per channel is 100 mA at maximum The output section can also be connected to a TTL level input as it uses a low saturated transistor for output The residual voltage low level voltage between the collector and emitter with the output on is 0 5 V or less at a...

Page 41: ...sponding LED com es on W hen 0 is output to the bit in con trast the LE D goes out External Power Supply 12V to 24VDC Figure 3 8 An Example to use Output O 80 PIO 64 64L PCI PO 128L PCI Example of Connection to TTL Level Input C om m on plu s for output Ou tput TTL Level In put V CC Inpu t Boa rd G ND 2kΩ External Pow er Supply 1 2V to 24VD C Com m on M innus for output Figure 3 9 Connection Examp...

Page 42: ... output board and a sink output support input input board Refer to this connection example when you connect such boards to each other Output Sin k Type Inpu t Sink O utput Support Extern al Power Su pply 12V to 24V DC Inpu t Board Com m on plus for output Com m on M inn us for ou tput Ou tput Board C om m on plus for input Figure 3 10 Example of Connecting the Sink Type Output and Sink Output Supp...

Page 43: ...3 External Connection CONTEC CO LTD 36 PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 44: ...FF in contrast 0 is input to the relevant bit Data Output When 1 is output to the relevant bit the corresponding transistor is set to ON When 0 is output to the relevant bit in contrast the corresponding transistor is set to OFF CAU TION When the PC is turned on all output are reset to 0 OFF Monitoring Output Data The PIO 64 64L PCI and PO 128L PCI can read the state of the data currently being ou...

Page 45: ...e Set the digital filter time to 0 to 24 14h Setting the digital filter time to 0 disables digital filtering It is set to 0 when the power is turned on Table 4 1 shows the relationships between digital filter time settings and the actual digital filter times Digital Filter Time sec 2n 8 106 n setting data 0 to 20 Table 4 1 Digital Filter Time and Setting Data Setting Data n Digital Filter Time Set...

Page 46: ...ing the Interrupt Edge Interrupt edge select bits can be used to set the input logic for interruption bit by bit If you set an interrupt edge select bit to 0 an interrupt occurs when the input value to the corresponding bit changes from 0 to 1 at the fall of the input signal from High to Low If you set an interrupt edge select bit to 1 an interrupt occurs when the input value to the corresponding ...

Page 47: ...4 Functions CONTEC CO LTD 40 PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 48: ...digital input output of specified bits Hardware digital filtering that prevents chattering For details refer to the help file The help file provides various items of information such as Function Reference Sample Programs and FAQs Use them for program development and troubleshooting Accessing the Help File 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONT...

Page 49: ... and group number set by API TOOL Configuration in the DrvNo and GrpNo fields Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC API PAC W32 Dio Samples Running a Sample Program 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONTEC API PAC W32 Dio SAMPLE 3 A sample prog...

Page 50: ... through a specified bit Sample program 6 Services interrupts of a specified board Sample program 7 Performs process control of a specified board Sample program 8 Performs trigger monitoring of a specified board Sample program 9 Inputs digital data through a specified port using BCD data Sample program 10 Executes digital input simple functions at specified bits through a specified port Sample pro...

Page 51: ...procedure below 1 Click on the Start button on the Windows taskbar From the Start Menu select Settings Control Panel 2 Double click on Add Remove Programs in the Control Panel 3 Select CONTEC API DIO 98 PC xx from the application list displayed then click on the Add Remove button Follow the on screen instructions to uninstall the function libraries ...

Page 52: ...rmation on each API TOOL APIPAC AIO Disk 1 Disk 2 Disk N CNT FreeSamples Sample programs in Delphi and Builder Builder 1 0 HELP HELP file Aio Cnt INF OS specific INF file folder Windows 9X 2000 WDM Win2000 Win95 Manual Reference Manual PDF type Readme Driver readme file folder Release Driver file For creation of a user specific install program API_NT API_W95 ...

Page 53: ...5 About Software CONTEC CO LTD 46 PIO 64 64L PCI PI 128L PCI PO 128L PCI ...

Page 54: ... interrupt Input Response time 200µsec Max Type Opto Isolated Open Collector Output current sinking type Negative logic Number of Channels 64 channels 16 channels share a negative common Voltage 35VDC Max Rate Current 100mA channel Max Residual voltage with output on 0 5V or less Output current 50mA 1 0V or less Output current 100mA Surge protector Zener diode RD47FM NEC Output Response time 200µs...

Page 55: ...dware CONTEC CO LTD 48 PIO 64 64L PCI PI 128L PCI PO 128L PCI Board Dimensions mm The standard outside dimension L is the distance from the end of the board to the outer surface of the slot cover 176 41 L 106 68 H ...

Page 56: ...ling edge of input signal can generate interrupt Input Response time 200µsec Max I O address Any 32 byte boundary Interrupt level 1 level use Boards in one system Maximum of 16 boards can be install in a same system Isolated voltage 250Vrms External power supply 12 to 24VDC 10 Power consumption 5VDC 500mA Max Operating condition 0 to 50 C 10 to 90 RH No condensation Connecting distance 50m Typ dep...

Page 57: ...tput Response time 200µsec Max I O address Any 32 byte boundary Interrupt level not use Boards in one system Maximum of 16 boards can be install in a same system Isolated voltage 250Vrms External power supply 12 to 24VDC 10 Power consumption 5VDC 500mA Max Operating condition 0 to 50 C 10 to 90 RH No condensation Connecting distance 50m Typ depending on wiring environment PCI bus specification 32b...

Page 58: ...rt3 8ch Group3 External Digital Input Port4 8ch Group4 External Digital Input Port5 8ch Group5 External Digital Input Port6 8ch Group6 External Digital Input Port7 8ch Group7 External Digital Output Port8 8ch Group8 External Digital Output Port9 8ch Group9 External Digital Output PortA 8ch GroupA External Digital Output PortB 8ch GroupB External Digital Output PortC 8ch GroupC External Digital Out...

Page 59: ...xternal Digital Input Port4 8ch Group4 External Digital Input Port5 8ch Group5 External Digital Input Port6 8ch Group6 External Digital Input Port7 8ch Group7 External Digital Input Port8 8ch Group8 External Digital Input Port9 8ch Group9 External Digital Input PortA 8ch GroupA External Digital Input PortB 8ch GroupB External Digital Input PortC 8ch GroupC External Digital Input PortD 8ch GroupD E...

Page 60: ...ital Ou tput Port4 8ch Group4 Extern al Digital Ou tput Port5 8ch Group5 External Digital Ou tput Port6 8ch Group6 External Digital Ou tput Port7 8ch Group7 External Digital Ou tput Port8 8ch Group8 Extern al Digital Ou tput Port9 8ch Group9 Extern al Digital Ou tput PortA 8ch GroupA Extern al Digital Ou tput PortB 8ch GroupB Extern al Digital Ou tput PortC 8ch GroupC Extern al Digital Ou tput Por...

Page 61: ...A 46 647 LYBN981 020712 ...

Page 62: ...Kuro ku Seoul Korea Tel 82 2 2636 4277 8 Fax 82 2 2636 4279 E mail product conteck com CHINA INTERNATIONAL CONTEC TECHNOLOGY CO LTD B 8F Hua Tong Building No B19 Che Gong Zhuang West Road Hai Dian District Beijing 100044 China Tel 86 10 8801 8228 Fax 86 10 8801 8209 E mail ict ict com cn SHANGHAI CONTEC MICROELECTRONICS CORP No 481 Gui Ping Road Cao He Jing Hi Tech Park Shanghai 200233 China Tel 8...

Reviews: