Contec PI-64L Series, PO-64L Series, PIO-32 Series, PIO-32L Series User Manual

Page 1
PC-HELPER
Digital I/O Board with Opto-Isolation for PCI
PIO-32/32L(PCI)H
Digital Input Board with Opto-Isolation for PCI
PI-64L(PCI)H
Digital Output Board with Opto-Isolation for PCI
PO-64L(PCI)H
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 damage d or missing item s,
contact your retailer.
Product Configuration List
- Board (One of the following) [PIO-32/32L(PCI)H, PI-64L(PCI)H, or PO-64L(PCI)H] …1
- First step guide … 1
- CD-ROM *1 [API-PAC(W32)] …1
*1 The CD-ROM contains the driver software and User’s Guide (this guide)
Board
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
First step guide
CD-ROM
[API-PAC(W32)]
i
Page 3

Copyright

Copyright 2003 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 or for results obtained by the user as a result of using this product.

Trademarks

MS, Microsoft, Windows, Windows NT and MS-DOS are trademarks of Microsoft Corporation. Other brand and product names are trademarks of their respective holder.
ii
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 4

Table of Contents

Check Your Pack ag e............................................................................................................................i
Copyright ............................................................................................................................................ ii
Trademarks .........................................................................................................................................ii
Table of Con tents...............................................................................................................................iii
BEFORE USING THE PRODUCT 1
About the Bo ard.................................................................................................................................. 1
Features........................................................................................................................................ 1
Support Softw ar e ......................................................................................................................... 3
Cable & Connect or (O p ti on ) ...................................................................................................... 4
Accessories ( Op tio n ) .................................................................................................................. 4
Customer Supp o rt ............................................................................................................................... 5
Web Site....................................................................................................................................... 5
Limited Thre e- Y ea rs Wa r ra nt y .......................................................................................................... 5
How to Obtain Serv ic e ....................................................................................................................... 5
Liability............................................................................................................................................... 5
Safety Precau t ion s .............................................................................................................................. 6
Safety Infor mat i on ....................................................................................................................... 6
Handling Pre cautions ........................................................................................................... ........ 7
Environment................................................................................................................................. 8
Inspection..................................................................................................................................... 8
Storage ......................................................................................................................................... 8
Disposal ....................................................................................................................................... 8
2. SETUP 9
What is Setup? .................................................................................................................................... 9
Using the Boa r d under Windows Using the D r iver Library A PI-PAC(W32) ............................ 9
Using the Board under Windows Using Software Other than the Driver Library
API-PAC(W32 ) ................................................................................................................... ......... 9
Using the Board under an O S Other than W indows ................................................................. 10
Step 1 Installi ng th e Sof t wa re .......................................................................................................... 11
About the d river to be us ed .................................................................................................... ... 11
Starting the I ns t all P r og ram....................................................................................................... 12
Select API-DI O (W DM ).............................................................................................................13
Select API-DI O (9 8 /PC ) ............................................................................................................. 14
Step 2 Settin g the Hardware............................................................................................................. 16
Parts of the Bo ard an d F ac to r y D ef au l ts ................................................................................... 16
Setting the Bo ard ID .................................................................................................................. 17
Plugging the Board .................................................................................................................... 18
Step 3 Installi ng th e H ard w a re ......................................................................................................... 19
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
iii
Page 5
Turning on the PC...................................................................................................................... 19
Whe n U s ing API- DIO(WDM )...................................................................................................... 19
Whe n U s ing API- DIO(98/ P C )...................................................................................................... 22
Step 4 Initi alizing the Software ........................................................................................................ 25
Whe n U s ing API-DIO(WDM) .................................................................................................... 25
Whe n U s ing API-DIO(98/PC) ....................................................................................................27
Updating the S e ttin g s................................................................................................................. 27
Step 5 Checking Operations with the Diagnosis Program............................................................... 28
What is the Di agno s is P r og r a m?................................................................................................ 2 8
Check Method............................................................................................................................28
Using the Di agnosis Progr am.................................................................................................... 29
Setup Troubl esh oo ti n g...................................................................................................................... 33
Symptoms and Ac ti on s .............................................................................................................. 33
If your proble m c a nno t b e r eso lv ed...........................................................................................33
3. EXTERNAL CONNECTION 35
How to connect the c on n ec to rs......................................................................................................... 35
Connector shap e......................................................................................................................... 35
Connector Pin Ass ig n men t ........................................................................................................36
Relationships be twe e n A P I-P AC (W 32 ) L og ic al Po rts / Bit s a nd Con ne ctor S i gn al Pi ns ..........39
Connecting Inp u t Sig n al s.................................................................................................................. 41
Input Circu i t ...............................................................................................................................41
Connecting a S wi tc h .................................................................................................................. 41
Output Circuit ...................................................................................................................................42
Output Circuit ............................................................................................................................4 2
Connection to the LE D ..............................................................................................................43
Example of Connection to TTL Lev el Input ............................................................................. 43
Connecting the Sin k Ty p e Ou tp u t and S ink O ut pu t Su pp o rt In pu t ................................................. 44
4. FUNCTION 45
Data I/O Funct io n ............................................................................................................................. 45
Data Input................................................................................................................................... 4 5
Data Output.................................................................................................................... ............ 45
Monitoring Ou tp ut D at a ............................................................................................................. 45
Digital Filter Function......................................................................................................................46
Digital Filter Function Principle................................................................................................ 46
Set Digital Fi lt e r Time............................................................................................................... 46
Interrupt Con tr ol Fu n ct io n................................................................................................................ 47
Disabling/en ab l ing I nt e rr up ts ....................................................................................................47
Selecting the Ed ge of in pu t si gn al s, at wh ic h to ge n er ate a n i te rr up t ....................................... 47
Clearing the Inte rru pt St atu s an d In t er ru p t Si g n al .................................................................... 48
5. ABOUT SOFTWARE 49
iv
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 6
CD-ROM Directo r y S t ru ct u re .......................................................................................................... 49
About Software for Windows........................................................................................................... 50
Accessing the He lp F il e............................................................................................................. 50
Using Sample Programs ............................................................................................................ 50
Uninstalling th e Dr iv e r Lib r ari e s .............................................................................................. 52
About Software for Linux................................................................................................................. 53
Driver Softwar e In s tal l Pro c edu r e ............................................................................................. 53
Accessing the He lp F il e............................................................................................................. 54
Using Sample Programs ............................................................................................................ 54
Uninstalling the driver............................................................................................................... 54
6. ABOUT HARDWARE 55
For detailed t e chni c a l in f o r mat i on ................................................................................................... 55
Hardware spe cification ..................................................................................................................... 55
Block Diagram.................................................................................................................................. 59
Differences b e twee n t he P IO -3 2/ 3 2 L(P C I) H a n d PI O-3 2/ 3 2 L (PC I )............................................... 62
Differences b e twee n t he P I-6 4 L (PC I) H a n d P I-6 4 L( PCI ).............................................................. 62
Differences b e twee n t he P O-6 4 L ( PCI) H a n d PO -64 L (P C I )........................................................... 63
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
v
Page 7
vi
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
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 product is a PCI bus-compliant interface board used to provide a digital signal I/O function on a PC. This product can input and output digital signals at 12 - 24VDC. PIO-32/32L(PCI)H features 3 2 opto- coupler is olated inputs and 32 opt o-c oupler is olate d ope n-c ol lector outputs. You can use 32 input signals as i nterrupt input s. In addition, the digital filter function to prevent wrong recognition of input signals is provided and output transistor protection circuit (surge voltage protection and overcurrent protection).
PI-64L(PCI)H features 64 opto- coupler isola ted inputs. You can use 32 inpu t signals as i nterrupt inp uts. In addition, the digital filter function to prevent wrong recognition of input signals is provided.
PO-64L(PCI)H features 64 opto-coupler isolated open-collector outputs. In addition, output transistor protection circuit (surge voltage protection and overcurrent protection).
Windows/Linux driver is bundled with this product. Possible to be used as a data recording device for LabVIEW, with dedicated libraries.

Features

- Opto-coupler isolated input (compatible with current sink output) and opto-coupler isolated open­collector output (current sink type)
PIO-32/32L(PCI)H has the 32ch of opt o-coupler isola ted input (compati ble with current sink output) and 32ch of opto-coupler isolated open-collector output (current sink type) whose response speed is 200µsec. Common terminal provided per 16channels, capable of supporting a different external power supply. Supporting driver voltages of 12 - 24 VDC for I/O.
PI-64L(PCI)H has the 64ch of opto-coupler isolated input (compatible with current sink output) whose response speed is 200µsec. Common terminal provided per 16channels, capable of supporting a different external power supply. Suppor ting d river voltages of 12 - 24 VDC for I/O.
PO-64L(PCI)H has the 64ch of opto-coupler isolated open-collector output (current sink type) whose response speed is 200µsec. Common terminal provided per 16channels, capable of supporting a different external power supply. Supporting driver voltages of 12 - 24 VDC for I/O.
- Opto-coupler bus isolation
As the PC is isolated from the input and output interfaces by opto-couplers, this product has excellent noise performance.
- You can use 32 input signals as interrupt request signals. (For PIO-32/32L(PCI)H, PI-64L(PCI)H only)
You can use 32 input signals as in terrup t req ues t s ignals and also disable or enable the interrupt in bit units and select the edge of the input signals, at which to generate an interrupt.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
1
Page 9
1. Before Using the Product
- Windows/Linux compatible driver libraries are attached. Using the attached driver library API-PAC(W32) makes it possible to create applications of
Windows/Linux. In addition, a diagno stic program by which the operati ons of har dware can be che cked is provided.
- This product has a digital fil ter to prevent wrong recognition o f i npu t sig na ls from carrying noise or a chattering. (For PIO-32/32L(PCI)H, PI-64L(PCI)H only)
This product has a digital filter to prevent wrong recognition of input signals from carrying noise or a chattering. All input terminals can be added a digital filter, and the setting can be performed by software.
- Output circuits include zener diodes for surge voltage protection and poly-switches for overcurrent protection. (For PIO-32/32L(PCI)H, PO-64L(PCI)H only)
Zener diodes are connected to the output circuits to protect against surge voltages. Similarly, polyswitches are fitted to each group of 8channels outputs for over-c urrent protection. T he output rating is max. 35VDC, 100mA per channel.
- LabVIEW is supported by a plug-in of dedicated library VI-DAQ.
Using the dedicated library VI-DAQ makes it possible to make a LabVIEW application.
2
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 10
1. Before Using the Product

Support Software

You should use CONTEC support software according to your purpose and development environment. Windows version of digital I/O driver
[Stored on the bundled CD-ROM driver library API-PAC(W32 )]
The API-DIO(WDM) / API-DIO(98/PC) is the Windows version driver library software that provides products in the form of Win32 API functions (DLL). Various sample programms such as Visual Basi c and Visual C++, etc and diagnostic program useful for checking operation is provided.
< Operating environment > OS Windows Vista, XP, Server 2003, 2000 Adaptation language Visual Basic, Visual C++, Visual C#, Delphi, C++ Builder You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). Fo r more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site.
API-DIO(WDM) / API-DIO(98/ P C )
Linux version of digital I/O driver
API-DIO(LNX)
[Stored on the bundled CD-ROM driver library API-PAC(W32 )]
The API-DIO(LNX) is the Linux version driver software which provides device drivers (modules) by shared library and kernel version. Various sample programs of gcc are provided.
< Operating environment > OS RedHatLinux, TurboLinux
(For details on supported distributions, refer to Help available after installation.) Adaptation language gcc You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). Fo r more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site.
Data acquisition VI library for LabVIEW
VI-DAQ
(Available for downloading (free of charge) from
the CONTEC web site.)
This is a VI library to use in National Instruments LabVIEW. VI-DAQ is created with a function form similar to that of LabVIEW's Data Acquisition VI, allowing you to use various devices without complicated settings. See http://www.contec.com/vidaq/ for details and download of VI-DAQ.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
3
Page 11
1. Before Using the Product

Cable & Connector (Option)

96-Pin Shield Cable w ith a Ha lf -Pi tch Co nn ect or : PCB96PS-0.5P(0.5 m)
: PCB96PS-1.5P(1.5m) : PCB96PS-5P(5m)
Flat Cable with 96-Pin Half-Pitch Connectors at Both Ends : PCB96P-1.5 (1.5m)
: PCB96P-3 (3m) : PCB96P-5 (5m)
96-Pin Shield Cable with 2Sided Half-Pitch Connector : PCA96PS-0.5P(0.5m)
: PCA96PS-1.5P(1.5m) : PCA96PS-3P(3m) : PCA96PS-5P(5m)
Flat Cable with One 96-Pin Half-Pitch Connector : PCA96P-1.5 (1.5m)
: PCA96P-3 (3m) : PCA96P-5 (5m)
Connection Conversion Shield Cable(96P → 37P x 2) : PCB96WS-1.5P (1.5m)
: PCB96WS-3P (3m) : PCB96WS-5P (5m)
Half Pitch 96P Female Connector Set(5 Pieces) : CN5-H96F

Accessories (Option)

Screw Terminal (M3 x 96P) :EPD-96A *1*4 Screw Terminal (M3.5 x 96P) :EPD-96 *1 Screw Terminal :DTP-64(PC) *1 Signal Monitor for Digital I/O (64Bits) :CM-64(PC)E *1 Screw Terminal (M3 x 37P) :EPD-37A *2*4 Screw Terminal (M3.5 x 37P) :EPD-37 *2 General Purpose Terminal :DTP-3A *2 Screw Terminal :DTP-4A *2 Signal Monitor for Digital I/O (32Bits) :CM-32(PC)E *2 Connection Conversion Board (96-P→37-P x 2) :CCB-96 *3
*1 PCB96P or PCB96PS optional cable is required separately. *2 PCB96WS optional cable is required separately. *3 Option cable PCB96P or PCB96PS, and the cable for 37-pin D-SUB are required separately. *4 “Spring-up” type terminal is used to prevent terminal screws from falling off.
* Check the CONTEC’s Web site for more information on these options.
4
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 12
1. Before Using the Product

Customer Support

CONTEC provides the following sup port services for you t o use CONTEC products m ore efficiently and comfortably.

Web Site

Japanese http://www.contec.co.jp/ English http://www.contec.com/ Chinese http://www.contec.com.cn/
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 we ll as sample program s 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-Years Warranty

CONTEC Interface boards are warranted by CONTEC CO ., LTD. to be free from defects in m aterial 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 pre paid with a c opy of the ori ginal 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 unreaso nable use, or if the original invoice is not includ ed, 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 dam ages due to s uch defect or consequences tha t arise from inexperienced usage, misuse, or malfunction of this device.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
5
Page 13
1. Before Using the Product

Safety Precautions

Understand the following definitions and precautions to use the product safely.

Safety Information

This document provides safety i nformation usin g the following sy mbols to prevent accidents resulting in injury or death and the destructio n of equipment an d resources. U nderstand t he 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.
6
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 14
1. Before Using the Product

Handling Precautions

DANGER
Do not use the product where it is exposed to flamm able or corrosi ve gas. Doing so ma y 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 t he persona l com puter or the I/O ex pansio n 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 cont inuously, 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.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
7
Page 15
1. Before Using the Product

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 - 50°C
Humidity
10 - 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.
- Check that the bus connector 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 corrosi o n .

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 pa ck ing mat eri a l, th en pu t it in th e bo x. (3) Store the package at room temperature at a place free from direct sunlight, moisture, shock,
vibration, magnetism, and static electricity.

Disposal

When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances.
8
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 16

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 Driver Library API-PAC(W32)
This section describes the setup procedure to be performed before you can start developing application programs for the board using the bund led C D -ROM “Dri v e r Lib rary API-PAC(W32)”.
Taking the following steps sets up the software and hardware. You can use the diagnosis progra m 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.
Using the Board under Windows
Using Software Other than the Driver Library 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
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
9
Page 17
2. Setup

Using the Board under an OS Other than Windows

For using the board under Linux, s e e th e following parts of this manu al.
This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 5 About Software Chapter 6 About Hardware
For using the board under an OS such as MS-DOS 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
10
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 18
2. Setup

Step 1 Installing the Software

This section describes how to install the Driver libraries. Before installing the hardware on your PC, install the Driver libraries from the bundled API-PAC(W32) CD-ROM. The following description assumes the operating system as Windows XP. Although some user interfaces are different depending on the OS used, the basic procedure is the same.

About the driver to be used

Two digital I/O drivers are available : API-DIO(WDM) and API-DIO(98/PC). API-DIO(WDM) is a new driver to perform digital I/O under Windows. API-DIO(WDM) was developed t o im prove the conventi onal pr oduct version of API-D IO (98/PC) in the
ease of use and functionality. It is advisable to use API-DIO(WDM) for you to use an digital I/O device. API-DIO(WDM) will
support new OS and devices in the future but will not support Windows NT 4.0, Windows 95, ISA bus. Use API-DIO(98/PC) if your operating environment contains such an unsupported piece of software or
hardware. Check the following selection guide to easily select the driver to be used.
OS to be used
Windows Vista Windows XP/Windows 2000
Device type
PCI bus, PC Card
Use the digital board for
the fisrt time?
Yes
Language to be used
VC.Net, VB.Net, VC#.Net VC6, VB6
API-DIO(WDM)
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
The existing system
Wind ows Me/98/95 Wind ows NT 4.0
ISA Bus
Already used.
upgrade using
API-DIO(98/PC)?
No
VC2, 4, 5, VB4, 5, Delphi, C++Builder
Yes
API-DIO(98/PC)
11
Page 19
2. Setup

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 Development or Execution Environment] button.
* When using the Windows Vista, driver is automatically installed.
CAUTION
Before installing the software in Windows Vista, XP, Serv er 2003 and 2000, log in as a user with administrator privileges.
12
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 20

Select API-DIO(WDM)

Selecting API-DIO(WDM) (1)
The following dialog box appears to select “Driver to install” and “Install option”, “Usage of driver library”.
(2)
Select the "Advanced Digital I/O driver".
(3)
Click on the [Install] button.
2. Setup
* Clicking the [API-DIO] button displays detailed information about API-DIO(WDM) and
API-DIO(98/PC).
Run the installation (1)
Complete the installation by following the instructions on the screen.
(2)
The Readme file appears when the installation is complete.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
13
Page 21
2. Setup

Select API-DIO(98/PC)

Selecting API-DIO(98/PC) (1)
The following dialog box appears to select “Driver to install” and “Install option”, “Usage of driver library”.
(2)
Select “Classic Digital I/O driver”.
(3)
Click on the [Install] button.
* Clicking on the [API-DIO] button displays detailed information on API-DIO(WDM),
API-DIO(98/PC).
14
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 22
Executing the Installa tion (1)
Follow the on-screen instructions to proceed to install.
(2) When the required files have been copied, the “Perform a hardware setup now(API-TOOL
Configuration)” 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(API-TOOL Configuration)”, then go to Step 4 “Initializing the Software”.
2. Setup
You have now finished installing the software.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
15
Page 23
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.
- Interface connector (CN1)
B48 B47
B02 B01
PIO/PI/PO-xx(PCI)H
A48 A47
A02 A01
SW1
BOARD ID
- Board ID setting switch (SW1)
SW1
BOARD ID
8
9
7
6
5
4
3
2
1
0
A
B
C
D
E
F
Figure 2.1. Component Locations
16
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 24
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 - 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 boar d. Tur n the SW1 knob t o set the board ID as show n
below.
SW1
BOARD ID
8
9
A
7
B
6
C
5
D
4
3
E
2
F
Factory setting:
1
0
(Board ID = 0)
Figure 2.2. Board ID Settings (SW1)
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
17
Page 25
2. Setup

Plugging the Board

(1) Before plugging the board, shut down the syst em, unplug the po wer code of you r PC. (2) Remove the cover from the PC so that the board can be mounted. (3) Plug the board into an expansion slot. (4) Attach the board bracket to the PC with a screw. (5) Put the cover back into place.
Applicable PCI bus slots PCI bus slots used in PCs have keys to prevent 5V and 3.3V PCI bus boards from being accidentally
plugged into wrong bus slots. This board can be plugged into both of the 5V and 3.3V PCI bus slots.
<PCI bus slo t> <PCI bus bo ard> 5-V PCI bus slot
3.3-V PCI bus slot
3.3V key
CAUTION
5V key
A :
Slit for 5-V PCI bus slot
B :
Slit for 3.3-V PCI bus slot
AB
- 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 or expansion unit’s power is turned on. Otherwise, the board may malfunction, overheat, or cause a failure. Be sure that the personal computer 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.
- Power supply from the PCI bus slot at +5V is required.
18
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 26
2. Setup

Step 3 Installing the Hardware

For using an expansion board un der Windows, you hav e to let the OS detect the I/O addre sses 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, m ake sure y ou install one by one with the Fo und Ne w 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 t o install the boar d, first determ ine what PC resources are free to use.
- The resources used by each b oard do not depen d on the location o f the PCI bus slot or the board itse lf. If you remove two or more boar ds that h ave alr eady b een in stalle d and the n rem ount one of them o n 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.

When Using API-DIO(WDM)

(1) The “Found New Hardware Wizard” will be started.
Select “No, not this time” and then click the “Next” button.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
19
Page 27
2. Setup
(2) When “Multimedia Controller” is displayed, select “Install from a list or specific
location[Advanced]” and then specify that folder on the CD-ROM wh ic h contains the se tup information (INF) file to register the board.
When the model name of hardware is displayed, select “Install the software automatically [Recommended]” and then click on the “Next” button.
Source folder The setup information (INF) file is con t ai ned in the following folder on the bundle d CD-ROM.
Windows Vista, XP, Server 2003, 2000 \INF\ Wdm\Dio
\INF\Wdm\Dio
20
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 28
You have now finished installing the hardware.
2. Setup
* The name of the board you have just added is displayed.
- PIO-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
21
Page 29
2. Setup

When Using API-DIO(98/PC)

(1) The “Found New Hardware Wizard” will be started.
Select “No, not this time” and then click the “Next” button.
(2) Select “Install from a list or specific location[Advanced]” and then click the “Next” button.
22
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 30
2. Setup
(3) 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-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
Source folder The setup information (INF) file is con t ai ned in the following folder on the bundle d CD-ROM.
Windows Vista, XP, Server 2003, 2000 \INF\Win2000\Dio\PCI
Example of specifying the folder for use under Windows XP
\INF\Win2000\Dio\PCI
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
23
Page 31
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, o nly indicatin g that the rele vant driver has not passe d Windows Logo testing, and it ca n be ign ore d 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-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
24
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 32
2. Setup
(

Step 4 Initializing the Software

The driver function library requires the initial setting to recognize the execution environment. It is called the initialization of the Driver library.

When Using API-DIO(WDM)

API-DIO(WDM) is initialized automatically during har dware instal lation. T herefore, if you want to use it with its initial settings, you can skip the setting procedure described in Step 4. To change the device name, follow the setting procedure shown below.
Setting the device name (1) Run Device Manager. From [My Computer] - [Control Panel], select [System] and then select the
[Device Manager] tab. (You can also open Device Manager by right clicking on My Computer and selecting Properties.)
* The name of the board you have just added is displayed.
- PIO-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L
PCI)H
(2) The installed hardware appears under the CONTEC Devices node. Op en the CONTEC Devices
node and select the device you want to setup (the device name should appear highlighted). Click [Properties].
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
25
Page 33
2. Setup
(3) The property page for the device opens.
Enter the device name in the common settings tab page and then click [OK]. The device name you set here is used later when programming.
* The initial device name that appears is a default value. You can use this default name if you wish. * Make sure that you do not use th e s ame n ame for more than one device.
You have now finished installing the initial setting of Software.
26
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 34

Whe n Using API-DIO(98/PC)

(1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32)” – “API-TOOL
Configuration”.
2. Setup
(2) API-TOOL Configuration detects boards automatically.
The detected boards are listed.

Updating the Settings

(1) Select “Save setting to registry…” from the “File” menu.
You have now finished installing the initial setting of Software.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
27
Page 35
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 si mple ch ec ker wh en an ex te rn al d ev i ce i s ac tu al l y con ne ct ed . 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 - 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
Connector
CM-64(PC)E
Board
Optional cable PCB96PS-xx
To connect a device other than the Check Mate, see Chapter 3 “External Connection”.
28
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
External power supply 12 - 24VDC
Page 36

Using the Diagnosis Program

Starting the Diagnosis Program for Use of API-DIO(WDM) Click the [Diagnosis] button on the device p rop erty page to start the diagnosis program.
2. Setup
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
29
Page 37
2. Setup
Starting the Diagnosis Program for Use of API-DIO(98/PC) Select the board in the API-TOOL Configuration windows, then run the Diagnosis Program. Follow the
instructions on screen. * The name of the board you have just added is displayed.
* The name of the board you have just added is displayed.
- PIO-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
30
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 38
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:
2. Setup
“Input Port” : “Output Port” : “Interrupt” :
Displays input values bit by bit at fixed time intervals .
Mouse operation allows the data to output or display.
Displays the number of interrupts detected bit by bit.
* The name of the board you have just added is displayed.
- PIO-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
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 tim e measurement fea ture, click on the [Measurement Tim e] button. Ente r 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.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
31
Page 39
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. When it is API-DIO(WDM), file name to save the result is displayed.
When it is API-DIO(9 8/PC), the result is saved to the folde r i n which to install (Program Files\CONTEC\API-PAC(W32)) by the text file (DioRep.txt) and then displayed.
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.
* The name of the board you have just added is displayed.
- PIO-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
Click on [Show Diagnosis Report].
* The name of the board you have just added is displayed.
- PIO-32/32L(PCI)H,
- PI-64L(PCI)H,
- PO-64L(PCI)H
32
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 40
2. Setup

Setup Troubleshooting

Symptoms and Actions

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 isolat ed type, it has a tim e lag for its r esponse between the o utput 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 Vista, XP, Server 2003, 2000
Turn off the power to your PC, then unplug th e bo ard. 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

Contact your retailer.
]
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
33
Page 41
2. Setup
34
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 42

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.

How to connect the connectors

Connector shape

The on-board interface connector (CN1) is used when connecting this product and the external devices.
Interface connector (CN1)
B48 B47
B02 B01
* Please refer to chapter 1 for more information on the supported cable and accessories.
A48 A47
- Connector used PCR-E96LMD (mfd. by HONDA)
- Applicable connectors PCR-E96FA (mfd. by HONDA)
A02 A01
Figure 3.1. Interface Connector (CN1) Shape
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
35
Page 43
3. External Connection

Connector Pin Assignment

Pin Assignments of Interface Connector (CN1) <PIO-32/32L(PCI)H>
[1]
O-77 O-76 O-75 O-74 O-73 O-72 O-71 O-70 O-67 O-66 O-65 O-64 O-63 O-62 O-61 O-60
N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C.
O-57 O-56 O-55 O-54 O-53 O-52 O-51 O-50 O-47 O-46 O-45 O-44 O-43 O-42 O-41 O-40
[49] B48
A48
B47
A47
B46
A46
B45
A45
B44
A44
B43
A43
B42
A42
B41
A41
B40
A40
B39
A39
B38
A38
B37
A37
B36
A36
B35
A35
B34
A34
B33
A33
B32
A32
B31
A31
B30
A30
B29
A29
B28
A28
B27
A27
B26
A26
B25
A25
B24
A24
B23
A23
B22
A22
B21
A21
B20
A20
B19
A19
B18
A18
B17
A17
B16
A16
B15
A15
B14
A14
B13
A13
B12
A12
B11
A11
B10
A10
B09
A09
B08
A08
B07
A07
B06
A06 A05
B05
A04
B04
A03
B03
A02
B02
A01
B01
[96] [48]
IP 2/3 IP 2/3 I-37 I-36 I-35 I-34 I-33 I-32 I-31 I-30 I-27 I-26 I-25 I-24 I-23 I-22 I-21 I-20 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C N.C. N.C. IP 0/1 IP 0/1 I-17 I-16 I-15 I-14 I-13 I-12 I-11 I-10 I-07 I-06 I-05 I-04 I-03 I-02 I-01 I-00 N.C. N.C.
Common plus pin for +2/+3 intput ports
+3 port (input)
+2 port (input)
N.C.
Common plus pin for +0/+1 intput ports
+1 port (input)
+0 port (input)
N.C.
Common plus pin for
+6/+7 output ports
+7 port (output)
+6 port (output)
Common minus pin for
+6/+7 output ports
N.C.
Common plus pin for
+4/+5 output ports
+5 port (output)
+4 port (output)
Common minus pin for
+4/+5 output ports
OP 6/7 OP 6/7
ON 6/7 ON 6/7
OP 4/5 OP 4/5
ON 4/5 ON 4/5
* I-00 - I-37 can be used as interrupt signal.
The numbers in square brackets [ ] are pin numbers designated by HONDA TSUSHIN KOGYO CO., LTD.
I-00 - I-37 32 input signal pins. Connect output signals from the external devi ce to these pins. O-40 - O-77 32 output signal pins. Connect these pins to th e input sig nal pins o f the ext ernal device. IP 0/1 - IP 2/3 Connect the positive side of the external power supply. These pins are common to 16 input signal
pins.
OP 4/5 - OP 6/7
Connect the positive side of the external power supply. These pins are common to 16 output signal pins.
ON 4/5 - ON 6/7 C onnect the neg ative side of th e extern al power supply . T hese pins are c ommon to 16 outp ut sign al
pins.
N.C. This pin is left unconnected.
Figure 3.2. Pin Assignments of Interface Connector (CN1) <PIO-32/32L(PCI)H>
36
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 44
Pin Assignments of Interface Connector (CN1) <PI-64L(PCI)H>
[1]
Common plus pin for
+6/+7 intput ports
+7 port (input)
+6 port (input)
N.C.
Common plus pin for
+4/+5 intput ports
+5 port (input)
+4 port (input)
N.C.
IP 6/7 IP 6/7
I-77 I-76 I-75 I-74 I-73 I-72 I-71 I-70 I-67 I-66 I-65 I-64 I-63 I-62 I-61 I-60 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C.
N.C. IP 4/5 IP 4/5
I-57
I-56
I-55
I-54
I-53
I-52
I-51
I-50
I-47
I-46
I-45
I-44
I-43
I-42
I-41
I-40
N.C. N.C.
[49]
A48
B48
A47
B47
A46
B46
A45
B45
A44
B44
A43
B43
A42
B42
A41
B41
A40
B40
A39
B39
A38
B38
A37
B37
A36
B36
A35
B35
A34
B34
A33
B33
A32
B32
A31
B31
A30
B30 B29
A29 A28
B28
A27
B27
A26
B26
A25
B25
A24
B24
A23
B23
A22
B22
A21
B21
A20
B20
A19
B19
A18
B18
A17
B17
A16
B16
A15
B15
A14
B14
A13
B13
A12
B12
A11
B11
A10
B10
A09
B09
A08
B08
A07
B07
A06
B06
A05
B05
A04
B04
A03
B03
A02
B02
A01
B01
[96] [48]
IP 2/3 IP 2/3 I-37* I-36* I-35* I-34* I-33* I-32* I-31* I-30* I-27* I-26* I-25* I-24* I-23* I-22* I-21* I-20* N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. IP 0/1 IP 0/1 I-17* I-16* I-15* I-14* I-13* I-12* I-11* I-10* I-07* I-06* I-05* I-04* I-03* I-02* I-01* I-00* N.C. N.C.
Common plus pin for +2/+3 intput ports
+3 port (input)
+2 port (input)
N.C.
Common plus pin for +0/+1 intput ports
+1 port (input)
+0 port (input)
N.C.
3. External Connection
The numbers in square brackets [ ] are pin numbers designated by HONDA TSUSHIN KOGYO CO., LTD.
I-00 - I-77 64 input signal pins. Connect output signals from the external device to these pins. IP 0/1 - IP 6/7 Connect the positive side of the external power supply. These pins are common to
N.C. This pin is left unconnected.
* I-00 - I-37 can be used as interrupt signal.
16 input signal pins.
Figure 3.3. Pin Assignments of Interface Connector (CN1) <PI-64L(PCI)H>
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
37
Page 45
3. External Connection
Pin Assignments of Interface Connector (CN1) <PO-64L(PCI)H>
[1]
N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C.
[49] B48
A48
B47
A47
B46
A46
B45
A45
B44
A44
B43
A43
B42
A42
B41
A41
B40
A40
B39
A39
B38
A38
B37
A37
B36
A36
B35
A35
B34
A34
B33
A33
B32
A32
B31
A31
B30
A30
B29
A29
B28
A28
B27
A27
B26
A26
B25
A25
B24
A24
B23
A23
B22
A22
B21
A21
B20
A20
B19
A19
B18
A18
B17
A17
B16
A16
B15
A15
B14
A14
B13
A13
B12
A12
B11
A11
B10
A10
B09
A09
B08
A08
B07
A07
B06
A06
B05
A05
B04
A04
B03
A03
B02
A02
B01
A01
[96] [48]
OP 2/3 OP 2/3 O-37 O-36 O-35 O-34 O-33 O-32 O-31 O-30 O-27 O-26 O-25 O-24 O-23 O-22 O-21 O-20 ON 2/3 ON 2/3 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. OP 0/1 OP 0/1 O-17 O-16 O-15 O-14 O-13 O-12 O-11 O-10 O-07 O-06 O-05 O-04 O-03 O-02 O-01 O-00 ON 0/1 ON 0/1
Common plus pin for +2/+3 output ports
+3 port (output)
+2 port (output)
Common mi nus pin for +2/+3 output ports
N.C.
Common plus pin for +0/+1 output ports
+1 port (output)
+0 port (output)
Common mi nus pin for +0/+1 output ports
Common plus pin for
+6/+7 output ports
+7 port (output)
+6 port (output)
Common minus pin for
+6/+7 output ports
N.C.
Common plus pin for
+4/+5 output ports
+5 port (output)
+4 port (output)
Common minus pin for
+4/+5 output ports
OP 6/7 OP 6/7
O-77 O-76 O-75 O-74 O-73 O-72 O-71 O-70 O-67 O-66 O-65 O-64 O-63 O-62 O-61
O-60 ON 6/7 ON 6/7
OP 4/5 OP 4/5
O-57 O-56 O-55 O-54 O-53 O-52 O-51 O-50 O-47 O-46 O-45 O-44 O-43 O-42 O-41
O-40 ON 4/5 ON 4/5
The numbers in square brackets [ ] are pin numbers designated by HONDA TSUSHIN KOGYO CO., LTD.
O-00 - O-77 64 output signal pins. Connect input signals from the external device to these pins. OP 0/1 - OP 6/7
ON 0/1 - ON 6/7 Connect the negative side of the external power supply. These pins are common to
N.C. This pin is left unconnected.
Connect the positive side o f the ex te rnal pow er su ppl y. Th ese pi n s are co mmo n to 16 output signal pins.
16 output signal pins.
Figure 3.4. Pin Assignments of Interface Connector (CN1) <PO-64L(PCI)H>
38
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 46
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-32/32L(PCI)H
Table 3.1. Logical Ports, Logical Bits, and Connector Signal Pins <PIO-32/32L(PCI)H>
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
Output logical port0
Output logical port1
Output logical port2
Output logical port3
Note :
[7]
[6]
[5]
[4]
[3]
[2]
I-17
I-16
I-15
I-14
I-13
[15]
[14]
[13]
[12]
I-27
I-26
I-25
[23]
[22]
I-37
I-36
[31]
[30]
D7 D6 D5 D4 D3 D2 D1 D0
O-47
O-46
[7]
[6]
O-57
O-56
[15]
[14]
O-67
O-66
[23]
[22]
O-77
O-76
[31]
[30]
I-xx represents a CAN input signal; O-xx represents a CNB output signal. [xx] represents a logical bit.
[21] I-35
[29]
O-45
[5]
O-55
[13]
O-65
[21]
O-75
[29]
I-24 [20]
I-34 [28]
O-44
[4]
O-54
[12]
O-64
[20]
O-74
[28]
[11]
I-23
[19]
I-33
[27]
O-43
[3]
O-53
[11]
O-63
[19]
O-73
[27]
I-12 [10]
I-22 [18]
I-32 [26]
O-42
[2]
O-52
[10]
O-62
[18]
O-72
[26]
[1]
I-11
[9]
I-21 [17]
I-31 [25]
O-41
[1]
O-51
[9]
O-61
[17]
O-71
[25]
I-00
[0]
I-10
[8]
I-20 [16]
I-30 [24]
O-40
[0]
O-50
[8]
O-60
[16]
O-70
[24]
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
39
Page 47
3. External Connection
PI-64L(PCI)H
Table 3.2. Logical Ports, Logical Bits, and Connector Signal Pins <PI-64L(PCI)H>
D7 D6 D5 D4 D3 D2 D1 D0
I-07
I-06
I-05
I-04
I-03
I-02
I-01
Input logical port0
Input logical port1
Input logical port2
Input logical port3
Input logical port4
Input logical port5
Input logical port6
Input logical port7
Note :
[7]
[6]
[5]
I-17
I-16 [14]
I-26 [22]
I-36 [30]
I-46 [38]
I-56 [46]
I-66 [54]
I-76 [62]
I-15
[13]
I-25
[21]
I-35
[29]
I-45
[37]
I-55
[45]
I-65
[53]
I-75
[61]
[15] I-27
[23] I-37
[31] I-47
[39] I-57
[47] I-67
[55] I-77
[63]
I-xx represent input signals. [xx] represents a logical bit.
[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]
PO-64L(PCI)H
Table 3.3. Logical Ports, Logical Bits, and Connector Signal Pins <PO-64L(PCI)H>
D7 D6 D5 D4 D3 D2 D1 D0
O-07
O-06
O-05
O-04
O-03
O-02
O-01
Output logical port0
Output logical port1
Output logical port2
Output logical port3
Output logical port4
Output logical port5
Output logical port6
Output logical port7
Note :
CAUTION
[7]
[6]
[5]
[4]
[3]
[2]
O-17
O-16
O-15
O-14
O-13
[15]
[14]
[13]
O-27
O-26
[22]
O-36
[30]
O-46
[38]
O-56
[46]
O-66
[54]
O-76
[62]
O-25
[21]
O-35
[29]
O-45
[37]
O-55
[45]
O-65
[53]
O-75
[61]
[23]
O-37
[31]
O-47
[39]
O-57
[47]
O-67
[55]
O-77
[63]
O-xx represent output signals. [xx] represents a logical bit.
[12]
O-24
[20]
O-34
[28]
O-44
[36]
O-54
[44]
O-64
[52]
O-74
[60]
[11]
O-23
[19]
O-33
[27]
O-43
[35]
O-53
[43]
O-63
[51]
O-73
[59]
O-12
[10]
O-22
[18]
O-32
[26]
O-42
[34]
O-52
[42]
O-62
[50]
O-72
[58]
[1]
O-11
[9]
O-21
[17]
O-31
[25]
O-41
[33]
O-51
[41]
O-61
[49]
O-71
[57]
O-00
[0]
O-10
[8]
O-20
[16]
O-30
[24]
O-40
[32]
O-50
[40]
O-60
[48]
O-70
[56]
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).
40
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 48
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 deviceBoard
Vcc
Optocoupler
Vcc
Optocoupler
* Input pin represent input signals.
un-connect
un-connect
Plus common
Input pin
Input pin
Swich
Swich
External power supply 12 - 24VDC
Figure 3.5. Input Circuit <PIO-32/32L(PCI)H>, <PI-64L(PCI)H>
The input circuits of interface blocks of the PIO-32/32L(PCI)H and PI-64L(PCI)H are illustrated in Figure 3.5. The signal inputs are isolated by opto-couplers (ready to accept current sinking output signals). The boa rd the ref o re r equ ir es an e xt ern al power supply to drive the inputs. The power requirement for each input pin is about 5.1 mA at 24 VDC (about 2.6 mA at 12 VDC).

Connecting a Switch

Input plas common (CN1 : A19pin)
I-00 (CN1 : A03pin)
Board side
Switch
+
External power supply 12 - 24VDC
-
When the switch is ON, the corresponding bit contains 1. When the switch is OFF, by contrast, the bit contains 0.
Figure 3.6. An Example to use Input I00 <PIO-32/32L(PCI)H>, <PI-64L(PCI)H>
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
41
Page 49
3. External Connection

Output Circuit

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

Board
Vcc
Optocoupler
Optocoupler
PolySwitch
* Output pin represent output signals.
Zener diode
Zener diode
Plus common
Output pin
Output pin
Minus common
External device
*
Load *
Load
External power supply 12 - 24VDC
Figure 3.7. Output Circuit <PIO-32/32L(PCI)H>, <PO-64L(PCI)H>
The output circuits of interface blocks of the PIO-32/32L(PCI)H and PO-64L(PCI)H are illustrated in Figure 3.7. The signal output section is an opto-coupler 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 overcurrent protector is provided for every eight output transistors. When the overcurrent protector works, the output section of the board is temporarily disabled. If this is the case, turn of th e 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.
42
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 50

Connection to the LED

3. External Connection
Output plus com m o n (CN1 : B19pin)
5.1k
Board side
O-40 (CN1 : B03pin) Output minus common (CN1 : B01pin)
When "1" is output to a relevant bit, the corresponding LED comes on. When "0" is output to the bit, in contrast, the LED goes out.
LED
+
External power supply 12 - 24VDC
-
Figure 3.8. An Example to use Output O-40 <PIO-32/32L(PCI)H>, <PO-64L(PCI)H>

Example of Connection to TTL Level Input

External power supply 12 - 24VDC
+
-
Input board
Output plus common
Output
VCC
2k
TTL level input
Output minus common
GND
Figure 3.9. Connection Example of Output and TTL level Input Signal <PIO-32/32L(PCI)H>, <PO-64L(PCI)H>
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
43
Page 51
3. External Connection
Connecting the Sink Type Output and Sink Output Support Input
The following example shows a connection between a sink type output (o utput board) and a sink output support input (input board). Refer to this connection example when you conn ect such boards to each other.
External power supply 12 - 24VDC
+
-
Output board
Output plus common
Output (sink type)
Output minus common
Input board
Input plu s co mm o n
Input (Compatible with sink output)
Figure 3.10.Example of Connecting the Sink Type Output and Sink Output Support Input
44
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 52

4. Function

4. Function
This section describes the features of the board. Each function described here can be easily set and executed by using the bundled API function library.
For details, refer to API-DIO HELP available after installation.

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, a ll output are reset to 0 (OFF).

Monitoring Output Data

The <PIO-32/32L(PCI)H> and <PO-64L(PCI)H> can read the state of the data currently being output without affecting the output data.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
45
Page 53
4. Function

Digital Filter Function

Using this feature, the < PIO-32/32L(PCI)H > and < PI-64L(PCI)H > can apply a digital filter to every input pin, thereby preventing wrong recognition of input signals from being affected by noise or chattering.

Digital Filter Function Principle

The digital filter checks the input signal level during the sampling time of the clock signal. When the signal level remains the same for the digital filter set time, the digital filter recognizes that signal as the input signal and changes the signal level of the PC If the signal level changes at a frequency shorter than the set time, there fore, the level cha nge is ignored.
Input Signal
Digital Filter
Filter Setting Time
Input to PC
Input Signal
Invalid
Input to PC
Valid
Figure 4.1. Digital Filter Function Principle

Set Digital Filter Time

Set the digital filter time to 0 - 24 (14h). Setting the digital filter time to 0 disables digital filtering. It is set to 0 when the power is turn ed on . Figure 4.2 shows the relationships between digital filter time settings and the actual digital filter times.
n
Digital Filter Time[sec.] = 2
n: = setting data(0 - 20)
Setting Data
(n)
0 (00h) The filter functio n
1 (01h) 0.25µsec 8 (08h) 32µsec 15 (0Fh) 4.096mse c 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
Digital Filter
Time
is not used.
Figure 4.2. Digital Filter Time and Setting Data
CAUTION
- If you set the digital filter time, the filter applies to all in put pins. You cann ot apply t he filte r only t o a specific filter.
- Do not set Setting Data to a value outside the above range as doing so can cause the board to malfunction.
/ (8 x 106)
Setting Data
(n)
7 (07h) 16µsec 14 (0Eh) 2.048msec
Digital Filter
Time
Setting Data
(n)
Digital Filter
Time
46
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 54
4. Function

Interrupt Control Function

The PIO-32/32L(PCI)H can use all of the input signals as interrupt request signals. The <PI-64L(PCI)> can use up to 32 channels of input signals as interrupt request signals. The input signals available as interrupt request signals are I-00 - I-37.
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 Edge of input signals, at which to generate an iterrupt
The input signal edge selection bit can be used to set the input logic for interruption bit by bit. If you set an inp ut signal edge sele ct ion 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 inp u t s ignal edge selection bit to 1, an interrupt occurs when the input valu e to the corresponding bit changes from 1 to 0 (at the rise of the input signal from Low to High).
CAUTION
All of the input signal edge selection bits are set to 0 when the power is turned on.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
47
Page 55
4. Function

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 e ven whe n the input signal changes its level.
48
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 56
5. About Software CD-ROM Directory Structure
\ |– Autorun.exe Installer Main Window
| Readmej.html Version information on each API-TOOL (Japanese) | Readmeu.html Version information on each API-TOOL (English)
.
. |–––APIPAC Each installer | |––AIO | | |––DISK1 | | |––DISK2 | | |––…… | | |––DISKN | |––AioWdm | |––CNT | |––DIO | |––……
.
. | ––HELP HELP file | |––Aio | |––Cnt | |––……
.
. | ––INF Each INF file for OS | |––WDM | |––Win2000 | |––Win95
.
. |––linux Linux driver file | |––cnt | |––dio | |––……
.
. | ––Readme Readme file for each driver
.
. | ––Release Driver file on each API-TOOL | |––API_NT (For creation of a user-specific install program) | |––API_W95
.
. | ––UsersGuide Hardware User's Guide(PDF files)

5. About Software

PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
49
Page 57
5. About Software

About Software for Windows

The bundled CD-ROM “Driver Library API-PAC(W32)” contains the functions th at provide the following features:
- Digital input/output of specified ports
- Hardware digital input/output of specified bits
- Hardware digital filtering that prevents wrong recognition of input signals from being affected by noise or 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 troubleshooti ng.

Accessing the Help File

(1) Click on the [Start] button on the Windows taskbar. (2) Using the API-DIO(WDM), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)”
- “DIOWDM” - “API-DIO(WDM) HELP” to display help information.
(3) Using the API-DIO(98/PC), from th e Start Menu, select “Pr ograms” – “CO NTEC API-PAC( W32)”
- “Dio” - “API-DIO HELP” to display help information.

Using Sample Programs

Sample programs have been prepared for specific basic applications. For the API-DIO(WDM), The sample programs are stored in
\Program Files\CONTEC\API-PAC(W32)\DIOWDM\Sample.
For the API-DIO(98/PC), The sample programs are stored in
\Program Files\CONTEC\API-PAC(W32)\Dio\Samples.
To use each sample program, enter its dr iver number and gro up number set by API-T OOL Configuratio n in the DrvNo and GrpNo fields.
Use these sample programs as references for program development and operation check.
Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) For the API-DIO(WDM), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” –
“DIOWDM” – “SAMPLE…”.
(3) For the API-DIO(98/PC), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” –
“Dio” – “SAMPLE…”.
(4) A sample program is invoked.
50
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 58
5. About Software
Sample Programs – Examples API-DIO(WDM) sample program
- Simple I/O sample program : Input digital data through a specified port.
- Multi ports/bits I/O sample program : Input digital data through a specified multi ports/bits.
- Trigger monitoring sample program : Monitoring rising/falling trigger through a specified
- Interrupt sample program : Services interrupts of a specified board.
API-DIO(98/PC) sample program
-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 progra mmable bo ard .
-Sample program 4 : Inputs digital data from a specified port in the background.
-Sample program 5 : Inputs/outputs digital data from/to a specified bit.
-Sample program 6 : Services interrupts of a specified board.
-Sample program 7 : Provides process control of a specified board.
-Sample program 8 : Performs trigger monitoring of a specified board.
-Sample program 9 : Inputs/outputs digital data through a specified port using BCD data.
-Sample program 10 : Executes digital input/output (simple functions) at specified bits through a specified port.
-Sample program 11 : Services interrupts of a specified board (using an extended fu nction).
-Sample program (Console) : Inputs/outputs digital data th rough a specified port.
board.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
51
Page 59
5. About Software

Uninstalling the Driver 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 “Control Panel”. (2) Double-click on “Add or Remove Programs” in the Control Panel. (3) For use of API-DIO(WDM), select “CONTEC API-DIO(WDM) driver” and
“CONTEC API-DIO(WDM) VerX.XX (Develop)” from the application list displayed. For use of API-DIO(98/PC), select “CONTEC API-DIO(98/PC)xx VerX.XX (Develop)” and “CONTEC API-DIO(98/PC)xx VerX.XX (Runtime)” from the application list displayed. Click on the [Change/Remove] button. Follow the on-screen instructions to uninstall the function libraries.
52
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 60
5. About Software

About Software for Linux

The Linux version of digital I/O function driver, API-DIO(LNX), provides functions that execute the following features:
- Digital input/output of specified ports
- Digital input/out p ut of specified bi ts
- Hardware digital filtering that prevents wrong recognition of input signals from being affected by
noise or 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 troubles hooting.

Driver Software Install Procedure

The Linux version for digital I/O driver, API-DIO(LNX), is supplied as a compressed file /linux/dio/cdioXXX.tgz on the bundled API-PAC(W32)CD-ROM. (Note: XXX represents the driver version.)
Mount the CD-ROM as shown below, copy the file to an arbitrary directory, and decompress the file to install the driver.
For details on using the driver, refer to readme.txt and the help file in HTML format extracted by installation.
To install the driver, l og in as a sup eru se r.
Decompression and setup procedure
# cd # mount /dev/cdrom /mnt/cdrom Mount the CD-ROM. # cp /mnt/cdrom/linux/dio/cdioXXX.tgz ./ Copy the compressed file. # tar xvfz cdioXXX.tgz Decompress the compressed file.
................
# cd contec/cdio # make
Compile the file.
................
# make install Install.
................
# cd config # ./config Set up the board to be used.
..... Set as follows.........
# ./contec_dio_start.sh Start the driver. # cd
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
53
Page 61
5. About Software

Accessing the Help File

(1) Invoke a web browser in your X-Window environment. (2) In the browser, open diohelp.htm in the the contec/cdio/help directory.

Using Sample Programs

Sample programs have been prepared for specific basic applications. Sample programs for each language are contained in the contec/cdio/samples directory. For compiling them, refer to the manual for the desired language.

Uninstalling the driver

To uninstall the driver, use the uninstall shell script contained in the contec/cdio directory. For details, check the contents of the script.
54
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 62

6. About Hardware

6. About Hardware
This chapter provides hardware specifications and hardware-related supplementary information.

For detailed technical information

For further detailed technical information (“Technical Reference” including the information such as an I/O map, configuration register, etc.), visit the Contec's web site (http://www.contec.com/support/) to call for it.

Hardware specification

PIO-32/32L(PCI)H
Table 6.1. Specification < PIO-32/32L(PCI)H> <1/2>
Item Specification
Input
Input format Opto-coupler isolated input (Compatible with current sink output)(Negative logic *1) Number of input
signal channels Input resistance 4.7k Input ON current 2.0mA or more Input OFF current 0.16mA or less Interrupt 32 interrupt input signals are arranged into a single output of interrupt signal INTA.
Response time 200µsec within
Output
Output format Opto-coupler isolated open-collector output (current sink type)(Negative logic *1) Number of output signal channels
Output voltage
rating
Output
current Residual voltage with output on Surge protector Zener diode RD47FM(NEC) or equivalent Response time 200µsec within
Common
I/O address Any 32-by t e b o und a ry Interruption level 1 level use Max. board co un t
for connectio n Dielectric strength 500Vrms External circuit power supply
32 channels (all available for interrupts) (One common power supply per 16 channels)
An interrupt is generated at the rising edge (HIGH-to-LOW transition) or falling edge (LOW-to -HI GH tran si tion ).
32 channels (One common power supply per 16 channels)
35VDC (Max.)Output
100mA (par channel) (Max. )
0.5V or less (Output current50mA), 1.0V or less (Output current≤100mA)
16 boards including the master board
12 - 24VDC(±10%)
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
55
Page 63
6. About Hardware
Table 6.1. Specification < PIO-32/32L(PCI)H> <2/2>
Item Specification
Common
Power consumption 5VDC 250mA (Max.) Operating condition 0 - 50°C, 10 - 90%RH(No condensation) Allowable distance of
signal extension PCI bus specification 32bit, 33MHz, Universal key shapes supported *2 Dimension (mm) 176.41(L) x 105.68(H) Weight 215g
*1 Data “0” and “1” correspond to the High and Low levels, respectively. *2
This board requires power supply at +5 V fr om an e xpansion s lot (it do es not w ork on a machine with a +3.3-V p o wer
supply alone).
Approx. 50m (depending on wir ing e nvir onmen t)
Board Dimensions
176.41(L)
105.68(H)
[mm]
The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover.
56
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 64
6. About Hardware
PI-64L(PCI)H
Table 6.2. Specification < PI-64L(PCI)H>
Item Specification
Input
Input format Number of input
signal channels Input resistance
Input ON current Input OFF current interrupt 32 interrupt input signals are arranged into a single output of interrupt sign al INTA.
Response time
Common
I/O address Interruption level Max. board count fo r
connection Dielectric strength
External circuit power supply
Power consumption Operating condition Allowable dista nce
of signal extension PCI bus
specification Dimension (mm)
Weight
*1 Data “0” and “1” correspond to the High and Low levels, respectively.
*2
This board requires power supply at +5 V f rom an expansion slo t (it does not work on a mach ine with a +3.3-V po wer supply alone).
Opto-coupler isolated input (Compatible with current sink output)(Negative logic *1) 64 channels (32 channels available for interrupts) (One common power supply per 16
channels)
4.7k
2.0mA or more
0.16mA or less
An interrupt is generated at the rising edge (HIGH-to-LOW transition) or falling edge (LOW-to -HIG H t ransi ti on) .
200
µsec within
Any 32-byte boundary 1 level use 16 boards including the master board
500Vrms 12 - 24VDC(±10%)
5VDC 250mA (Max.)
°
C, 10 - 90%RH(No condensation)
0 - 50 Approx. 50m (depending on wir ing e nvir onmen t)
32bit, 33MHz, Universal key shapes supported *2
176.41(L) x 105.68(H) 215g
Board Dimensions
176.41(L)
105.68(H)
[mm]
The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
57
Page 65
6. About Hardware
PO-64L(PCI)H
Table 6.3. Spec ifi c ati o n < P O-6 4 L( P CI )H>
Item Specification
Output
Output format Number of output
signal channels
Output
Output
voltage
rating
Output current
Residual voltage with output on
Surge protector Response time
Common
I/O address Interruption level Max. board count fo r
connection Dielectric strength
External circuit power supply
Power consumption Operating condition Allowable dista nce
of signal extension PCI bus
specification Dimension (mm)
Weight
*1 Data “0” and “1” correspond to the High and Low levels, respectively. *2
This board requires power supp ly at +5 V f rom an expansion s lot (it does not wo rk on a machin e with a +3.3-V p ow er supply alone).
Opto-coupler isolated open-collector output (current sink type)(Negative logic *1) 64 channels(One common power supply per 16 channels)
35VDC (Max.)
100mA (par channel) (Max. )
0.5V or less (Output current
Zener diode RD47F M(N EC ) or eq ui val ent 200
µsec within
Any 32-byte boundary Not used 16 boards including the master board
500Vrms 12 - 24VDC (±10%)
5VDC 250mA (Max.) 0 - 50
°C, 10 - 90%RH (No condensation)
Approx. 50m (depending on wir ing e nvir onmen t)
32bit, 33MHz, Universal key shapes supported *2
176.41(L) x 105.68(H) 215g
50mA), 1.0V or less (Output current100mA)
Board Dimensions
176.41(L)
105.68(H)
[mm]
The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover.
58
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 66

Block Diagram

PIO-32/32L(PCI)H
6. About Hardware
&
&
Opto-
&
Opto-
&
Input Port 0 (8 channels, Group 0)
Input Port 1 (8 channels, Group 1)
Input Port 2 (8 channels, Group 2)
Input Port 3 (8 channels, Group 3)
Output Port 0 (8 channels, Group 4)
Output Port 1 (8 channels, Group 5)
Output Port 2 (8 channels, Group 6)
Output Port 3 (8 channels, Group 7)
Opto­coupler
Opto­coupler
Opto­coupler
Opto­coupler
Control Circuits
PCI BUS
Interrupt Control Circuit
PIO-32/32L(PCI)H
Opto-
coupler
Transistors
Opto-
coupler
Transistors
coupler
Transistors
coupler
Transistors
Figure 6.1. Block Diagram < PIO-32/32L(PCI)H>
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
59
Page 67
6. About Hardware
PI-64L(PCI)H
PCI BUS
Control Circuits
Interrupt Control Circuit
Opto­coupler
Opto­coupler
Opto­coupler
Opto­coupler
Opto­coupler
Opto­coupler
Opto­coupler
Opto­coupler
Input Port0 (8 channels, Group 0)
Input Port1 (8 channels, Group 1)
Input Port2 (8 channels, Group 2)
Input Port3 (8 channels, Group 3)
Input Port4 (8 channels, Group 4)
Input Port5 (8 channels, Group 5)
Input Port6 (8 channels, Group 6)
Input Port7 (8 channels, Group 7)
PI-64L(PCI)H
Figure 6.2. Block Diagram < PI-64L(PCI)H>
60
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 68
PO-64L(PCI)H
6. About Hardware
Opto-coupler
&
Transistors
Opto-coupler
&
Transistors
Opto-coupler
&
Transistors
Opto-coupler
&
Transistors
Control
PCI BUS
Circuits
PO-64L(PCI)H
Opto-coupler
&
Transistors
Opto-coupler
&
Transistors
Opto-coupler
&
Transistors
Opto-coupler
&
Transistors
Figure 6.3. Block Diagram < PO-64L(PCI)H>
Output Port 0 (8 channels, Group 0)
Output Port 1 (8 channels, Group 1)
Output Port 2 (8 channels, Group 2)
Output Port 3 (8 channels, Group 3)
Output Port 4 (8 channels, Group 4)
Output Port 5 (8 channels, Group 5)
Output Port 6 (8 channels, Group 6)
Output Port 7 (8 channels, Group 7)
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
61
Page 69
6. About Hardware

Differences between the PIO-32/32L(PCI)H and PIO-32/32L(PCI)

The PIO-32/32L(PCI)H is connector-pin compatible with the con ventional PI O-32/32L(P CI) but ha s the following differences from it:
(1) Different in the number of input signals availabl e to inte rrupt r equests
PIO-32/32L(PCI)H : All of 32 channels PIO-32/32L(PCI) : 4 c h annel s
(2) Different in the expression to calculate the digital filter time (n: setting value)
PIO-32/32L(PCI)H : 2 PIO-32/32L(PCI) : 2
(3) Protective elements provided for outputs
PIO-32/32L(PCI)H : Surge protector: Zener diode PIO-32/32L(PCI) : Nothing
(4) Different in interrupt level resource allocation
PIO-32/32L(PCI)H : Automatically allocates on interrupt leve l. PIO-32/32L(PCI) : Uses a jumper switch to select whether to allocate interrupt levels.
n
/ (8 x 106)
n
/ (16 x 106)

Differences between the PI-64L(PCI)H and PI-64L(PCI)

The PI-64L(PCI)H is connector-pin compatible wi th the conventional PI-64L(PCI) but has the following differences from it:
(1) Different in the number of input signals available to interrupt requests
PI-64L(PCI)H : 32 channels PI-64L(PCI) : 4 channels
(2) Different in the expression to calculate the digital filter time (n: setting value)
PI-64L(PCI)H : 2 PI-64L(PCI) : 2
(3) Different in interrupt level resource allocation
PI-64L(PCI)H : Automatically allocates on interr upt level. PI-64L(PCI) : Uses a jumper switch to select whether to allocate interrupt levels.
n
/ (8 x 106)
n
/ (16 x 106)
62
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
Page 70
6. About Hardware

Differences between the PO-64L(PCI)H and PO-64L(PCI)

The PO-64L(PCI)H is connector-pin compatible with the conventional PO-64L(PCI) but ha s the following differences from it:
(1) Protective elements provided for outputs
PO-64L(PCI)H : Surge protector: Zener diode PO-64L(PCI) : Nothing
(2) Different in interrupt level resource allocation
PO-64L(PCI)H : Automatically allocates on interrupt level. PO-64L(PCI) : Uses a jumper switch to select whether to allocate interrupt levels.
PIO-32/32L(PCI)H, PI-64L(PCI)H, PO-64L(PCI)H
63
Page 71
PIO-32/32L(PCI)H
PI-64L(PCI)H
PO-64L(PCI)H
User’s Guide
CONTEC CO., LTD.
3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Japanese http://www.contec.co.jp/ English http://www.contec.com/ Chinese http://www.contec.com.cn/
No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [09032007]
[04112003] Management No. A-46-736 [09032007_rev4] Parts No. LYCB522
September 2007 Edition
Loading...