Contec PIO-64, PO-128L, PI-128L, PIO-64L User Manual

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
Check Your Package
Thank you for purchasing the CONTEC product. The 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
Manual
Board
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
Manual
CD-ROM
[API-PAC(W32)]
i
Page 3
Copyright
Copyright 2002 CONTEC Co., LTD. ALL RIGHTS RESERVED No part of this document may be copied or reproduced in any form by any means without prior written
consent of CONTEC Co., LTD.
CONTEC Co., LTD. makes no commitment to update or keep current the information contained in this document. The information in this document 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 using this product.
Trademarks
MS, Microsoft, MS-DOS and Windows are trademarks of Microsoft Corporation. Other brand and product names are trademarks of their respective holder.
ii
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 4
Table of Contents
Check Your Package....................................................................................................................................i
Copyright.....................................................................................................................................................ii
Trademarks..................................................................................................................................................ii
Table of Contents.......................................................................................................................................iii
1. BEFORE USING THE PRODUCT 1
About the Board .......................................................................................................................................... 1
Features.................................................................................................................................................1
Support Software ................................................................................................................................. 2
Cable & Connector (Option).............................................................................................................2
Accessories (Option)..........................................................................................................................2
Customer Support.......................................................................................................................................3
Web Site http://www.contec.co.jp/en/...............................................................................................3
Limited Three-Year Warranty...................................................................................................................3
How to Obtain Service...............................................................................................................................3
Liability........................................................................................................................................................ 3
Safety Precautions.......................................................................................................................................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 Install Program................................................................................................................9
Selecting the Digital I/O Driver ....................................................................................................... 10
Executing the Installation.................................................................................................................11
Step 2 Setting the Hardware....................................................................................................................12
Parts of the Board and Factory Defaults ......................................................................................... 12
Setting the Board ID..........................................................................................................................13
Plugging the Board............................................................................................................................14
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
iii
Page 5
Step 3 Installing the Hardware ................................................................................................................ 15
Turning on the PC ............................................................................................................................. 15
Setting with the Add New Hardware Wizard.................................................................................15
Step 4 Initializing the Software...............................................................................................................18
Invoking API-TOOL Configuration................................................................................................ 18
Updating the Settings ........................................................................................................................ 18
Step 5 Checking Operations with the Diagnosis Program...................................................................19
What is the Diagnosis Program?......................................................................................................19
Check Method.................................................................................................................................... 19
Using the Diagnosis Program...........................................................................................................20
Setup Troubleshooting.............................................................................................................................23
Symptoms and Actions.....................................................................................................................23
If your problem cannot be resolved.................................................................................................23
3. EXTERNAL CONNECTION 25
Using the On-board Connectors.............................................................................................................. 25
Connecting 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. FUNCTIONS 37
Data I/O Function.....................................................................................................................................37
Data Input...........................................................................................................................................37
Data Output........................................................................................................................................37
Monitoring Output Data....................................................................................................................37
Digital Filter Function of Input Channels.............................................................................................. 38
Digital Filter Function Principle...................................................................................................... 38
Set Digital Filter Time......................................................................................................................38
Interrupt Control Function ....................................................................................................................... 39
Disabling/enabling Interrupts...........................................................................................................39
Selecting the Interrupt Edge............................................................................................................. 39
Clearing the Interrupt Status and Interrupt Signal.........................................................................39
iv
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 6
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
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
v
Page 7
vi
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 8
1. Before Using the Product
1. Before Using the Product
This chapter provides information you should know before using the product.
About the Board
This board is a PCI-compliant interface board for input/output of digital signals. The board can input the open/closed circuit states of switches and can control relays. <PIO-64/64L(PCI)> can input and output up to 64 channels.
<PI-128L(PCI)> can input up to 128 channels. <PO-128L(PCI)> can output up to 128 channels.
Using the bundled API function library package [API-PAC(W32)], you can create Windows application software for this board in your favorite 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 capable of selecting the input signal edge for generating interrupts <PIO-64/64L(PCI)>, <PI-128L(PCI)>
- Digital filtering that prevents input signal noise and chattering. <PIO-64/64L(PCI)>, <PI-128L(PCI)>
- Up to 35VDC, 100mA per signal, max. output. <PIO-64/64L(PCI)>, <PO-128L(PCI)>
- Zener diode connected to output transistors for protection from surge voltage. Over-current protective device provided for every eight channels of output transistors. <PIO-64/64L(PCI)>, <PO-128L(PCI)>
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
1
Page 9
1. Before Using the Product
Support Software
You should use CONTEC support software according to your purpose and development environment. Driver Software Package
API-PAC(W32) is the library software that provides the commands for CONTEC hardware products in the form of Windows standard Win32 API functions (DLL). It makes it easy to create high-speed application software taking advantage of the CONTEC hardware using various programming languages that support Win32 API functions, such as Visual Basic and Visual C/C++.
It can also be used 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 software requires 20 megabytes of free hard disk space.
API-PAC(W32)
(Bundled)
Cable & Connector (Option)
Connection Conversion Shield Cable (100P→96P) : PCB100/96PS-* (1.5m, 3m, 5m)
Accessories (Option)
Screw Terminal : EPD-96 *1 Digital I/O 64CH Series Terminal Panel : DTP-64(PC) *1 Signal Monitor for Digital I/O(64Bits) : CM-64(PC)E *1
*1: A PCB100/96PS optional cable is required separately.
* Check the CONTEC’s Web site for more information on these options.
2
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 10
1. Before Using the Product
Customer Support
CONTEC provides the following support services for you to use CONTEC products more efficiently and comfortably.
Web Site http://www.contec.co.jp/en/
Latest product information CONTEC provides up-to-date information on products. CONTEC also provides product manuals and various technical documents in the PDF.
Free download You can download updated driver software and differential files as well as sample programs available in
several languages.
Note! For product information Contact your retailer if you have any technical question about a CONTEC product or need its price, delivery time, or estimate information.
Limited Three-Year Warranty
CONTEC Interface boards are warranted by CONTEC Co., LTD. to be free from defects in material and workmanship for up to three years from the date of purchase by the original purchaser.
Repair will be free of charge only when 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, mistreatment, neglect, or unreasonable use, or if the original invoice is not included, in which case repairs will be considered beyond the warranty policy.
How to Obtain Service
For replacement or repair, return the device freight prepaid, with a copy of the original invoice. Please obtain a Return Merchandise Authorization Number (RMA) from the CONTEC group office where you purchased before returning any product.
* No product will be accepted by CONTEC group without the RMA number.
Liability
The obligation of the warrantor is solely to repair or replace the product. In no event will the warrantor be liable for any incidental or consequential damages due to such defect or consequences that arise from inexperienced usage, misuse, or malfunction of this device.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
3
Page 11
1. Before Using the Product
Safety Precautions
Understand the following definitions and precautions to use the product safely.
Safety Information
This document provides safety information using the following symbols to prevent accidents resulting in injury or death and the destruction of equipment and resources. Understand the meanings of these labels to operate the equipment safely.
DANGER
WARNING
CAUTION
DANGER indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
WARNING indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury or in property damage.
4
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 12
1. Before Using the Product
Handling Precautions
DANGER
Do not use the product where it is exposed to flammable or corrosive gas. Doing so may result in an explosion, fire, electric shock, or failure.
CAUTION
- There are switches on the board that need to be set in advance. Be sure to check these before installing the board.
- Only set the switches and jumpers on the board to the specified settings. Otherwise, the board may malfunction, overheat, or cause a failure.
- Do not strike or bend the board. Doing so could damage the board. Otherwise, the board may malfunction, overheat, cause a failure or breakage.
- Do not touch the board's metal plated terminals (edge connector) with your hands. Otherwise, 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 unit power is turned off.
- Make sure that your PC or expansion unit can supply ample power to all the boards installed.
Insufficiently energized boards could malfunction, overheat, or cause a failure.
- The specifications of this product are subject to change without notice for enhancement and quality
improvement. Even when using the product continuously, be sure to read the manual and understand the contents.
- Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this product.
- Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever (including damages for loss of business profits) arising out of the use or inability to use this CONTEC product or the information contained herein.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
5
Page 13
1. Before Using the Product
- Check that the bus connecto
r
Environment
Use this product in the following environment. If used in an unauthorized environment, the board may overheat, malfunction, or cause a failure.
Operating temperature
0 to 50ºC
Humidity
10 to 90%RH (No condensation)
Corrosive gases
None
Floating dust particles
Not to be excessive
Inspection
Inspect the product periodically as follows to use it safely.
of the board and its cable have been plugged correctly .
- Check that the board has no dust or foreign matter adhering.
- The gold-plated leads of the bus connector have no stain or corrosion.
Storage
When storing this product, keep it in its original packing form. (1) Put the board in the storage bag. (2) Wrap it in the packing material, then put it in the box. (3) Store the package at room temperature at a place free from direct sunlight, moisture, shock,
vibration, magnetism, and static electricity.
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
6
CONTEC CO., LTD.
Page 14
2. Setup
2. Setup
This chapter explains how to set up the board.
What is Setup?
Setup means a series of steps to take before the product can be used. Different steps are required for software and hardware The setup procedure varies with the OS and applications used.
Using the Board under Windows
Using the API Function Library Package API-PAC(W32)
This section describes 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 3 Installing the Hardware Step 4 Initializing the Software Step 5 Checking Operations with the Diagnosis Program
If Setup fails to be performed normally, see the “Setup Troubleshooting” section at the end of this chapter.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
7
Page 15
2. Setup
Using the Board under Window
Using Software Other than the API Function Library Package API-PAC(W32)
For setting up software other than API-PAC(W32), refer to the manual for that 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 External Connection Chapter 6 About Hardware
8
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 16
Step 1 Installing the Software
This section describes how to install the API function libraries. Before installing the hardware on your PC, install the API function libraries from the bundled
API-PAC(W32) CD-ROM. The following description 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.
2. Setup
CAUTION
Before installing the software in Windows XP, 2000, or NT, log in as a user with administrator privileges.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
9
Page 17
2. Setup
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.
10
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 18
2. Setup
Executing the Installation
(1) Follow the on-screen instructions to proceed to install. (2) When the required files have been copied, the “ Perform a hardware 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 the software.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
11
Page 19
2. Setup
Step 2 Setting the Hardware
This section describes how to set the board and plug it on your PC. The board has some switches and jumper to be preset. Check the on-board switches and jumpers before plugging the board into 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.
PIO/PI/PO-xx(PCI)
SW1
BOARD ID
- BOARD ID Setting Switch
SW1
BOARD ID
9
7
A
6
B
5
C
4
D
3
E
2
F
1
0
- Interface connector(CNA,CNB)
CNACNB
Figure 2.1. Component Locations <PIO-64/64L(PCI)>, <PI-128L(PCI)>, <PO-128L(PCI)>
12
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 20
2. Setup
Setting the Board ID
If you install two or more boards on one personal computer, assign a different ID value to each of the boards to 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.
SW1
BOARD ID
9
7
A
6
B
5
C
4
D
3
E
Factory setting:
2
F
0
1
Figure 2.2. Board ID Settings (SW1)
(Board ID = 0)
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
13
Page 21
2. Setup
Plugging the Board
(1) Before plugging the board, shut down the system, unplug the power code of your PC. (2) Remove the cover from the PC so that the board can be mounted. (3) Plug the board into an expansion slot. (4) Put the cover back into place.
CAUTION
- Do not touch the board's metal plated terminals (edge connector) with your hands. Otherwise, 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 unit power is turned off.
- Make sure that your PC or expansion unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure.
14
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 22
2. Setup
Step 3 Installing the Hardware
For using an expansion board under Windows, you have to let the OS detect the I/O addresses and IRQ to be used by the board. The process is referred to as installing the hardware.
In the case of using two or more boards, make sure you install one by one with the Add New Hardware Wizard.
Turning on the PC
Turn on the power to your PC.
CAUTION
- The board cannot be properly installed unless the resources (I/O addresses and interrupt level) for the board can be allocated. 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 is assigned to the remounted board. In this case, you must check the resource settings.
Setting with the Add New Hardware Wizard
(1) The “Add New Hardware Wizard” will be started.
Select “Specify the location of the driver”, then click on the [Next] button.
If you are using Windows NT 4.0, the “Add New Hardware Wizard” is not started. Go to Step 4 “Initializing the Software”.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
15
Page 23
2. Setup
(2) Specify that folder on the CD-ROM which contains the setup information (INF) file to register the
board.
* The name of the board you have just added is displayed.
- PIO-64/64L(PCI)
- PI-128L(PCI)
- PO-128L(PCI)
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
16
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 24
2. Setup
CAUTION
In Windows XP, the Hardware Wizard displays the following alert dialog box when you have located the INF file. 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.
* The name of the board you have just added is displayed.
- PIO-64/64L(PCI)
- PI-128L(PCI)
- PO-128L(PCI)
You have now finished installing the hardware.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
17
Page 25
2. Setup
Step 4 Initializing the Software
The API function library requires the initial setting to recognize the execution environment. It is 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.
18
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 26
2. Setup
Step 5 Checking Operations with the Diagnosis Program
Use the diagnosis program to check that the board and driver software work normally, thereby you can confirm that they have been set up correctly.
What is the Diagnosis Program?
The diagnosis program diagnoses the states of the board and driver software. It can also be used as a simple checker when an external device is actually connected. Using the “Diagnosis Report” feature reports the driver settings, the presence or absence of the board,
I/O status, 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
CM-64 (PC )E
GR OUP 0
GRO UP 1
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
Exte r nal Power Supply 12 to 24V DC
GR OUP 3
GRO U P 5
GRO U P 7
AC K S TB
GRO UP 2
7 6 5 4 3 2 1 0
GR OUP 4
7 6 5 4 3 2 1 0
GR OUP 6
7 6 5 4 3 2 1 0
POW ER
CN 3
Board
Connector
Optional cabl es PCB10 0 /96PS -xx
To connect a device other than the Check Mate, see Chapter 3 “External Connection”.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
19
Page 27
2. Setup
Using the Diagnosis 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)
20
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 28
Checking Digital Inputs and Outputs The main panel of the Diagnosis Program appears. You can check the current operation states of the board in the following boxes:
“Input Port ”: Displays input values bit by bit at fixed time intervals. “Output Port”: Mouse operation allows the data to output or display. “Interrupt ”: Displays the number of interrupts detected bit by bit.
* The name of the board you have just added is displayed.
- PIO-64/64L(PCI)
- PI-128L(PCI)
- PO-128L(PCI)
2. Setup
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 button. The time for each execution of a function will be measured.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
21
Page 29
2. Setup
Diagnosis Report (1) Clicking on the [Show Diagnosis Report] button displays detailed data such as board settings and
the diagnosis results while saving them in text format. The results are saved and displayed as a text file (DioRep.txt) in the 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.
* The name of the board you have just added is displayed.
- PIO-64/64L(PCI)
- PI-128L(PCI)
- PO-128L(PCI)
Click on [Show Diagnosis Report].
(2) A diagnosis report is displayed as shown below.
* The name of the board you have just added is displayed.
- PIO-64/64L(PCI)
- PI-128L(PCI)
- PO-128L(PCI)
22
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 30
2. Setup
Setup Troubleshooting
Symptoms and Actions
The board cannot be initialized. [Windows NT 4.0] The driver may not yet be activated. When using the board under an OS not compliant with Plug and Play, such as Windows NT 4.0, make
sure that the [PnP OS] BIOS option has been set to [NO], [disable], or [Do not use]. If the option has been set to [Windows 95], for example, the board may not be detected normally. For details on BIOS settings, refer to the user’s guide for your PC.
No output can be obtained. Use API-TOOL Configuration to check whether the board name setting is wrong.
The board works with the Diagnosis Program but not with an application. The Diagnosis Program is coded with API-TOOL functions. As long 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 between functions.
The OS won’t normally get started or detect the board. [Windows XP, 2000] Turn off the power to your PC, then unplug the board. Restart the OS and delete the board settings of
API-TOOL Configuration. Turn off the PC again, plug the board, and restart the OS. Let the OS detect the board and use API-TOOL Configuration to register board settings.
If your problem cannot be resolved
Refer to the FAQs in API-DIO HELP and, if you still have a question, contact your retailer with a report generated by the Diagnosis Report feature of the Diagnosis Program.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
23
Page 31
2. Setup
24
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 32
3. External Connection
3. External Connection
This chapter describes the interface connectors on the board and the external I/O circuits. Check the information available 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.
Interface connector
CN ACNB
- Conne c tor used HDRA-E100W1LF DT1 E C-SL
(m fd.by H O NDA )eq uiv alent
- Applicab le co nn ect or
H D RA-E 100MA1(mfd.by HON DA)
Figure 3.1. Interface Connector
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
25
Page 33
3. External Connection
Connector Pin Assignment
Pin Assignments of Interface Connector <PIO-64/64L(PCI)>
Co mmon plus pin for
+E/+F outp ut ports
+F port (Outp ut)
+E port (Outp ut)
Common m inu s p in for
+E/+F outp ut ports
Co mmon plus pin for
+
C/+D output ports
+D port (Outp ut)
+C port (Outp ut)
Common minus pin for
+C/+D output ports
* I-00 to I-17 can be used as interrupt sig nal.
P-E/F P-E/F
O-F7 O-F6 O-F5 O-F4 O-F3 O-F2 O-F1 O-F0 O-E7 O-E6 O-E5 O-E4 O-E3 O-E2 O-E1
O-E0 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-C7 O-C6 O-C5 O-C4 O-C3 O-C2 O-C1
O-C0 N - C/ D N - C/ D N - C/ D N - C/ D N - C/ D N - C/ D
10 0
99 98 97 96 95 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
CNB
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
+A/+B output ports
P -A /B O -B 7 O -B 6 O -B 5 O -B 4
+B port (Output)
O -B 3 O -B 2 O -B 1 O -B 0 O -A 7 O -A 6 O -A 5 O -A 4
+A port (Output)
O -A 3 O -A 2 O -A 1 O -A 0 N -A /B N -A /B
Common minus pin for
N -A /B
+A/+B output ports
N -A /B N -A /B N -A /B N .C . N .C . P -8/9
Common plus pin for
P -8/9
+8/+9 output ports
O -97 O -96 O -95 O -94
+9 port (Output)
O -93 O -92 O -91 O -90 O -87 O -86 O -85 O -84
+8 port (Output)
O -83 O -82 O -81 O -80 N -8/9 N -8/9
Common minus pin for
N -8/9
+8/+9 output ports
N -8/9 N -8/9 N -8/9
+0 port (Input)
+1 port (Input)
Common plus pin for
+0/+1 input ports
+2 Port (Input)
+3 Port (Input)
Common plus pin for
+2/+3 input ports
Common plus pin for
P -A /B
P-0/1 to P-6/7 Connect the positive side of the external power supply. These pins are common to 16 input
signal pins.
P-8/9 to P-E/F
Connect the positive side of the external power supply. These pins are common to 16 output signal pins.
N-8/9 to N-E/F Connect the negative side of the external power supply. These pins are common to 16 output
signal pins. A current of 0.3 A is allowable per connector pin. Connect the required number of pins for the
total current for the corresponding 16 output signals.
N.C. This pin is left unconnected.
N . C. N . C. N . C. N . C. N . C. N . C.
I-00
*
I-01
*
I-02
*
I-03
*
I-04
*
I-05
*
I-06
*
I-07
*
I-10
*
I-11
*
I-12
*
I-13
*
I-14
*
I-15
*
I-16
*
I-17
* P-0/1 P-0/1
N . C. N . C. N . C. N . C. N . C. N . C. N . C. N . C.
I-20 I-21 I-22 I-23 I-24 I-25 I-26 I-27 I-30 I-31 I-32 I-33 I-34 I-35 I-36
I-37 P-2/3 P-2/3
C NA
N .C .
1
51
N .C .
2
52
N .C .
3
53
N .C .
4
54
N .C .
5
55
N .C .
6
56
I-40
7
57
I-41
8
58
I-42
9
59
I-43
10
60
11
61
12
62
13
63
14
64
15
65
16
66
17
67
18
68
19
69
20
70
21
71
22
72
23
73
24
74
25
75
26
76
27
77
28
78
29
79
30
80
31
81
32
82
33
83
34
84
35
85
36
86
37
87
38
88
39
89
40
90
41
91
42
92
43
93
44
94
45
95
46
96
47
97
48
98
49
99
50
10 0
+4 port (Input)
I-44 I-45 I-46 I-47 I-50 I-51 I-52 I-53
+5 port (Input)
I-54 I-55 I-56 I-57 P -4/5
Common plus pin for
P -4/5
+4/+5 input ports
N .C . N .C . N .C . N .C . N .C . N .C . N .C . N .C . I-60 I-61 I-62 I-63
+6 port (Input)
I-64 I-65 I-66 I-67 I-70 I-71 I-72 I-73
+7 Port (Input)
I-74 I-75 I-76 I-77 P -6/7
Common plus pin for
P -6/7
+6/+7 input ports
Figure 3.2. Pin Assignments of Interface Connector <PIO-64/64L(PCI)>
26
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 34
3. External Connection
Pin Assignments of Interface Connector <PI-128L(PCI)>
N.C. N.C. N.C. N.C. N.C. N.C.
I-00
*
I-01
*
I-02
*
I-03
*
I-04
*
I-05
*
I-06
*
I-07
*
I-10
* *
I-12
*
I-13
*
I-14
*
I-15
*
I-16
*
I-17
*
P-0/1 P-0/1
N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C.
I-20 I-21 I-22 I-23 I-24 I-25 I-26 I-27 I-30 I-31 I-32 I-33 I-34 I-35 I-36
I-37 P-2/3 P-2/3
I-11
CNA
1
N.C.
51
2
N.C.
52
3
N.C.
53
4
N.C.
54
5
N.C.
55
6
56
N.C.
7
I-40
57
8
I-41
58
9
I-42
59
10
I-43
60
11
61
12
62
13
63
14
64
15
65
16
66
17
67
18
68
19
69
20
70
21
71
22
72
23
73
24
74
25
75
26
76
27
77
28
78
29
79
30
80
31
81
32
82
33
83
34
84
35
85
36
86
37
87
38
88
39
89
40
90
41
91
42
92
43
93
44
94
45
95
46
96
47
97
48
98
49
99
50
100
+4 port (Input)
I-44 I-45 I-46 I-47 I-50 I-51 I-52 I-53
+5 port (Input) I-54 I-55 I-56 I-57
Common plus pin for
P-4/5
+4/+5 input ports
P-4/5 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. I-60 I-61 I-62 I-63
+6 port (Input) I-64 I-65
I-66 I-67 I-70 I-71 I-72 I-73
+7 Port (Input) I-74
I-75 I-76 I-77
Common plus pin for
P-6/7
+6/+7 input ports
P-6/7
CNB
Common plus pin for
+E/+F input ports
+F port (Input)
+E port (Input)
Common plus pin for
+C/+D input ports
+D port (Input)
+C port (Input)
* I-00 to I-17 can be used as interrupt signal.
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/D P-C/D
I-D7
I-D6
I-D5
I-D4
I-D3
I-D2
I-D1
I-D0
I-C7
I-C6
I-C5
I-C4
I-C3
I-C2
I-C1
I-C0
N.C.
N.C.
N.C.
N.C.
N.C.
N.C.
100
50
99
49
98
48
97
47
96
46
95
45
94
44
93
43
92
42
91
41
90
40
89
39
88
38
87
37
86
36
85
35
84
34
83
33
82
32
81
31
80
30
79
29
78
28
77
27
76
26
75
25
74
24
73
23
72
22
71
21
70
20
69
19
68
18
67
17
66
16
65
15
64
14
63
13
62
12
61
11
60
10
59
9
58
8
57
7
56
6
55
5
54
4
53
3
52
2
51
1
P-A/B P-A/B I-B7 I-B6 I-B5 I-B4 I-B3 I-B2 I-B1 I-B0 I-A7 I-A6 I-A5 I-A4 I-A3 I-A2 I-A1 I-A0 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. P-8/9 P-8/9 I-97 I-96 I-95 I-94 I-93 I-92 I-91 I-90 I-87 I-86 I-85 I-84 I-83 I-82 I-81 I-80 N.C. N.C. N.C. N.C. N.C. N.C.
Common plus pin for +A/+B input ports
+B port (Input)
+0 port (Input)
+A port (Input)
+1 port (Input)
Common plus pin for
+0/+1 input ports
Common plus pin for +8/+9 input ports
+9 port (Input)
+2 Port (Input)
+8 port (Input)
+3 Port (Input)
Common plus pin for
+2/+3 input ports
I-00 to I-F7 128 input signal pins. Connect output signals from the external device to these pins. P-0/1 to P-E/F
Connect the positive side of the external power supply. These pins are common to 16 input signal pins.
N.C. This pin is left unconnected.
Figure 3.3. Pin Assignments of Interface Connector <PI-128L(PCI)>
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
27
Page 35
3. External Connection
Pin Assignments of Interface Connector <PO-128L(PCI)>
CNB
Co mmon plus pin for
+E /+F outp ut ports
+F port (Outp ut)
+E port (Outp ut)
Comm on m inu s p in for
+E /+F outp ut ports
Co mmon plus pin for
+C /+D outp ut ports
+D port (Outp ut)
+C port (Outp ut)
Comm on m inu s p in for
+C /+D outp ut ports
P-E/F P-E/F
O-F7 O-F6 O-F5 O-F4 O-F3 O-F2 O-F1
O-F0 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-D7 O-D6 O-D5 O-D4 O-D3 O-D2 O-D1 O-D0 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
100
50
99
49 48
98 97
47 46
96 95
45 44
94 93
43 42
92 91
41 40
90
89
39
88
38
87
37
86
36
85
35
84
34
83
33
82
32
81
31
80
30
79
29
78
28
77
27
76
26
75
25
74
24
73
23
72
22
71
21
70
20
69
19
68
18
67
17
66
16
65
15
64
14
63
13
62
12
61
11
60
10
59
9
58
8
57
7
56
6
55
5
54
4
53
3
52
2
51
1
Co mm on plus pin for
P-A/B
+A /+B output por ts
P-A/B O-B7 O-B6 O-B5 O-B4
+B port (Ou tput)
O-B3 O-B2 O-B1 O-B0 O-A7 O-A6 O-A5
+A port (Outpu t)
O-A4 O-A3 O-A2 O-A1 O-A0 N-A/B N-A/B
Co mm on minu s p in for
N-A/B
+A /+B output por ts
N-A/B N-A/B N-A/B N.C. N.C.
Co mm on plus pin for
P-8/9
+8 /+9 ou tpu t p orts
P-8/9 O-97 O-96 O-95 O-94
+9 po rt (Ou tpu t)
O-93 O-92 O-91 O-90 O-87 O-86 O-85 O-84
+8 po rt (Ou tpu t)
O-83 O-82 O-81 O-80 N-8/9 N-8/9
Co mm on minu s p in for
N-8/9
+8 /+9 ou tpu t p orts
N-8/9 N-8/9 N-8/9
Common m inu s p in for
+0/+1 output por ts
+0 po rt (Ou tput)
+1 po rt (Ou tput)
Co mm on plus pin for
+0 /+1 ou tput p orts
Common m inu s pin for
+2 /+3 ou tpu t p orts
+2 port (Ou tput)
+3 Port (Ou tput)
Common p lus pi n for
+2 /+3 ou tput p orts
N-0/1 N-0/1 N-0/1 N-0/1 N-0/1 N-0/1
O-00 O-01 O-02 O-03 O-04 O-05 O-06 O-07 O-10 O-11 O-12 O-13 O-14 O-15 O-16
O-17 P-0/1 P-0/1
N.C.
N.C. N-2/3 N-2/3 N-2/3 N-2/3 N-2/3 N-2/3
O-20 O-21 O-22 O-23 O-24 O-25 O-26 O-27 O-30 O-31 O-32 O-33 O-34 O-35 O-36
O-37 P-2/3 P-2/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
CNA
100
51
N-4/5 N-4/5
52 53 54 55 56 57 58 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
Co mmon m inu s p in for
N-4/5
+4 /+5 ou tput p orts
N-4/5 N-4/5 N-4/5 O-40 O-41 O-42 O-43
+4 po rt (Ou tput)
O-44 O-45 O-46 O-47 O-50 O-51 O-52 O-53
+5 po rt (Ou tput)
O-54 O-55 O-56 O-57
Co mm on plus pin for
P-4/5
+4 /+5 ou tput p orts
P-4/5 N.C. N.C. N-6/7 N-6/7
Common m inu s p in for
N-6/7
+6 /+7 ou tput ports
N-6/7 N-6/7 N-6/7 O-60 O-61 O-62 O-63
+6 po rt (Ou tput)
O-64 O-65 O-66 O-67 O-70 O-71 O-72 O-73
+7 Po rt (Ou tput)
O-74 O-75 O-76 O-77
Co mm on plus pin for
P-6/7
+6 /+7 ou tput p orts
P-6/7
O-00 to O-F7 128 output signal pins. Connect input signals from the external device to these pins. P-0/1 to P-E/F
Connect the positive side of the external power supply. These pins are common to 16 output signal pins.
N-0/1 to N-E/F Connect the negative side of the external power supply. These pins are common to 16 output
signal pins. A current of 0.3 A is allowable per connector pin. Connect the required number of pins for the total current for the corresponding 16 output signals.
N.C. This pin is left unconnected.
Figure 3.4. Pin Assignments of Interface Connector <PO-128L(PCI)>
28
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 36
3. External Connection
Relationships between API-PAC(W32) Logical Ports/Bits and Connector Signal Pins
The following table lists the relationships between the connector signal pins and the logical port/bit numbers used for I/O functions when applications are written with API-PAC(W32).
PIO-64/64L(PCI)
Table 3.1. Relationships between Logical Ports/Bits and Connector Signal Pins <PIO-64/64L(PCI)>
D7 D6 D5 D4 D3 D2 D1 D0
I-07
I-06
I-05
I-04
I-03
I-02
I-01
Input logical port 0
Input logical port 1
Input logical port 2
Input logical port 3
Input logical port 4
Input logical port 5
Input logical port 6
Input logical port 7
[7]
I-17
[15]
I-27
[23]
I-37
[31]
I-47
[39]
I-57
[47]
I-67
[55]
I-77
[63]
[6] I-16 [14] I-26 [22] I-36 [30] I-46 [38] I-56 [46] I-66 [54] I-76 [62]
[5] I-15 [13] I-25 [21] I-35 [29] I-45 [37] I-55 [45] I-65 [53] I-75 [61]
[4] I-14 [12] I-24 [20] I-34 [28] I-44 [36] I-54 [44] I-64 [52] I-74 [60]
[3] I-13 [11] I-23 [19] I-33 [27] I-43 [35] I-53 [43] I-63 [51] I-73 [59]
[2] I-12 [10] I-22 [18] I-32 [26] I-42 [34] I-52 [42] I-62 [50] I-72 [58]
[1]
I-11
[9] I-21 [17] I-31 [25] I-41 [33] I-51 [41] I-61 [49] I-71 [57]
I-00
[0]
I-10
[8] I-20 [16] I-30 [24] I-40 [32] I-50 [40] I-60 [48] I-70 [56]
D7 D6 D5 D4 D3 D2 D1 D0
O-87
O-86
O-85
O-84
O-83
Output logical port 0
Output logical port 1
Output logical port 2
Output logical port 3
Output logical port 4
Output logical port 5
Output logical port 6
Output logical port 7
I-xx represents a CNA input signal; O-xx represents a CNB output signal. [xx] represents a logical port.
CONTEC CO., LTD.
[7]
[6]
[5]
[4]
O-97
O-96
O-95
O-94
[15]
[14]
[13]
[12]
O-A7
O-A6
O-A5
[23]
O-B7
[31]
O-C7
[39]
O-D7
[47]
O-E7
[55]
O-F7
[63]
[22]
O-B6
[30]
O-C6
[38]
O-D6
[46]
O-E6
[54]
O-F6
[62]
[21]
O-B5
[29]
O-C5
[37]
O-D5
[45]
O-E5
[53]
O-F5
[61]
O-A4
[20]
O-B4
[28]
O-C4
[36]
O-D4
[44]
O-E4
[52]
O-F4
[60]
[3]
O-93
[11]
O-A3
[19]
O-B3
[27]
O-C3
[35]
O-D3
[43]
O-E3
[51]
O-F3
[59]
O-82
[2]
O-92
[10]
O-A2
[18]
O-B2
[26]
O-C2
[34]
O-D2
[42]
O-E2
[50]
O-F2
[58]
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
O-81
[1]
O-91
[9]
O-A1
[17]
O-B1
[25]
O-C1
[33]
O-D1
[41]
O-E1
[49]
O-F1
[57]
O-80
[0]
O-90
[8]
O-A0
[16]
O-B0
[24]
O-C0
[32]
O-D0
[40]
O-E0
[48]
O-F0
[56]
29
Page 37
3. External Connection
PI-128L(PCI)
Table 3.2. Relationships between Logical Ports/Bits and Connector Signal Pins <PI-128L(PCI)>
D7 D6 D5 D4 D3 D2 D1 D0
I-07
I-06
I-05
I-04
I-03
I-02
I-01
Input logical port 0
Input logical port 1
Input logical port 2
Input logical port 3
Input logical port 4
Input logical port 5
Input logical port 6
Input logical port 7
Input logical port 8
Input logical port 9
Input logical port 10
Input logical port 11
Input logical port 12
Input logical port 13
Input logical port 14
Input logical port 15
I-xx represents a CNA or a CNB input signal. [xx] represents a logical bit.
[7] I-17 [15] I-27 [23] I-37 [31] I-47 [39] I-57 [47] I-67 [55] I-77 [63] I-87 [71] I-97 [79]
I-A7
[87]
I-B7
[95]
I-C7
[103]
I-D7
[111]
I-E7
[119]
I-F7
[127]
[6]
I-16
[14]
I-26
[22]
I-36
[30]
I-46
[38]
I-56
[46]
I-66
[54]
I-76
[62]
I-86
[70]
I-96
[78]
I-A6
[86]
I-B6
[94]
I-C6
[102]
I-D6
[110]
I-E6
[118]
I-F6
[126]
[5] I-15 [13] I-25 [21] I-35 [29] I-45 [37] I-55 [45] I-65 [53] I-75 [61] I-85 [69] I-95 [77]
I-A5
[85]
I-B5
[93]
I-C5
[101]
I-D5
[109]
I-E5
[117]
I-F5
[125]
[4] I-14 [12] I-24 [20] I-34 [28] I-44 [36] I-54 [44] I-64 [52] I-74 [60] I-84 [68] I-94 [76]
I-A4
[84]
I-B4
[92]
I-C4
[100]
I-D4
[108]
I-E4
[116]
I-F4
[124]
[3]
I-13
[11]
I-23
[19]
I-33
[27]
I-43
[35]
I-53
[43]
I-63
[51]
I-73
[59]
I-83
[67]
I-93
[75]
I-A3
[83]
I-B3
[91]
I-C3
[99]
I-D3
[107]
I-E3
[115]
I-F3
[123]
[2] I-12 [10] I-22 [18] I-32 [26] I-42 [34] I-52 [42] I-62 [50] I-72 [58] I-82 [66] I-92 [74] I-A2 [82] I-B2 [90] I-C2 [98] I-D2
[106]
I-E2
[114]
I-F2
[122]
[1]
I-11
[9] I-21 [17] I-31 [25] I-41 [33] I-51 [41] I-61 [49] I-71 [57] I-81 [65] I-91 [73]
I-A1
[81]
I-B1
[89]
I-C1
[97]
I-D1
[105]
I-E1
[113]
I-F1
[121]
I-00
[0]
I-10
[8] I-20 [16] I-30 [24] I-40 [32] I-50 [40] I-60 [48] I-70 [56] I-80 [64] I-90 [72] I-A0 [80] I-B0 [88] I-C0 [96] I-D0
[104]
I-E0
[112]
I-F0
[120]
30
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 38
3. External Connection
PO-128L(PCI)
Table 3.3. Relationships between Logical Ports/Bits and Connector Signal Pins <PO-128L(PCI)>
D7 D6 D5 D4 D3 D2 D1 D0
O-07
O-06
O-05
O-04
O-03
O-02
O-01
Output logical port 0
Output logical port 1
Output logical port 2
Output logical port 3
Output logical port 4
Output logical port 5
Output logical port 6
Output logical port 7
Output logical port 8
Output logical port 9
Output logical port 10
Output logical port 11
Output logical port 12
Output logical port 13
Output logical port 14
Output logical port 15
O-xx represents a CNA or a CNB output signal. [xx] represents a logical bit.
[7]
O-17
[15]
O-27
[23]
O-37
[31]
O-47
[39]
O-57
[47]
O-67
[55]
O-77
[63]
O-87
[71]
O-97
[79]
O-A7
[87]
O-B7
[95] O-C7 [103] O-D7 [111] O-E7 [119] O-F7 [127]
[6]
O-16
[14]
O-26
[22]
O-36
[30]
O-46
[38]
O-56
[46]
O-66
[54]
O-76
[62]
O-86
[70]
O-96
[78]
O-A6
[86]
O-B6
[94] O-C6 [102] O-D6 [110] O-E6 [118] O-F6 [126]
[5]
O-15
[13]
O-25
[21]
O-35
[29]
O-45
[37]
O-55
[45]
O-65
[53]
O-75
[61]
O-85
[69]
O-95
[77]
O-A5
[85]
O-B5
[93] O-C5 [101] O-D5 [109] O-E5 [117] O-F5 [125]
[4]
O-14
[12]
O-24
[20]
O-34
[28]
O-44
[36]
O-54
[44]
O-64
[52]
O-74
[60]
O-84
[68]
O-94
[76]
O-A4
[84]
O-B4
[92] O-C4 [100] O-D4 [108] O-E4 [116] O-F4 [124]
[3]
O-13
[11]
O-23
[19]
O-33
[27]
O-43
[35]
O-53
[43]
O-63
[51]
O-73
[59]
O-83
[67]
O-93
[75]
O-A3
[83]
O-B3
[91]
O-C3
[99] O-D3 [107] O-E3 [115] O-F3 [123]
[2]
O-12
[10]
O-22
[18]
O-32
[26]
O-42
[34]
O-52
[42]
O-62
[50]
O-72
[58]
O-82
[66]
O-92
[74]
O-A2
[82]
O-B2
[90]
O-C2
[98] O-D2 [106] O-E2 [114] O-F2 [122]
[1]
O-11
[9]
O-21
[17]
O-31
[25]
O-41
[33]
O-51
[41]
O-61
[49]
O-71
[57]
O-81
[65]
O-91
[73]
O-A1
[81]
O-B1
[89]
O-C1
[97] O-D1 [105] O-E1 [113] O-F1 [121]
O-00
[0]
O-10
[8]
O-20
[16]
O-30
[24]
O-40
[32]
O-50
[40]
O-60
[48]
O-70
[56]
O-80
[64]
O-90
[72]
O-A0
[80]
O-B0
[88]
O-C0
[96] O-D0 [104] O-E0 [112] O-F0 [120]
CAUTION
The logical port and logical bit numbers are virtual port and bit numbers that enable programming independent of board I/O addresses or board types. For details, refer to API-DIO HELP available after installing API-PAC(W32).
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
31
Page 39
3. External Connection
Connecting Input Signals
Connect the input signals to a device which can be current-driven, such as a switch or transistor output device.
The connection requires an external power supply to feed currents. The board inputs the ON/OFF state of the current-driven device as a digital value.
Input Circuit
External C ircuitBoard
Vcc
4.7k
opto-coupl er
Vcc
4.7k
Plus
Com m on
Input Pin
Switch
External
Power Supply 12V to
24VD C
* I n pu t P in: I-x x
opto-coupl er
Input Pin
Switch
Figure 3.5. Input Circuit <PIO-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 will consume about 2.6mA current; when a 24VDC external power supply is selected, each input channel will consume about 5.1mA current.
Connecting a Switch
Com m on plus for inp ut (C NA : 23 p in)
I-00 (CN A : 7 pin)
Board
Switch
Input Data I-xx External Circuit
1 Low Close 0 High Open
Figure 3.6. An Example to use Input I00 <PIO-64/64L(PCI)>, <PI-128L(PCI)>
32
+
External Power Supp ly 12 to 24VD C
-
CONTEC CO., LTD.
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
Page 40
3. External Connection
Connecting Output Signals
Connect the output signals to a current-driven controlled device such as a relay or LED. The connection requires an external power supply to feed currents. The board controls turning on/off the current-driven controlled device using a digital value.
Output Circuit
External C ircuit
External
Load
Power
Supply
12V to
24 VD C
Load
Vc c
opto -isolated
opto -isolated
* Output P in: O-xx
10 k
10k
Board
Zener
diode
Zener
diode
Poly Switch
Plus
Com m on
Output
Pin
Outp ut
Pin
Minnus
Com m on
Figure 3.7. Output Circuit <PIO-64/64L(PCI)>, <PO-128L(PCI)>
The output circuit of this board is illustrated in Figure 3.7. The signal output section is 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 an output current within 50 mA or at most 1.0 V at an output current within 100 mA. A zener diode is connected to the output transistor for protection from surge voltages. A PolySwitch-
based over-current protector is provided for every eight output transistors. When the over-current protector works, the output section of the board is temporarily disabled. If this is the case, turn of the power to the PC and the external power supply and wait for a few minutes, then turn them on back.
CAUTION
When the PC is turned on, all output are reset to OFF.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
33
Page 41
3. External Connection
Example of Connection to LED
Com m on pluus for ou tp ut (CNB : 2 3 p in)
5.1k
Board
O-80 (CNB : 7 pin) Com m on Minu s for outp ut (C NB : 1 p in)
Whe n “1” is output to a relevant bit, the corres pon ding LE D com es on. Whe n “0” is output to t he bit, in con tr ast, th e L ED g oes ou t.
LED
Figure 3.8. An Example to use Output O-80 <PIO-64/64L(PCI)>, <PO-128L(PCI)>
External
+
-
Power Supply 12V to
24VD C
Example of Connection to TTL Level Input
External
Power S up pl y
1 2V t o 24VDC
+
-
Input Boa rd
Com m on plus fo r ou tput
Outp ut
Com m on Minn us fo r ou tput
VCC
2k
TTL Le v el Input
GND
Figure 3.9. Connection Example of Output and TTL level Input Signal <PIO-64/64L(PCI)>, <PO-128L(PCI)>
34
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 42
3. External Connection
Connecting the Sink Type Output and Sink Output Support Input
The following example shows a connection between a sink type output (output board) and a sink output support input (input board). Refer to this connection example when you connect such boards to each other.
External Power Supply 12V to 24VDC
+
-
Outp ut Board
Com m on plus fo r ou tput
Output(Sin k Type)
Com m on Minn us fo r ou tput
Input Board
Com m on plus fo r input
Input(Sink O utput Suppo rt)
Figure 3.10.Example of Connecting the Sink Type Output and Sink Output Support Input
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
35
Page 43
3. External Connection
36
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 44
4. Functions
4. Functions
This section describes the functions of the board.
Data I/O Function
Data Input
When input data is “ON”, “1” is input to the relevant bit. When the input data is “OFF”, 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”.
CAUTION
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 output without affecting the output data.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
37
Page 45
4. Functions
Digital Filter Function of Input Channels
<PIO-64/64L(PCI)>, <PI-128L(PCI)> are equipped with a digital filter function for input signals. This function provides all input channels with a means of cutting chattering and noise.
Digital Filter Function Principle
To use this function, you must set a filter time. The function circuits will then check all input signals synchronizing with the clock. A signal level, low or high, will be input only if the signal level remains stable during the filter set time. Therefore, if a signal level changes faster than the filter set time, this level change will be ignored and the previous signal level will be input.
Input Signal
Input Signal
Input to PC
Digi tal Filter
Fi lter Se tting Tim e
Inva lid
Input to PC
Va lid
Figure 4.1. Digital Filter Function Principle
Set Digital Filter Time
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)
0 (00h)
1 (01h) 0.25µsec 8 (08h) 32µsec 15 (0Fh) 4.096msec 2 (02h) 0.5µsec 9 (09h) 64µsec 16 (10h) 8.192msec 3 (03h) 1µsec 10 (0Ah) 128µsec 17 (11h) 16.384msec 4 (04h) 2µsec 11 (0Bh) 256µsec 18 (12h) 32.768msec 5 (05h) 4µsec 12 (0Ch) 512µsec 19 (13h) 65.536msec 6 (06h) 8µsec 13 (0Dh) 1.024msec 20 (14h) 131.072msec
CAUTION
Digital Filter
Time
The filter function
is not used.
Setting Data
(n)
7 (07h) 16µsec 14 (0Eh) 2.048msec
- Writing a setting data other than a "0" will apply this filter function to all input channels. This function cannot be applied to particular pins only but is applied to all input channels.
- Do not set a data more than 20(14H). Doing so may cause the board malfunctioning.
Digital Filter
Time
Setting Data
(n)
Digital Filter
Time
38
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 46
4. Functions
Interrupt Control Function
The <PIO-64/64L(PCI)> and <PO-128L(PCI)> can use up to 16 channels of input signals as interrupt request signals. The input signals available as interrupt request signals are I-00 to I-17.
The board can generate an interrupt request signal to the PC when the input signal change from High to Low or from Low to High.
When the digital filter (described above) is used, interrupt requests are generated by input signals that have passed through the filter.
Disabling/enabling Interrupts
Interrupt mask bits can be used to disable or enable the individual bits for interruptions. Once a certain bit has been interrupt-disabled, no interrupt occurs even when the corresponding input
signal changes its level. To let interrupts occur, enable the corresponding interrupt mask bit for interruptions.
CAUTION
All of the interrupt mask bits are interrupt-disabled when the power is turned on.
Selecting 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
bit changes from 1 to 0 (at the rise of the input signal from Low to High).
CAUTION
When the power is turned on, all of the interrupt edge select bits are set to 0 so that an interrupt occurs when the input value changes from 0 to 1 (at the fall of the input signal from High to Low).
Clearing the Interrupt Status and Interrupt Signal
Interrupt status bits are used to identify the input signal bit being used for requesting an interrupt. When an interrupt status is input, the interrupt request signal and the interrupt status are cleared
automatically.
CAUTION
- All of the interrupt status bits are set to 0 when the power is turned on.
- If an interrupt mask bit has been set to disable interrupts, the interrupt status bit is not set even when the input signal changes its level.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
39
Page 47
4. Functions
40
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 48
5. About Software
5. About Software
The bundled CD-ROM “API Function Library Package API-PAC(W32) ” contains the functions that provide the following features:
- Digital input/output of specified ports
- Hardware 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” – “CONTEC API-PAC(W32)” – “Dio” – “API-DIO
HELP” to display help information.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
41
Page 49
5. About Software
Using Sample Programs
Sample programs have been prepared for specific basic applications. To use each sample program, enter its driver number 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 program is invoked.
42
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 50
5. About Software
Sample Programs - Examples
-Sample program 1 : Inputs digital data through a specified port.
-Sample program 2 : Outputs digital data through a specified port.
-Sample program 3 : Inputs/outputs digital data from/to a programmable board.
-Sample program 4 : Inputs digital data from a specified port in the background.
-Sample program 5 : Inputs/outputs digital data 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 program 11 : Services interrupts of a specified board (using an extended function).
-Sample program (Console) : Inputs/outputs digital data through a specified board.
[Sample program 1] [Sample program 2]
[Sample program 5] [Sample program 9]
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
43
Page 51
5. About Software
Uninstalling the API Function Libraries
To uninstall API-PAC(W32), follow the 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.
44
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 52
CD-ROM Directory Structure
\ | Autorun.exe Installer Main Window | Readmeu.htm Version information 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
5. About Software
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
45
Page 53
5. About Software
46
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 54
6. About Hardware
6. About Hardware
This chapter provides hardware specifications and hardware-related supplementary information.
Hardware specification
PIO-64/64L(PCI)
Table 6.1. Specifications < PIO-64/64L(PCI)>
Item Specification
Type Opto-Isolated Input (for current sinking output) (Negative logic *)
Input
Number of Channels 64 channels (16 of these 64 can be used as interrupt signal)
(16 channels share a positive common) Resister 4.7k Current required to
turn ON Current required to
turn OFF Interrupts Combine four interrupt signals to one interrupt request signal as
Response time 200µsec(Max.) Type Opto-Isolated Open Collector Output (current sinking type)
Output
Number of Channels 64 channels (16 channels share a negative common)
Voltage 35VDC(Max.)Rate Current 100mA/channel (Max.)
Residual voltage with output on
Surge protector Zener diode RD47FM(NEC) Response time 200µsec(Max.) I/O address Any 32-byte boundary
Common
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 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 32bit, 33MHz, 5V Dimension (mm) 176.41(L)×106.68(H) Weight 215g
* Data “0” and “1” correspond to the High and Low levels, respectively.
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
2.0mA(Min.)
0.16mA(Max.)
the INTA.
Either rising edge or falling edge of input signal can generate
interrupt.
(Negative logic *)
0.5V or less (Output current 50mA),
1.0V or less (Output current 100mA)
12 to 24VDC (±10 % )
47
Page 55
6. About Hardware
Board Dimensions
176.41(L)
106.68(H)
The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover.
[mm]
48
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 56
PI-128L(PCI)
Table 6.2. Specifications < PI-128L(PCI)>
Item Specifications
Type Opto-Isolated Input (for current sinking output) (Negative logic *)
Input
Number of Channels
Resister 4.7k Current required to
turn ON Current required to
turn OFF Interrupts Combine four interrupt signals to one interrupt request signal as
Response time 200µsec(Max.) I/O address Any 32-byte boundary
Common
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 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 32bit, 33MHz, 5V Dimension (mm) 176.41(L)×106.68(H) Weight 215g
* Data “0” and “1” correspond to the High and Low levels, respectively.
128 channels (16 of these 128 can be used as interrupt signal)
(16 channels share a positive common)
2.0mA(Min.)
0.16mA(Max.)
the INTA.
Either rising edge or falling edge of input signal can generate
interrupt.
12 to 24VDC(±10%)
6. About Hardware
Board Dimensions
176.41(L)
106.68(H)
The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover.
CONTEC CO., LTD.
[mm]
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
49
Page 57
6. About Hardware
PO-128L(PCI)
Table 6.3. Specifications < PO-128L(PCI)>
Item Specifications
Type Opto-Isolated Open Collector Output (current sinking type)
Output
(Negative logic *)
Number of Channels 128 channels ( 16 channels share a negative common)
Voltage 35VDC(Max.)Rate Current 100mA/channel (Max.)
Residual voltage with output on
Surge protector Zener diode RD47FM(NEC) Response time 200µsec(Max.) I/O address Any 32-byte boundary
Common
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 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 32bit, 33MHz, 5V Dimension (mm) 176.41(L)×106.68(H) Weight 215g
* Data “0” and “1” correspond to the High and Low levels, respectively.
0.5V or less (Output current 50mA),
1.0V or less (Output current 100mA)
12 to 24VDC(±10%)
Board Dimensions
176.41(L)
106.68(H)
The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover.
[mm]
50
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 58
Block Diagram
PIO-64/64L(PCI)
Control
Circuit
PCI BUS
Interrupt
Control
Opto­coupler
Opto-
coupler
&
Transistor
PIO-64/64L(PCI)
External Digital Input Port0
(8ch, Group0)
External Digital Input Port1
(8ch, Group1) External Digital Input Port2
(8ch, Group2) External Digital Input Port3
(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 Output PortD
(8ch, GroupD) External Digital Output PortE
(8ch, GroupE) External Digital Output PortF
(8ch, GroupF)
6. About Hardware
Figure 6.1. Block Diagram < PIO-64/64L(PCI)>
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
51
Page 59
6. About Hardware
PI-128L(PCI)
PCI BUS
Interrupt
Control Circuit
Control
Opto­coupler
PI-128L(PCI)
External Digital Input Port0
(8ch, Group0)
External Digital Input Port1
(8ch, Group1) External Digital Input Port2
(8ch, Group2) External Digital Input Port3
(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 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) External Digital Input PortE
(8ch, GroupE) External Digital Input PortF
(8ch, GroupF)
Figure 6.2. Block Diagram < PI-128L(PCI)>
52
PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
CONTEC CO., LTD.
Page 60
PO-128L(PCI)
PC I B U S
Control Circuit
Opto-
co u pler
&
Transistor
PO-128 L (P CI)
Exte r na l Digital Output P ort0
(8 c h, Group0)
External Digital Output Port1
(8 c h, Group1) Exte r na l Digital Output Port2
(8 c h, Group2) Exte r na l Digital Output Port3
(8 c h, Group3) Exte r na l Digital Output Port4
(8 c h, Group4) Exte r na l Digital Output Port5
(8 c h, Group5)
External
Digital Output Port6
(8 c h, Group6)
External
Digital Output Port7
(8 c h, Group7)
External
Digital Output Port8
(8 c h, Group8) Exte r na l Digital Output Port9
(8 c h, Group9) Exte r na l Digital Output PortA
(8 c h, GroupA ) Exte r na l Digital Output PortB
(8 c h, GroupB ) Exte r na l Digital Output P ortC
(8 c h, GroupC ) Exte r na l Digital Output PortD
(8 c h, GroupD ) Exte r na l Digital Output PortE
(8 c h, GroupE ) Exte r na l Digital Output PortF (8 c h, GroupF)
6. About Hardware
Figure 6.3. Block Diagram< PO-128L(PCI) >
CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
53
Page 61
A-46-647
LYBN981
[020712]
Page 62
CONTEC Group
JAPAN : Headquarters
CONTEC Co., LTD. 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Tel : +81 (6) 6477-5219 Fax : +81 (6) 6477-1692 E-mail : intsales@osaka.contec.co.jp
U.S.A. : CONTEC MICROELECTRONICS U.S.A. INC.
744 South Hillview Drive, Milpitas, CA 95035 U.S.A. Tel : +1 (408) 719-8200 Fax : +1 (408) 719-6750 E-mail : tech_support@contecusa.com
EUROPE : CONTEC MICROELECTRONICS EUROPE B.V.
Binnenweg 4, 2132 CT, Hoofddorp, The Netherlands Tel : +31 (23) 567-3030 Fax : +31 (23) 567-3035 E-mail : tech_support@conteceu.nl
KOREA : HYOJIN CONTEC C o., LTD.
Ki-im Bldg. #399, Shindolim-Dong, 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 : +86 (21) 6485-1907 Fax : +86 (21) 6485-0330 E-mail : contec@contec.com.cn
SHENYANG CONTEC MICROELECTRONICS Co., LTD. No. 169, Qingnian Street, Shenhe District, Shenyang 110015, China Tel : +86 (24) 2392-9771 Fax : +86 (24) 2392-9773
TAIWAN : MACROMATE CORP.
8F, Universal Center, No.179, Ta-Tung Rd., Sec.1 Hsi-Chih, Taipei Hsien, Taiwan, R.O.C Tel : +886 (2) 2647-9353 Fax : +886 (2) 2647-9373 E-mail : intl@macromate.com.tw
A-46-368 Ver. 2001. 02. 06
Loading...