Contec RRY-16C(PCI)H User Manual

Contec RRY-16C(PCI)H User Manual

Digital output board with relay-isolation for pci
Table of Contents

Advertisement

Quick Links

PC-HELPER
Digital Output Board
with Relay-Isolation for PCI
RRY-16C(PCI)H
RRY-32(PCI)H
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RRY-16C(PCI)H and is the answer not in the manual?

Questions and answers

Summary of Contents for Contec RRY-16C(PCI)H

  • Page 1 PC-HELPER Digital Output Board with Relay-Isolation for PCI RRY-16C(PCI)H RRY-32(PCI)H User’s Guide CONTEC CO.,LTD.
  • Page 2 Check Your Package Thank you for purchasing the CONTEC product. The product consists of the items listed below. Check, with the following list, that your package is complete. If you discover damaged or missing items, contact your retailer. Product Configuration List - Board (One of the following) [RRY-16C(PCI)H or RRY-32(PCI)H] …1...
  • Page 3: Copyright

    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.
  • Page 4: Table Of Contents

    Copyright ............................ii Trademarks ............................ii Table of Contents..........................iii BEFORE USING THE PRODUCT About the Boards ..........................1 RRY-16C(PCI)H Features......................1 RRY-32(PCI)H Features ......................1 Support Software ......................... 2 Cable & Connector (Option) ...................... 3 Accessories (Option) ........................3 Customer Support ..........................
  • Page 5 Relationships between API-PAC(W32) Logical Ports/Bits and Connector Signal Pins ..29 Output Signal Connection......................... 30 Output Circuit ..........................30 Connection to the LED ......................31 FUNCTION Data I/O Function ..........................33 Data Output ..........................33 Monitoring Output Data......................33 RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 6 About Software for Linux......................... 40 Driver Software Install Procedure ..................... 40 Accessing the Help File ......................41 Using Sample Programs ......................41 Uninstalling the driver ....................... 41 ABOUT HARDWARE Hardware specification ........................43 Block Diagram..........................45 Difference from RRY-16C(PCI) and RRY-32(PCI)............... 47 RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 7 RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 8: 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.
  • Page 9: Support Software

    This driver is used to control CONTEC digital I/O boards (PC Cards) from 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).
  • Page 10: Cable & Connector (Option)

    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...
  • Page 11: Customer Support

    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 Interface products are warranted by CONTEC CO., LTD.
  • Page 12: Safety Precautions

    WARNING indicates a potentially hazardous situation which, if not avoided, could WARNING result in death or serious injury. CAUTION indicates a potentially hazardous situation which, if not avoided, may CAUTION result in minor or moderate injury or in property damage. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 13: Handling Precautions

    Even when using the product continuously, be sure to read the manual and understand the contents. Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this product. Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever (including damages for loss of business profits) arising out of the use or inability to use this CONTEC product or the information contained herein.
  • Page 14: Environment

    (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. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 15 1. Before Using the Product RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 16: Setup

    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...
  • Page 17: Using The Board Under An Os Other Than Windows

    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 the Hardware Chapter 3 External Connection Chapter 6 About Hardware RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 18: Step 1 Installing The Software

    If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe. (3) Click on the [Install the drivers] button. CAUTION Before installing the software in Windows XP, 2000, or NT, you need to log in as a user with administrator privileges. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 19: Selecting The Digital I/O Driver

    2. Setup Selecting the Digital I/O Driver (1) The following dialog box appears to select “Driver Type” and “Install Type”. (2) Select “Digital I/O API-DIO(98/PC)NT”. (3) Select “Driver, Help, etc… (Full install)”. (4) Click on the [Install] button. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 20: Executing The Installation

    Go to Step 2 to set and plug the hardware. * When the hardware has already been installed: Check “Perform a hardware setup now” and then go to Step 4 “Initializing the Software”. You have now finished installing the software. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 21: Step 2 Setting The Hardware

    Note that the switch setting shown below is the factory default. Parts name of board BOARD ID RRY-16C(PCI)H - Board ID Setting SW BOARD ID - Interface Connector (CN1) Figure 2.1. Parts name of board < RRY-16C(PCI)H > RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 22 2. Setup Parts name of board BOARD ID RRY-32(PCI)H - Board ID Setting SW BOARD ID - Interface Connector (CN1) Figure 2.2. Parts name of board < RRY-32(PCI)H > RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 23: Setting The Board Id

    Setting Procedure To set the board ID, use the rotary switch on the board. Turn the SW1 knob to set the board ID as shown below. BOARD ID Factory setting: (Board ID= 0) Figure 2.3. Board ID Settings (SW1) RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 24: Plugging The Board

    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. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 25: Step 3 Installing The Hardware

    (1) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location (Advanced)”, then click on the [Next] button. If you are using Windows NT 4.0, the “Found New Hardware Wizard” is not started. Go to Step 4 “Initializing the Software”. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 26 (2) Specify that folder on the CD-ROM which contains the setup information (INF) file to register the board. * The name of the board you have just added is displayed. - RRY-16C(PCI)H - RRY-32(PCI)H Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows XP, 2000...
  • Page 27 Windows Logo testing, and it can be ignored without developing any problem with the operation of the board. In this case, click on the [Continue Anyway] button. * The name of the board you have just added is displayed. - RRY-16C(PCI)H - RRY-32(PCI)H You have now finished installing the software. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 28: Step 4 Initializing The Software

    The API function library requires the initial setting to recognize the execution environment. It is called the initialization of the Driver library. Invoking API-TOOL Configuration (1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32)” – “API-TOOL Configuration”. (2) API-TOOL Configuration detects boards automatically.
  • Page 29: Step 5 Checking Operations With The Diagnosis Program

    Connect the board to a remote device to test the input/output or check the execution environment. Please confirm that the board settings are the same as the factory settings. To connect the board to external device, please refer to chapter 3 “External Connection”. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 30: Using The Diagnosis Program

    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. - RRY-16C(PCI)H - RRY-32(PCI)H RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 31 * The name of the board you have just added is displayed. - RRY-16C(PCI)H - RRY-32(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.
  • Page 32 Before executing diagnosis report output, unplug the cable from the board. * The name of the board you have just added is displayed. - RRY-16C(PCI)H - RRY-32(PCI)H Click on [Show Diagnosis Report]. (2) A diagnosis report is displayed as shown below.
  • Page 33: Setup Troubleshooting

    Turn off the power of your PC, then unplug the board. Restart the OS and delete the board settings of API-TOOL Configuration. Turn off the PC again, plug the board, and restart the OS. Let the OS detect the board and use API-TOOL Configuration to register board settings. If your problem cannot be resolved Contact your retailer. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 34: External Connection

    FDCD-37P (mfd. by HIROSE, Male) DC-37P-N (mfd. by JAE, Male) Figure 3.1. Connecting an Interface Connector and Connectors That Can Be Used < RRY-16C(PCI)H > Connecting an Interface Connector and Connectors That Can Be Used Interface connector (CN1) - Connector used 37-pin D-SUB, female connector DCLC-J37SAF-20L9(mfd.
  • Page 35: Connector Pin Assignment

    Common of O-01 N 01 O-01 Common of O-00 N 00 O-00 N.C. N.C. Figure 3.3. Pin Assignments of RRY-16C(PCI)H Interface Connector Pin Assignments of RRY-32(PCI)H Interface Connector N.C. Common of +3 Port Common of +1 Port O-37 O-17 O-36...
  • Page 36: 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). RRY-16C(PCI)H Table 3.1. Logical Ports, Logical Bits, and Connector Signal Pins < RRY-16C(PCI)H > O-07 O-06...
  • Page 37: Output Signal Connection

    RRY-16C(PCI)H External Side Board Side Load External Output pin Power Supply Common Relay * Output pin represents O-xx. Figure 3.5. Output Circuit < RRY-16C(PCI)H > RRY-32(PCI)H Board Side External Side Load External Output pin Power Supply Common Relay * Output pin represents O-xx.
  • Page 38: Connection To The Led

    Output a "1" to a bit will light the LED that is connected to the related relay output. On the other hand, output a "0" to the bit will switch the LED off. Figure 3.7. An Example to use Output O-00 < RRY-16C(PCI)H > RRY-32(PCI)H 1.2kΩ...
  • Page 39 3. External Connection RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 40: Function

    The state of the output data is kept intact until the output instruction is executed again. CAUTION When the PC is turned on, all outputs are reset to 0 (OFF). Monitoring Output Data The board can read the state of the data currently being output without affecting the output data. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 41 4. Function RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 42: About Software

    |––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) RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 43: About Software For Windows

    Reference”, “Sample Programs”, and “FAQs”. Use them for program development and troubleshooting. Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Dio” – “API-DIO HELP” to display help information. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 44: Using Sample Programs

    The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\Dio\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Dio” – “SAMPLE…”. (3) A sample program is invoked. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 45 Executes digital input (simple functions) at specified bits through a specified port. -Sample program 11 Services interrupts of a specified board (using an extended function). -Sample program (Console): Inputs/outputs digital data through a specified board. [Sample program 1] [Sample program 2] [Sample program 5] [Sample program 9] RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 46: Uninstalling The Driver Libraries

    (1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Control Panel”. (2) Double-click on “Add/Remove Programs” in the Control Panel. (3) Select “CONTEC API-DIO(98/PC)xx” from the application list displayed, then click on the [Change/Remove] button. Follow the on-screen instructions to uninstall the function libraries.
  • Page 47: About Software For Linux

    # 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...
  • Page 48: Accessing The Help File

    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. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 49 5. About Software RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 50: About Hardware

    6. About Hardware 6. About Hardware This chapter provides hardware specifications and hardware-related supplementary information. Hardware specification RRY-16C(PCI)H Table 6.1. Specification < RRY-16C(PCI)H > Items Specifications No. of Output Channels 16 channels Output Format Reed Relay (1a, make) Output Relay Contact Max.
  • Page 51 *1 This board requires +5V power supply from expansion slots (it does not operate in the environment of only +3.3V power supply). Board Dimensions 176.41(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 52: Block Diagram

    6. About Hardware Block Diagram RRY-16C(PCI)H Reed Driver Output port 0 Relay Control circuit Reed Driver Output port 1 Relay RRY-16C(PCI)H Figure 6.1. Block Diagram < RRY-16C(PCI)H > RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 53 6. About Hardware RRY-32(PCI)H Reed Output port 0 Driver Relay Reed Driver Output port 1 Relay Control circuit Reed Output port 2 Driver Relay Reed Driver Output port 3 Relay RRY-32(PCI)H Figure 6.2. Block Diagram < RRY-32(PCI)H > RRY-16C(PCI)H, RRY-32(PCI)H...
  • Page 54: Difference From Rry-16C(Pci) And Rry-32(Pci)

    6. About Hardware Difference from RRY-16C(PCI) and RRY-32(PCI) RRY-16C(PCI)H and RRY-32(PCI)H are partially enhanced version of the conventional products of RRY-16C(PCI) and RRY-32(PCI) and they are upper compatible with RRY-16C(PCI) and RRY-32(PCI). So you can use the same operating procedures as RRY-16C(PCI) and RRY-32(PCI).
  • Page 55 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. [02032005] [02032005] Management No. A-51-008 Parts No. LYES141...

This manual is also suitable for:

Rry-32(pci)h

Table of Contents