Contec PIO-64/64L(PCI)H User Manual

Contec PIO-64/64L(PCI)H User Manual

Digital i/o board with opto-isolation for pci, digital input board with opto-isolation for pci, digital output board with opto-isolation for pci
Table of Contents

Advertisement

Quick Links

PC-HELPER
Digital I/O Board with Opto-Isolation
for PCI
PIO-64/64L(PCI)H
Digital Input Board with Opto-Isolation
for PCI
PI-128L(PCI)H
Digital Output Board with Opto-Isolation
for PCI
PO-128L(PCI)H
User's Guide
CONTEC CO., LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIO-64/64L(PCI)H and is the answer not in the manual?

Questions and answers

Summary of Contents for Contec PIO-64/64L(PCI)H

  • Page 1 PC-HELPER Digital I/O Board with Opto-Isolation for PCI PIO-64/64L(PCI)H Digital Input Board with Opto-Isolation for PCI PI-128L(PCI)H Digital Output Board with Opto-Isolation for PCI PO-128L(PCI)H User’s Guide CONTEC CO., LTD.
  • Page 2: Check Your Package

    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 [PIO-64/64L(PCI)H, PI-128L(PCI)H, or PO-128L(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

    Setting the Board ID.......................... 14 Plugging the Board ..........................15 Step 3 Installing the Hardware ........................ 16 Turning on the PC ..........................16 Found New Hardware Wizard Setting ....................17 Step 4 Initializing the Software ....................... 18 PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 5 Using Sample Programs ........................50 Uninstalling the Driver Libraries ..................... 51 About Software for Linux ........................52 Driver Software Install Procedure ....................52 Accessing the Help File ........................53 Using Sample Programs ........................53 Uninstalling the driver ........................53 PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 6 ABOUT HARDWARE Hardware specification ..........................55 Block Diagram ............................61 PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 7 PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 8: Before Using The Product

    - Opto-coupler isolated input (compatible with current sink output) and opto-coupler isolated open- collector output (current sink type) PIO-64/64L(PCI)H has the 64ch of opto-coupler isolated input (compatible with current sink output) and 64ch of opto-coupler isolated open-collector output (current sink type) whose response speed is 200µsec.
  • Page 9 - This product has a digital filter to prevent wrong recognition of input signals from carrying noise or a chattering. (For PIO-64/64L(PCI)H, PI-128L(PCI)H only) This product has a digital filter to prevent wrong recognition of input signals from carrying noise or a chattering.
  • Page 10: Support Software

    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 new information, please visit the CONTEC’s Web site.
  • Page 11: Cable & Connector (Option)

    You will also require sufficient terminal blocks for the number of I/O points you are using. *6 “Spring-up” type terminal is used to prevent terminal screws from falling off. Check the CONTEC’s Web site for more information on these options. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 12: 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 boards are warranted by CONTEC Co., LTD.
  • Page 13: 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. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 14: 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 15: 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. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 16: Setup

    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 PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 17: Step 1 Installing The Software

    This section describes how to install the Driver libraries. Before installing the hardware in a PC, install "Driver Library API-PAC(W32)" from the bundled media or download and install the latest edition of this software from the CONTEC web site. Although some user interfaces are different depending on the OS used, the basic procedure is the same.
  • Page 18 If the panel does not appear, run (drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows 2000 or later, log in as a user with administrator privileges. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 19: Select Api-Dio(Wdm)

    Clicking the [API-DIO] button under the “Detail” displays detailed information about API-DIO(WDM) and API-DIO(98/PC). Run the installation (1) Complete the installation by following the instructions on the screen. (2) The Readme file appears when the installation is complete. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 20: Step 2 Setting The Hardware

    Note that the switch setting shown below is the factory default. PIO/PI/PO-xx(PCI) BOARD ID Board ID setting switch (SW1) BOARD ID - Interface connector(CNA,CNB) Figure 2.1. Component Locations < PIO-64/64L(PCI)H >, < PI-128L(PCI)H >, < PO-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 21: Setting The Board Id

    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.2. Board ID Settings (SW1) PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 22: 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. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 23: Step 3 Installing The Hardware

    If you remove two or more boards that have already been installed and then remount one of them on the computer, it is unknown that which one of the sets of resources previously assigned to the two boards is assigned to the remounted board. In this case, you must check the resource settings. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 24: Found New Hardware Wizard Setting

    (2) When the model name of hardware is displayed, select “Install the software automatically [Recommended]” and then click on the “Next” button. The device is automatically installed, and processing is completed. You have now finished installing the initial setting of Hardware. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 25: Step 4 Initializing The Software

    - PIO-6464L(PCI)H, - PI-128L(PCI)H, - PO-128L(PCI)H (2) The installed hardware appears under the CONTEC Devices node. Open the CONTEC Devices node and select the device you want to setup (the device name should appear highlighted). Click [Properties]. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 26 The initial device name that appears is a default value. You can use this default name if you wish. Make sure that you do not use the same name for more than one device. You have now finished installing the initial setting of Software. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 27: Step 5 Operation Checks

    Set the board in the default factory. To connect an external device, see Chapter 3 “External Connection”. Starting the Diagnosis Program Open the “Properties” page of the device that was used for the software initialization, and press the [Diagnosis] button. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 28 To use the function execution time measurement feature, click on the [Measurement Time] button. Enter the I/O start port and the number of ports, then press the measurement button. The time for each execution of a function will be measured. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 29 - PIO-64/64L(PCI)H - PI-128L(PCI)H - PO-128L(PCI)H Click on [Show Diagnosis Report]. (2) A diagnosis report is displayed as shown below. * The name of the board you are testing is displayed. - PIO-64/64L(PCI)H - PI-128L(PCI)H - PO-128L(PCI)H PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 30: Setup Troubleshooting

    Diagnosis Program, it will work with other applications. Review the program, paying attention to the following points. Check the return values of functions. Refer to the source code of sample program. Refer to the “Troubleshooting” in API-TOOL(WDM) HELP (APITOOL.chm) PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 31 2. Setup PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 32: External Connection

    To connect an external device to this board, plug the cable from the device into the interface connector (CAN,CNB) shown below. Interface connector - Connector used HDRA-E100W1LFDT1EC-S L (mfd.by HONDA)equivalent - Applicable connector HDRA-E100MA1(mfd.by HONDA)equivalent Figure 3.1. Interface Connector PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 33: Connector Pin Assignment

    3. External Connection Connector Pin Assignment Pin Assignments of Interface Connector < PIO-64/64L(PCI)H > Common Common P-E/F P-A/B plus pin plus pin N.C. N.C. +E/+F +A/+B P-E/F P-A/B N.C. N.C. output output O-F7 O-B7 N.C. N.C. O-F6 O-B6 N.C. N.C.
  • Page 34 A current of 0.3 A is allowable per connector pin. Connect the required number of pins for the total current for the corresponding 16 output signals. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector < PIO-64/64L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 35 I-36 I-76 N.C. N.C. I-37 I-77 Common Common N.C. N.C. P-2/3 P-6/7 plus pin plus pin for +2/+3 for +6/+7 N.C. N.C. input ports P-2/3 P-6/7 input ports * Input pins are indicated as I-00 - I-17. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 36 P-0/1 - P-E/F Connect the positive side of the external power supply. These pins are common to 16 input signal pins. N.C. This pin is left unconnected. Figure 3.3. Pin Assignments of Interface Connector < PI-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 37 O-76 minus pin minus pin N-C/D N-8/9 O-37 O-77 +C/+D +8/+9 Common Common output N-C/D N-8/9 output P-2/3 P-6/7 plus pin plus pin ports ports for +2/+3 for +6/+7 output output N-C/D N-8/9 P-2/3 P-6/7 ports ports PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 38 A current of 0.3 A is allowable per connector pin. Connect the required number of pins for the total current for the corresponding 16 output signals. N.C. This pin is left unconnected. Figure 3.4. Pin Assignments of Interface Connector < PO-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 39 3. External Connection Pin assignments for connecting to the PCB100/96PS or PCB100WS The figure below shows the correspondence between the option cable pins and signals. < Pin assignments for connecting a PCB100/96PS or PCB100WS to the PIO-64/64L(PCI)H > PCB100/96PS Common...
  • Page 40 I-42 I-62 O-C1 O-E1 I-41 I-61 O-C0 O-E0 I-40 I-60 Common Common minus pin minus pin for +C/+D N-C/D N-E/F for +E/+F N.C. N.C. output output ports ports Figure 3.6. Pin Assignments of PCB100WS < PIO-64/64L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 41 +6/+7 for +2/+3 output output P-E/F P-A/B P-6/7 P-2/3 input ports input ports ports ports * [ ] shows pin numbers specified by HONDA TSUSHIN KOGYO CO., LTD. Figure 3.7. Pin Assignments of PCB100/96PS < PI-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 42 +4 port +6 port (Input) (Input) (Input) (Input) I-C3 I-E3 I-43 I-63 I-C2 I-E2 I-42 I-62 I-C1 I-E1 I-41 I-61 I-C0 I-E0 I-40 I-60 N.C. N.C. N.C. N.C. Figure 3.8. Pin Assignments of PCB100WS < PI-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 43 +6/+7 for +2/+3 output output output output P-E/F P-A/B P-6/7 P-2/3 ports ports ports ports * [ ] shows pin numbers specified by HONDA TSUSHIN KOGYO CO., LTD. Figure 3.9. Pin Assignments of PCB100/96PS < PO-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 44 N-C/D N-E/F for +E/+F for +4/+5 N-4/5 N-6/7 for +C/+D +E/+F output output output ports output ports ports ports Figure 3.10. Pin Assignments of PCB100WS < PO-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 45: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    The following table lists the relationships between the connector signal pins and the logical port/bit numbers used for I/O functions when applications are written with API-PAC(W32). PIO-64/64L(PCI)H Table 3.1. Relationships between Logical Ports/Bits and Connector Signal Pins < PIO-64/64L(PCI)H > I-07 I-06 I-05...
  • Page 46 [114] [113] [112] I-F7 I-F6 I-F5 I-F4 I-F3 I-F2 I-F1 I-F0 Input logical port 15 [127] [126] [125] [124] [123] [122] [121] [120] I-xx represents a CNA or a CNB input signal. [xx] represents a logical bit. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 47 O-xx represents a CNA or a CNB output signal. [xx] represents a logical bit. CAUTION The logical port and logical bit numbers are virtual port and bit numbers that enable programming independent of board I/O addresses or board types. For details, refer to HELP after installing API-PAC(W32). PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 48: Connecting Input Signals

    Connecting a Switch Common plus for input (CNA : 23 pin) External Power Supply I-00 (CNA : 7 pin) 12 - 24 VDC Switch Figure 3.12. An Example to use Input I00 < PIO-64/64L(PCI)H >, < PI-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 49: Connecting Output Signals

    Over current protection Figure 3.13. Output Circuit < PIO-64/64L(PCI)H >, < PO-128L(PCI)H > The output circuit of this board is illustrated in Figure 3.13. The signal output section is an opto- isolated, open-collector output (current sink type). Driving the output section requires an external power supply.
  • Page 50: Example Of Connection To Led

    When “1” is output to a relevant bit, the corresponding LED comes on. When “0” is output to the bit, in contrast, the LED goes out. Figure 3.14. An Example to use Output O-80 < PIO-64/64L(PCI)H >, < PO-128L(PCI)H > Example of Connection to TTL Level Input...
  • Page 51: Connecting The Sink Type Output And Sink Output Support Input

    12 - 24 VDC Output Board Input Board Common plus for input Common plus for output Output(Sink Type) Input(Sink Output Support) Common Minnus for output Figure 3.16. Example of Connecting the Sink Type Output and Sink Output Support Input PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 52: Functions

    When the PC is turned on, all output are reset to 0 (OFF). Monitoring Output Data The < PIO-64/64L(PCI)H > and < PO-128L(PCI)H > can read the state of the data currently being output without affecting the output data. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 53: Digital Filter Function

    4. Functions Digital Filter Function Using this feature, the < PIO-64/64L(PCI)H > and < PI-128L(PCI)H > can apply a digital filter to every input pin, thereby preventing wrong recognition of input signals from being affected by noise or chattering. Digital Filter Function Principle The digital filter checks the input signal level during the sampling time of the clock signal.
  • Page 54: Disabling/Enabling Interrupts

    4. Functions Interrupt Control Function The < PIO-64/64L(PCI)H > and < PI-128L(PCI)H > can use up to 16 channels of input signals as interrupt request signals. The input signals available as interrupt request signals are I-00 to I-17. The board can generate an interrupt request signal to the PC when the input signal change from High to Low or from Low to High.
  • Page 55 4. Functions PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 56: About Software

    From the Start menu, click "CONTEC API-PAC(W32)" - "API-TOOL(WDM) HELP". When this link does not exist, From the Start menu, click "CONTEC API-PAC(W32)" - "API-DIO(WDM)" - "API-DIO(WDM) HELP". * For the API-DIO(98/PC) driver, From the Start menu, click "CONTEC API-PAC(W32)" - "API-DIO(98/PC)" - "API-DIO HELP". PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 57: Using Sample Programs

    * When the installation folder is changed, the folder of the sample program is different. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) For the API-DIO(WDM), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “API-DIO(WDM)” – “SAMPLE…”. (3) A sample program is invoked.
  • Page 58: Uninstalling The Driver Libraries

    Use [My Computer] - [Control Panel] - [Programs and Features] to uninstall the development environment. In case of API-***(WDM), select [CONTEC API-***(WDM) VerX.XX (Develop)] and then click [Uninstall]. * "***" contains the driver category name (AIO, CNT, DIO, SMC, etc.).
  • Page 59: About Software For Linux

    # cd contec/cdio # make Compile the file....# make install Install....# cd config # ./config Set up the board to be used..Set as follows..# ./contec_dio_start.sh Start the driver. # cd PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 60: 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. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 61 5. About Software PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 62 6. About Hardware 6. About Hardware This chapter provides hardware specifications and hardware-related supplementary information. Hardware specification PIO-64/64L(PCI)H Table 6.1. Specifications < PIO-64/64L(PCI)H > < 1 / 2 > Item Specification Input Type Opto-Isolated Input (for current sinking output) (Negative logic *1)
  • Page 63 6. About Hardware Table 6.1. Specifications < PIO-64/64L(PCI)H > < 2 / 2 > Item Specification Common I/O address Any 32-byte boundary Interrupt level 1 level use Boards in one system Maximum of 16 boards can be install in a same system.
  • Page 64 *3 This board requires power supply at +5V from an expansion slot (it does not work on a machine with a +3.3V power supply alone). The size of board No.7230 is 176.41 (L) x 106.68 (H) mm. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 65 6. About Hardware 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. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 66 *3 This board requires power supply at +5V from an expansion slot (it does not work on a machine with a +3.3V power supply alone). The size of board No.7231 is 176.41 (L) x 106.68 (H) mm. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 67 6. About Hardware 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. PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 68 & External Transistor Digital Output PortC Interrupt Control (8ch GroupC) External Digital Output PortD (8ch GroupD) External Digital Output PortE (8ch GroupE) External Digital Output PortF (8ch Gro upF) PIO-64/64L(PCI)H Figure 6.1. Block Diagram < PIO-64/64L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 69 Digital Input PortB (8ch GroupB) External Digital Input PortC Interrupt Control (8ch GroupC) External Digital Input PortD (8ch GroupD) External Digital Input PortE (8ch GroupE) External Digital Input PortF (8ch GroupF) PI-128L(PCI)H Figure 6.2. Block Diagram < PI-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 70 Digital Output PortB (8ch GroupB) External Digital Output PortC (8ch GroupC) External Digital Output PortD (8ch GroupD) External Digital Output PortE (8ch GroupE) External Digital Output PortF (8ch GroupF) PO-128L(PCI)H Figure 6.3. Block Diagram < PO-128L(PCI)H > PIO-64/64L(PCI)H, PI-128L(PCI)H, PO-128L(PCI)H...
  • Page 71 CONTEC CO., LTD. January 2018 Edition 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan https://www.contec.com/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [01262018] [04182005] Management No. A-51-031 [01262018_rev4] Parts No.

This manual is also suitable for:

Pi-128l(pci)hPo-128l(pci)h

Table of Contents