Contec DIO-48D-LPE User Manual

PC-HELPER
Bi-Directional Digital I/O Board for PCI Express Low Profile
DIO-48D-LPE
User’s Guide
CONTEC CO.,LTD.

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 c omplete. If yo u discover damaged or missing it ems,
contact your retailer.
Product Configuration List
- Board [DIO-48D-LPE] …1
- First step guide …1
- CD-ROM *1 [API-PAC(W32)] …1
- Standard-sized bracket …1 *1 The CD-ROM contains the driver software and User’s Guide (this guide)
Board
DIO-48D-LPE
First step guide
CD-ROM
[API-PAC(W32)]
Standard-sized
bracket
i

Copyright

Copyright 2006 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 and Windows NT are trademarks of Microsoft Corporation. Other brand and product names are trademarks of their respective holder.
ii
DIO-48D-LPE

Table of Contents

Check Your Pack ag e............................................................................................................................i
Copyright ............................................................................................................................................ ii
Trademarks .........................................................................................................................................ii
Table of Con tents...............................................................................................................................iii
1. BEFORE USING THE PRODUCT 1
About the Bo ard.................................................................................................................................. 1
Features........................................................................................................................................ 1
Support Softw ar e ......................................................................................................................... 2
Cable & Connect or ( Op ti on ) ...................................................................................................... 3
Accessories ( Op tio n ) .................................................................................................................. 3
Customer Supp o rt ............................................................................................................................... 4
Web Site....................................................................................................................................... 4
Limited Thre e -Y ea rs Wa r ra nt y .......................................................................................................... 4
How to Obtain Serv ic e ....................................................................................................................... 4
Liability............................................................................................................................................... 4
Safety Precau t ion s .............................................................................................................................. 5
Safety Infor mat i on ....................................................................................................................... 5
Handling Pre ca u tio n s................................................................................................................... 6
Environment................................................................................................................................. 7
Inspection..................................................................................................................................... 7
Storage ......................................................................................................................................... 7
Disposal ....................................................................................................................................... 7
2. SETUP 9
What is Setup? .................................................................................................................................... 9
Using the Board un de r W in do w s Us in g th e D riv e r Lib ra r y A PI -PAC ( W 3 2) ............................ 9
Using the Board under Windows Using Software other than the Driver Library
API-PAC(W32 )............................................................................................................................ 9
Using the board u nd e r an O S oth e r th an W i ndo w s ................................................................... 10
Step 1 Installi n g the Software .......................................................................................................... 11
Starting the I ns t all P r og r a m....................................................................................................... 11
Selecting the Di git a l I/ O Dr iv er ................................................................................................12
Executing the In s tal l a tio n .......................................................................................................... 13
Step 2 Setting th e H ar d wa r e ............................................................................................................. 14
Replacing the B rac k et................................................................................................................ 14
Parts of the Bo ard an d F ac to r y D ef au l ts ................................................................................... 15
Setting the Bo ard ID .................................................................................................................. 15
Plugging the Board .................................................................................................................... 16
DIO-48D-LPE
iii
Step 3 Installi ng th e H ard w a re .........................................................................................................17
Turning on the PC......................................................................................................................1 7
Setting with th e Fou n d Ne w H a rd war e W iz a rd......................................................................... 17
Step 4 Initi alizing the S o f tware........................................................................................................ 20
Invoking API-TOOL Configuration.......................................................................................... 20
Updating the S e ttin g s................................................................................................................. 20
Step 5 Checkin g Operations wi th th e D i agn o s is P rog ram ............................................................... 21
What is the Di agno s is P r og r a m?................................................................................................ 21
Check Method ............................................................................................................................ 21
Using the Di agnosis Program.................................................................................................... 22
Setup Troubl esh oo ti n g...................................................................................................................... 25
Symptoms and A cti o ns .............................................................................................................. 25
If your proble m c a nno t b e r eso lv ed........................................................................................... 25
3. EXTERNAL CONNECTION 27
How to connect the c on n ec to r s......................................................................................................... 27
Connector shape and op tio nal cable conn ection ....................................................................... 27
Connector Pin Ass i gnment ........................................................................................................28
Relationships be tw ee n AP I-P AC ( W32 ) Log ic a l Po rt s/ Bi ts a nd Co nn e cto r Sig na l Pin s.......... 30
Connecting I/ O Sign a ls..................................................................................................................... 31
I/O Circuit .................................................................................................................................. 31
Example Conn ect io n 1 (Us in g D I O-6 8 M/9 6 F) ......................................................................... 32
Example Conn ect io n 2 (Us in g P CA6 8 P S-* * P).........................................................................32
4. FUNCTION 33
Data I/O Func tio n ............................................................................................................................. 3 3
I/O setup of the port................................................................................................................... 33
Data I/O......................................................................................................................................3 5
Digital Filter...................................................................................................................................... 36
Digital Filter Function Principle................................................................................................ 36
Set Digital F ilt e r Time............................................................................................................... 36
Interrupt Con tr ol Fu n ct io n................................................................................................................ 37
Disabling/En a bl ing I n te rr up ts....................................................................................................37
Selecting th e In t e rru p t E dg e ................................................................................................... ... 37
Clearing the Inte rru pt St atu s an d In t er ru p t Si g n al .................................................................... 37
iv
DIO-48D-LPE
5. ABOUT SOFTWARE 39
CD-ROM Directo r y S t ru c tu re .......................................................................................................... 39
About Software for Windo w s........................................................................................................... 40
Accessing the He lp F il e........................................................................................................ ..... 40
Using Sample Programs ............................................................................................................ 41
Uninstalling the Dr i v er Li b ra rie s .............................................................................................. 43
About Software for Linux ....................................................................................................... .......... 44
Driver Softwa re In s tal l Pro c ed ur e ............................................................................................. 44
Accessing the He lp F il e........................................................................................................ ..... 45
Using Sample Programs ............................................................................................................ 45
Uninstalling the driver............................................................................................................... 45
6. ABOUT HARDWARE 47
For detailed t e chn ic a l in f o r mat io n ................................................................................................... 47
Hardware spe cification..................................................................................................................... 47
Block Diagra m.................................................................................................................................. 48
DIO-48D-LPE
v
vi
DIO-48D-LPE

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 Express bus-compliant interface board t hat can perform the input/output of LVTT L level bi-directional digital signal. This product can input and output up to 48 channels. You can select the input/output by the application software in eight signals units. This product supports a Low Profile size slot and, if replaced with the supplied bracket, supports a standard size slot, too.
Using the bundled API function library packa ge [API-P AC(W32)], you can create Windows appli cation software for this board in your favorite programming language supporting Win32 API functions, such as Visual Basic or Visual C++.

Features

- This product can be used to input/output 48 points bi-directional digital corresponding to the i8255 mode 0.
- Unisolated LVTTL-level (positive logic) input/output enabling fast response (within 200 nsec)
- You can use all of the input signals (Max. 48) as interrupt inputs. You can also disable or enable the interrupt in bit units and select the interrupt edge.
- This product has a digital filter to prevent input signals from carrying noise or a chattering.
- You can set the input/output switching by the application software.
- Support for both of low-profile and standard size slots (interchangeable with a bundled bracket)
- Equipped with the same function as the PCI board PIO-48D(PCI), PIO-48D(LPCI)H and the CardBus PIO-48D(CB)H
- The signal assignment for the connector when the DIO-68M/96F cable is used is compatible with that for the connector when the PCB96P-** series and the PCB96PS-**P series option cable on the PIO-48D(PCI) is used.
DIO-48D-LPE
1
1. Before Using the Product

Support Software

You should use CONTEC support software according to your purpose and de velop ment environ ment. Driver Library
API-PAC(W32)
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 adva nta g e of the CONTE C har dware usi ng va r ious programming languages that support Win32 API functions, such as Visual Basic and Visual C++.
It can also be used by the installed diagnosis program to check hardware operations. CONTEC provides download services (at http://www.contec.com/apipac/ ) 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, Server 2003, 2000 Adaptation language
Visual C++ .NET, V i sual C# . N ET, Vi s u al Ba si c . N ET, Vis u a l C+ +, Vi s u al Ba sic, Delphi, C++Builder
Linux version of digital I/O driver This driver is used to control CONTEC digital I/O boards (cards) from within Linux.
You can control CONTEC I/O boards easily using the shared library called from the user applicatio n, the device driver (module) for kernel version, and the board (card) configuration program (config). CONTEC provides download services (at http://www.contec.com/apipac/ ) to supply the updated drivers and differential files. For details, read Help on the bundled CD-ROM or visit the CONTEC’s Web site.
(Bundled)
, etc..
API-DIO(LNX)
(Supplied: Stored on the API-PAC(W32) CD-ROM)
< Operating environment > OS RedHatLinux, TurboLinux, etc..
Adaptation language gcc, etc..
Data acquisition VI library for LabVIEW
(For details on supported distributions, refer to Help available after installation.)
(Available for downloading (free of charge) from
VI-DAQ
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 Ac quisition VI, allowing you to use various devices without complicated settings. See http://www.contec.com/vidaq/ for details and download of VI-DAQ.
2
DIO-48D-LPE
1. Before Using the Product

Cable & Connector (Option)

Shielded Cable for CardBusDigital I/O Card : DIO-68M/96F (0.5m) Shield Cable with One 68-Pin Connector : PCA68PS-0.5P (0.5m)
: PCA68PS-1.5P (1.5m)

Accessories (Option)

Terminal Unit for Relay Terminal Banks : EPD-96 *1 Screw Terminal : DTP-64(PC) *1 *1 DIO-68M/96F optional cable is required separately. * Check the CONTEC’s Web site for more information on these options.
DIO-48D-LPE
3
1. Before Using the Product

Customer Support

CONTEC provides the following sup port services for you t o use CONTEC product s more 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 products 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 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 products. 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 consequentia l damages due to s uch defect or consequences t hat arise from inexperienced usage, misuse, or malfunction of this device.
4
DIO-48D-LPE
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 sym bols 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.
DIO-48D-LPE
5
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 and jumpers 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 extension slot while the computer's power is turned on. And also do not connect the board and external device while the power is turned on. Otherwise, the board may malfunction, overheat, or cause a failure. Be sure that the personal computer or the I/O extension unit power is turned off.
- Make sure that your PC or extension 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 f or enhancem ent and quality
improvement. Even when using the product cont inu ously, be s ure t o read the manual a nd 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 liab le 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.
6
DIO-48D-LPE
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
Operating 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 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, and 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.

Disposal

When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances.
DIO-48D-LPE
7
1. Before Using the Product
8
DIO-48D-LPE

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 “Driver Library 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.
Using the Board under Windows
Using Software other than the Drive r Li br ary 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
DIO-48D-LPE
9
2. Setup

Using the board under an OS other than Windows

For using the board under Linux, see the following parts of this manual.
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 other than Windows and Linux, see the following parts of this manual.
This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware
10
DIO-48D-LPE
Loading...
+ 39 hidden pages