Contec RRY-16C(PCI)H, RRY-32(PCI)H User Manual

PC-HELPER
Digital Output Board with Relay-Isolation for PCI
RRY-16C(PCI)H RRY-32(PCI)H
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 complete. If you discover damage d or missing item s,
contact your retailer.
Product Configuration List
- Board (One of the following) [RRY-16C(PCI)H or RRY-32(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
RRY-16C(PCI)H, RRY-32(PCI)H
First step guide
CD-ROM
[API-PAC(W32)]
i

Copyright

Copyright 2005 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 no r for re sult s obt ain ed by th e use r as a resu lt of usi ng th is produ ct .

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
RRY-16C(PCI)H, RRY-32(PCI)H

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 ards................................................................................................................................ 1
RRY-16C(PCI ) H Features........................................................................................................... 1
RRY-32(PCI)H Fe at u re s ............................................................................................................. 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 un d er an OS O th e r th an Wi n do 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
Parts of the Bo ard an d F ac to r y D ef au l ts ................................................................................... 14
Setting the Bo ard ID .................................................................................................................. 16
Plugging the Board .................................................................................................................... 17
RRY-16C(PCI)H, RRY-32(PCI)H
iii
Step 3 Installi ng th e H ard w a re .........................................................................................................18
Turning on the PC...................................................................................................................... 18
Setting with th e Fou n d Ne w H a rd war e W iz a rd......................................................................... 18
Step 4 Initi alizing the Software ........................................................................................................ 21
Invoking API-TOOL Confi g uration.......................................................................................... 21
Updating the S e ttin g s................................................................................................................. 21
Step 5 Checking Op e r ati o n s w ith th e D i ag no s is P rog ra m ............................................................... 22
What is the Di agno s is P r og r a m?................................................................................................ 22
Check Method ............................................................................................................................2 2
Using the Di agnosis Program.................................................................................................... 23
Setup Troubl esh oo ti n g...................................................................................................................... 26
Symptoms and A cti o ns .............................................................................................................. 26
If your proble m c a nno t b e r eso lv ed...........................................................................................2 6
3. EXTERNAL CONNECTION 27
Using the On-board Connectors ....................................................................................................... 27
Connecting a D evi c e to Co n n e cto r ............................................................................................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..........29
Output Signal Co nn e c tio n ................................................................................................................. 30
Output Circuit ............................................................................................................................3 0
Connection to the LE D ..............................................................................................................31
4. FUNCTION 33
Data I/O Func tio n ............................................................................................................................. 33
Data Output.................................................................................................................... ............ 33
Monitoring Ou tp ut D at a ............................................................................................................. 33
iv
RRY-16C(PCI)H, RRY-32(PCI)H
5. ABOUT SOFTWARE 35
CD-ROM Directo r y S t ru c tu re .......................................................................................................... 35
About Software for Windows..................................................................................................... ...... 36
Accessing the He lp F il e............................................................................................................. 36
Using Sample Programs ............................................................................................................ 37
Uninstalling the Dr i v er Li b ra rie s .............................................................................................. 39
About Software for Linux................................................................................................................. 40
Driver Softwa re In s tal l Pro c ed ur e ............................................................................................. 40
Accessing the He lp F il e............................................................................................................. 41
Using Sample Programs ............................................................................................................ 41
Uninstalling the driver............................................................................................................... 41
6. ABOUT HARDWARE 43
Hardware spe cification ..................................................................................................................... 43
Block Diagra m.................................................................................................................................. 4 5
Difference fr o m R RY -1 6 C( P C I) and RR Y -32 ( P CI )....................................................................... 4 7
RRY-16C(PCI)H, RRY-32(PCI)H
v
vi
RRY-16C(PCI)H, RRY-32(PCI)H

1. Before Using the Product

1. Before Using the Product
This chapter provides information you should know before using the product.

About the Boards

The < RRY-16C(PCI)H > and < RRY-32(PCI)H > are PCI bus-compliant interface boards that output signals to lead relay contacts.
The < RRY-16C(PCI)H > provides up to 16 relay outputs. The < RRY-32(PCI)H > provides up to 32 relay outputs.
Using the bundled driver library [API-PAC(W32)], you can create Windows application software for this board in your favorite programming language supporting Win32 API functions, such as Visual Basic or Visual C/C++.

RRY-16C(PCI)H Features

- Up to 16 reed relays w ith independently make contact output
- High-capacity output rating designed to be a maximum of 125 VAC/30 VDC, 2 A per channel

RRY-32(PCI)H Features

- 32 reed relays with a single make contact are implemented. These relays are classified into four groups, each group (eight relays) sharing a minus common pin.
- Output ratings are designed for a maximum of 100VAC/100VDC and 500 mA per channel, a maximum of 1A for each group (one group of eight channels share a minus common). Relay contactor rating is 10VA(10W) maximum.
RRY-16C(PCI)H, RRY-32(PCI)H
1
1. Before Using the Product

Support Software

You should use CONTEC support software according to your purpose and development environment.
Driver Library
API-PAC(W32) is the library software that provides the commands for CONTEC hardware products in the form of Windows standard Win32 API functions (DLL). It makes it easy to create high-speed application software taking advantage of the CONTEC hardware using various programming languages that support Win32 API functions, such as Visual Basic and Visual C/C++. It can also be used by the installed diagnosis progra m to check hardware operations . CONTEC provides download services to supply the updated drivers an d differential files. For details, read Help on the bundled CD-ROM or visit the CONTEC’s Web site.
< Operating environment > OS Windows XP, 2000, NT, Me, 98, etc.. Adaptation language Visual C/C++, Visual Basic, Delphi, Builder, etc.. Others Each piece of library software requires 50 MB of free hard disk space.
API-PAC(W32)
Linux version of analog I/O driver CD-ROM)
This driver is used to control CONTEC digital I/O boards (PC Cards) fro m within Linux. You can control CONTEC I/O boards easily using the shared library used by gcc and Kylix, the device driver (module) for each kernel version, and the board (PC Card) configuration program (config). CONTEC provides download services to supply the updated drivers an d differential files. For details, read Help on the bundled CD-ROM or visit the CONTEC’s Web site.
< Operating environment > OS RedHatLinux, TurboLinux, etc..
(For details on supported distributions, refer to Help available after installation.) Adaptation language gcc, Kylix, etc.. Others Requires 3 MB of free hard disk space.
Data acquisition VI library for LabVIEW
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 devices without complicated settings. See http://www.contec.co.jp/vidaq/ for details and download of VI-DAQ.
(Bundled)
API-DIO(LNX)
VI-DAQ
(Supplied: Stored on the API-PAC(W32)
(Free download)
various
2
RRY-16C(PCI)H, RRY-32(PCI)H
1. Before Using the Product

Cable & Connector (Option)

Flat cable with both-ends 37-pin D-SUB connector : PCB37P-1.5 (1.5m)
: PCB37P-3 (3m) : PCB37P-5 (5m)
Shield cable with both-ends 37-pin D-SUB connector : PCB37PS-0.5P (0.5m)
: PCB37PS-1.5P (1.5m) : PCB37PS-3P (3m) : PCB37PS-5P (5m)
Flat cable with one-ends 37-Pin D-SUB connector : PCA37P-1.5 (1.5m)
:PCA37P-3 (3m) :PCA37P-5 (5m)
Shield cable with one-end 37-pin D-SUB connector : PCA37PS-0.5P (0.5m)
:PCA37PS-1.5P (1.5m) :PCA37PS-3P (3m) : PCA37PS-5P (5m)
37pin D-SUB(male) connector Five-piece set : CN5-D37M
CAUTION
The maximum current rate of each flat cable line (PCB37P-* and PCA37P-*) is 1 A; and the maximum current rate of each shield cable line (PCB37PS-*P and PCA37PS-*P) is 0.4 A. Should the boards be connecte d to d evices that re quire larger c urrent val ue than the above ra tes, you should prepare connecting cables yourself, instead of ordering our option cables.

Accessories (Option)

Screw terminal : EPD-37A *1 Screw terminal (Screw Up type) : EPD-37 *1 Terminal unit for solderless terminal (M3) : DTP-3(PC) Terminal unit for leads : DTP-4(PC)
*1 Optional cable PCB37P or PCB37PS is required separately. * Check the CONTEC’s Web site for more information on these options.
RRY-16C(PCI)H, RRY-32(PCI)H
3
1. Before Using the Product

Customer Support

CONTEC provides the following s upport services for y ou to use CONTEC produc ts more efficien tly 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 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 orig inal invoic e. 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
RRY-16C(PCI)H, RRY-32(PCI)H
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 destruction o f equipment an d resources. Understa nd the meanings of these labels to operate the equipment safely.
DANGER
WARNING
CAUTION
DANGER indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
WARNING indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury or in property damage.
RRY-16C(PCI)H, RRY-32(PCI)H
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.
Otherwise, the board may malfunction, overheat, or cause a failure or breakage.
- Do not touch the board's metal plated terminals (edge co nnecto r) with your h ands.
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 expansion slot while the PC or expansion unit
power is turned on. Otherwise, the board may malfunction, overheat, or cause a failure. Be sure that the PC power is turned off.
- Make sure that your PC or expansion unit can supply ample power to all the boards installed.
Insufficiently energized boards could malfunction, overheat, or cause a failure.
- The specifications of this product are subject to change without notice for enhancement and quality
improvement. Even when using the product continuously, be sure to read the manual and understand the contents.
- Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting
from modifying this product.
- Regardless of the foregoing statements, CONTEC is not liable for any damages whatso ever
(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
RRY-16C(PCI)H, RRY-32(PCI)H
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 disp osal procedures stipulated under the relevant laws and municipal ordinances.
RRY-16C(PCI)H, RRY-32(PCI)H
7
1. Before Using the Product
8
RRY-16C(PCI)H, RRY-32(PCI)H

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 Driver Library API-PAC(W32)
For setting up software other than API-PAC(W32), refer to the user’s guide for that software. See also the following parts of this user’s guide as required.
This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware
RRY-16C(PCI)H, RRY-32(PCI)H
9
2. Setup

Using the Board under an OS Other than Windows

For using the board under Linux, see the following parts of this guide.
This chapter Step 2 Se tting t he H ardw are 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 guide.
This chapter Step 2 Setting t he Hardware Chapter 3 External Connection Chapter 6 About Hardware
10
RRY-16C(PCI)H, RRY-32(PCI)H
Loading...
+ 38 hidden pages