Contec DIO-1616B-LPE User Manual

PC-HELPER
Digital I/O Board with Opto-Isolation for PCI Express Low Profile
DIO-1616B-LPE
User’s Guide
CONTEC CO.,LTD.
XXXXXXXXXXXXX
XXXXXXXXXXXXX
First step guide
First step guide
DIO-1616B-LPE Disk *1
[API-PAC(W32)]
Standard-sized
bracket
Product Registration Card
& Warranty Certificate
Serial No. Label
Product Registration
Card &
Warranty Certificate
Check Your Package
Thank you for purchasing the CONTEC product. The product consists of the items listed below. Check, with the following list, that your package is complete. If you discover damaged or missing
items, contact your retailer. Product Configuration List
- Board [DIO-1616B-LPE] 1
- Standard-sized bracket 1
- First step guide 1
- Disk *1 [API-PAC(W32)] …1
- Warranty Certificate 1
- Serial number label 1 *1 Driver software (API-PAC(W32)), User’s Guide (this guide)
i

Copyright

Copyright 2015 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.
DIO-1616B-LPE
ii

Table of Contents

Check Your Package ................................................................................................................................... i
Copyright ..................................................................................................................................................... ii
Trademarks .................................................................................................................................................. ii
Table of Contents ....................................................................................................................................... iii
1. BEFORE USING THE PRODUCT 1
About the Board .......................................................................................................................................... 1
Features ................................................................................................................................................. 1
Support Software ................................................................................................................................. 3
Cable & Connector (Option) ............................................................................................................. 4
Accessories (Option) .......................................................................................................................... 4
Customer Support ....................................................................................................................................... 5
Web Site ............................................................................................................................................... 5
Limited Three-Years Warranty ................................................................................................................. 5
How to Obtain Service ............................................................................................................................... 5
Liability ........................................................................................................................................................ 5
Safety Precautions....................................................................................................................................... 6
Safety Information ............................................................................................................................... 6
Handling Precautions .......................................................................................................................... 7
Environment ......................................................................................................................................... 8
Inspection ............................................................................................................................................. 8
Storage .................................................................................................................................................. 8
Disposal ................................................................................................................................................ 8
2. SETUP 9
What is Setup?............................................................................................................................................. 9
Using the Board under Windows Using the Driver Library API-PAC(W32) .............................. 9
Using the Board under an OS Other than Windows ........................................................................ 9
Step 1 Installing the Software.................................................................................................................. 10
About the driver to be used ........................................................................................................... 10
Starting the Install Program.............................................................................................................. 11
Select API-DIO(WDM) .................................................................................................................... 12
Step 2 Setting the Hardware .................................................................................................................... 13
Replacing the Bracket ....................................................................................................................... 13
Parts of the Board and Factory Defaults ......................................................................................... 14
Setting the Board ID.......................................................................................................................... 14
Selecting Power Supply .................................................................................................................... 15
Plugging the Board ............................................................................................................................ 16
Step 3 Installing the Hardware ................................................................................................................ 17
Turning on the PC ............................................................................................................................. 17
iii
Found New Hardware Wizard Setting ................................................................................................. 18
Step 4 Initializing the Software ............................................................................................................... 19
Step 5 Operation Checks .......................................................................................................................... 21
Check Method .................................................................................................................................... 21
Using the Diagnosis Program .......................................................................................................... 22
Setup Troubleshooting ............................................................................................................................. 25
Symptoms and Actions ..................................................................................................................... 25
3. EXTERNAL CONNECTION 27
How to connect the connectors ............................................................................................................... 27
Connector shape ................................................................................................................................ 27
Connector Pin Assignment ............................................................................................................... 28
Relationships between API-PAC(W32) Logical Ports/Bits and Connector Signal Pins ........... 29
Connecting Input Signals ......................................................................................................................... 30
Input Circuit ....................................................................................................................................... 30
Connecting a Switch ......................................................................................................................... 31
Connecting Output Signals ...................................................................................................................... 32
Output Circuit .................................................................................................................................... 32
Connection to the LED ..................................................................................................................... 33
Example of Connection to TTL Level Input .................................................................................. 33
Connecting the Sink Type Output and Sink Output Support Input ..................................................... 34
4. FUNCTION 35
Data I/O Function ..................................................................................................................................... 35
Data Input ........................................................................................................................................... 35
Data Output ........................................................................................................................................ 35
Monitoring Output Data ................................................................................................................... 35
Digital Filter .............................................................................................................................................. 36
Digital Filter Function Principle ...................................................................................................... 36
Set Digital Filter Time ...................................................................................................................... 37
Interrupt Control Function ....................................................................................................................... 38
Disabling/enabling Interrupts ........................................................................................................... 38
Selecting the Interrupt Edge ............................................................................................................. 38
Clearing the Interrupt Status and Interrupt Signal ......................................................................... 38
5. ABOUT SOFTWARE 39
Bundled Media Directory Structure........................................................................................................ 39
About Software for Windows .................................................................................................................. 40
Accessing the Help File .................................................................................................................... 40
Using Sample Programs ................................................................................................................... 41
Uninstalling the Driver Libraries ..................................................................................................... 42
About Software for Linux ........................................................................................................................ 43
DIO-1616B-LPE
iv
Driver Software Install Procedure ................................................................................................... 43
Accessing the Help File .................................................................................................................... 44
Using Sample Programs.................................................................................................................... 44
Uninstalling the driver ...................................................................................................................... 44
6. ABOUT HARDWARE 45
For detailed technical information .......................................................................................................... 45
Hardware specification ............................................................................................................................. 45
Block Diagram .......................................................................................................................................... 47
Differences between DIO-1616B-LPE and PIO-16/16B(PCI)H, PIO-16/16B(LPCI)H, DIO-
1616B-PE ................................................................................................................................................... 48
v
DIO-1616B-LPE
vi
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 that extends the digital signal I/O functions of a PC.
This product is a 12 - 24VDC opto-coupler isolated type with opto-coupler isolated input 16ch and opto­coupler isolated open-collector output 16ch. You can use all of the input signals as interrupt inputs. Equipped with the power for opto-coupler operation (12VDC) supplied and the digital filter function and output transistor protection circuit (surge voltage protection and overcurrent protection).
This product supports a Low Profile size slot and, if replaced with the supplied bracket, supports a standard size slot, too.
Windows/Linux driver is bundled with this product. Using the dedicated library VI-DAQ makes it possible to create each application for LabVIEW.

Features

Opto-coupler isolated input (supporting current sink output) and opto-coupler isolated open-collector output (current sink type)
This product has the opto-coupler isolated input 16ch (supporting current sink output) whose response speed is 200sec and opto-coupler isolated open-collector output 16ch (current sink type).
Common terminal provided per 16ch, capable of supporting a different external power supply. Supporting driver voltages of 12 - 24 VDC for I/O
Opto-coupler bus isolation As the PCI Express bus (PC) is isolated from the input and output interfaces by opto-couplers, this
product has excellent noise performance. Power for opto-coupler operation (12VDC 240mA) supplied internally
As the power to run the opto-couplers is supplied internally, no external power supply is required. The use of jumpers allows you to decide whether you want to use the internal or external power supply for every 16 points.
You can use all of the input signals as interrupt events. You can use all of the input signals as interrupt events and also disable or enable the interrupt in bit
units and select the interrupt edge.
1
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 diagnostic program by which the operations of hardware can be checked is provided.
This product has a digital filter to prevent input signals from carrying noise or a chattering. This product has a digital filter to prevent 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 overcurrent protection circuit.
Zener diodes are connected to the output circuits to protect against surge voltages. Similarly, overcurrent protection circuits are fitted to each group of 8ch outputs.
Functions are compatible with PCI Express compatible board DIO-1616B-PE and PCI compatible board PIO-16/16B(PCI)H.
The functions same with PCI Express compatible board DIO-1616B-PE and PCI compatible board PIO-16/16B(PCI)H are provided.
Functions and connectors are compatible with PCI compatible board PIO-16/16B(LPCI)H series. The functions same with PCI compatible board PIO-16/16B(LPCI)H are provided.
In addition, as there is compatibility in terms of connector shape and pin assignments, it is easy to migrate from the existing system.
LabVIEW is supported by a plug-in of dedicated library VI-DAQ. Using the dedicated library VI-DAQ makes it possible to create each application for LabVIEW.
DIO-1616B-LPE
2
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 media driver library API-PAC(W32)] The API-DIO(WDM) is the Windows version driver library software that provides products in the
form of Win32 API functions (DLL). Various sample programs such as Visual Basic and Visual C++, etc and diagnostic program *1useful for checking operation is provided.
For more details on the supported OS, applicable language and how to download the updated version, please visit the
CONTEC’s Web site ( http://www.contec.com/apipac/). Linux version of digital I/O driver
[Stored on the bundled media 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. For more details on the supported OS, applicable language and how to download the updated version,
please visit the CONTEC’s Web site (http://www.contec.com/apipac/).
API-DIO(WDM)/API-DIO(98/PC)
API-DIO(LNX)
Data acquisition VI library for LabVIEW 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.
(Available for downloading (free of charge) from
VI-DAQ
3
1. Before Using the Product

Cable & Connector (Option)

Shield Cable with Two 50-Pin Mini-Ribbon Connector : PCB50PS-0.5P(0.5m) : PCB50 PS-1.5P(1.5m) : PCB50 PS-3P(3m) : PCB50 PS-5P(5m) Shield Cable with One 50-Pin Mini-Ribbon Connector : PCA50PS-0.5P(0.5m) : PCA50PS-1.5P(1.5m) : PCA50PS-3P(3m) : PCA50PS-5P(5m) Connection Conversion 0.5m Shield Cable (50-Pin Ribbon->37-Pin D-SUB) : PCE50/37PS-0.5P(0.5m)

Accessories (Option)

Screw Terminal Unit(M3 terminal block, 50 points) : EPD-50A *1 *2 Screw Terminal Unit(M3 terminal block, 37 points) : EPD-37A *1 *3 Screw Terminal Unit(M3.5 terminal block, 37 points) : EPD-37 *3 Termination Panel (M3) : DTP-3A *3 Termination Panel : DTP-4C *3 Signal Monitor for Digital I/O : CM-32L *3
*1 "Spring-up" type terminal is used to prevent terminal screws from falling off. *2 PCB50PS-*P optional cable is required separately. *3 PCE50/37PS-0.5P and PCB37 P or PCB37PS optional cable is required separately. * Check the CONTECs Web site for more information on these options.
DIO-1616B-LPE
4
1. Before Using the Product

Customer Support

CONTEC provides the following support services for you to use CONTEC products more efficiently and comfortably.

Web Site

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 well as sample programs available
in several languages.
Note! For product information Contact your retailer if you have any technical question about a CONTEC product or need its price, delivery time, or estimate information.

Limited Three-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 prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office, from which it was purchased.
This warranty is not applicable for scratches or normal wear, but only for the electronic circuitry and original 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 consequential damages due to such defect or consequences that arise from inexperienced usage, misuse, or malfunction of this device.
5
1. Before Using the Product
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.
DANGER
WARNING
CAUTION

Safety Precautions

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

Safety Information

This document provides safety information using the following symbols to prevent accidents resulting in injury or death and the destruction of equipment and resources. Understand the meanings of these labels to operate the equipment safely.
DIO-1616B-LPE
6
1. Before Using the Product
DANGER
CAUTION

Handling Precautions

Do not use the product where it is exposed to flammable or corrosive gas. Doing so may result in
an explosion, fire, electric shock, or failure.
- There are switches and jumpers on this product that need to be set in advance. Be sure to check these before installing to the expansion slot.
- Only set the switches and jumpers on this product to the specified settings. Otherwise, this product may malfunction, overheat, or cause a failure.
- Do not strike or bend this product. Otherwise, this product may malfunction, overheat, cause a failure or breakage.
- Do not touch this product's metal plated terminals (edge connector) with your hands. Otherwise, this product 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 this product to or from the expansion slot while the computer's power or expansion unit is turned on. Otherwise, this product 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 products installed. Insufficiently energized products 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 this product continuously, be sure to read the user’s guide and understand the
contents.
- Do not modify this 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.
7
1. Before Using the Product
- Check that the board has
- Che ck that the bus co nnector
- The gold-plated leads of
no dust or foreign matter adhering.
of the board and its cable have
been plugged c orrectly.
the bus connector.

Environment

Use this product in the following environment. If used in an unauthorized environment, the product 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.

Storage

When storing this product, keep it in its original packing form. (1) Put the product in the storage bag.
(2) Wrap it in the packing material, then put it in the box. (3) Store the package at room temperature at a place free from direct sunlight, moisture, shock,
vibration, magnetism, and static electricity.

Disposal

When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances.
DIO-1616B-LPE
8
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 software 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 bundled media “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 Operation Checks
If Setu p fails to be performed normally, see the “Setup Troubleshooting” section at the end of this
chapter.

Using the Board under an OS Other than Windows

For using the board under an OS other than Windows, see the following parts of this user’s guide.
This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware
9
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).
Although some user interfaces are different depending on the OS used, the basic procedure is the same.

About the driver to be used

Two Analog I/O drivers are available : API-DIO(WDM) and API-DIO(98/PC). API-DIO(WDM) is a driver to perform analog I/O under Windows. When this product is used, digital input/output high performance driver "API-DIO(WDM)" is used. If you use this product with digital input and output high-performance driver API-DIO (WDM). If API-DIO (98 / PC) using existing systems continue to use API-DIO (98 / PC). Please note that the API-DIO 98 (PC) does not support Windows 8 or later, and the 64-bit OS.
Use the API-DIO(98/PC) If you are installing from media attachments, select "all" from the "Installer" later in this chapter and
starts the execution environment and development environment packages installer Please see the Help folder in the installed hardware installation instructions please see reference in
help media attachments or downloaded from Furthermore, that applies to the default step 4 software described below, see config.chm folder
installed execution environment
CONTEC’s Web site
development environment.
DIO-1616B-LPE
10
2. Setup
CAUTION

Starting the Install Program

(1)
Load the bundled media [API-PAC(W32)] on your PC.
(2)
The API-PAC(W32) Installer window appears automatically.
If the panel does not appear, run (drive letter):\AUTORUN.exe.
(3)
Click on the [Install Development or Execution Environment] button.
* When using the Windows Vista, driver is automatically installed.
Before installing the software in Windows Vista, Windows XP, Server 2003 and 2000, log in as a
user with administrator privileges.
11
Loading...
+ 39 hidden pages