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

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

With opto-isolation for pci
Table of Contents

Advertisement

Quick Links

PC-HELPER
Digital I/O Board with Opto-Isolation for PCI
PIO-16/16L(PCI)H
Digital Input Board with Opto-Isolation for PCI
PI-32L(PCI)H
Digital Output Board with Opto-Isolation
for PCI
PO-32L(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-16/16L(PCI)H and is the answer not in the manual?

Questions and answers

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

  • Page 1 PC-HELPER Digital I/O Board with Opto-Isolation for PCI PIO-16/16L(PCI)H Digital Input Board with Opto-Isolation for PCI PI-32L(PCI)H Digital Output Board with Opto-Isolation for PCI PO-32L(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...
  • Page 3: Copyright

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

    Setting the Board ID.......................... 14 Plugging the Board ..........................14 Step 3 Installing the Hardware ........................ 16 Turning on the PC ..........................16 Found New Hardware Wizard Setting ....................17 Step 4 Initializing the Software ....................... 18 PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 5 Using Sample Programs ........................40 Uninstalling the Driver Libraries ..................... 41 About Software for Linux ........................42 Driver Software Install Procedure ....................42 Accessing the Help File ........................43 Using Sample Programs ........................43 Uninstalling the driver ........................43 PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 6 For detailed technical information ......................45 Hardware specification ..........................46 Block Diagram ............................50 Differences between the PIO-16/16L(PCI)H and PIO-16/16L(PCI) ..........53 Differences between the PI-32L(PCI)H and PI-32L(PCI) ..............54 Differences between the PO-32L(PCI)H and PO-32L(PCI) ............... 54 PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 7 PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H has the 16ch of opto-coupler isolated input (compatible with current sink output) and 16ch 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-16/16L(PCI)H, PI-32L(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)

    CM-32L *1 *1 A PCB37P or PCB37PS optional cable is required separately. *2 “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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 20: Step 2 Setting The Hardware

    BOARD ID - Built-in power setting function Figure 2.1. Component Locations CAUTION The board doesn’t have the built-in power setting function. There is no printing guide on the surface of built-in power setting function in PI-32L(PCI)H, PO-32L(PCI)H. PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 21: Setting The Board Id

    PCI bus slots used in PCs have keys to prevent 5V and 3.3V PCI bus boards from being accidentally plugged into wrong bus slots. This board can be plugged into both of the 5V and 3.3V PCI bus slots. PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 22 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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 25: Step 4 Initializing The Software

    PIO-16/16L(PCI)H, - PI-32L(PCI)H, - PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 29 PIO-16/16L(PCI)H, - PI-32L(PCI)H, - PO-32L(PCI)H Click on [Show Diagnosis Report]. (2) A diagnosis report is displayed as shown below. * The name of the board you have just added is displayed. PIO-16/16L(PCI)H, - PI-32L(PCI)H, - PO-32L(PCI)H PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 31 2. Setup PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 32: External Connection

    17JE-23370-02(D8C)-CG (mfd. by DDK, Male), FDCD-37P(55) (mfd. by HIROSE, Male), DC-37P-NR (mfd. by JAE, Male), or equivalent * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector (CN1) Shape PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 33: Connector Pin Assignment

    ON 2/3 Connect the negative side of the external power supply. These pins are common to 16 output signal pins. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CN1) < PIO-16/16L(PCI)H > PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 34 ON 0/1 - ON 2/3 Connect the negative side of the external power supply. These pins are common to 16 output signal pins. N.C. This pin is left unconnected. Figure 3.4. Pin Assignments of Interface Connector (CN1) < PO-32L(PCI)H > PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 35: 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-16/16L(PCI)H Table 3.1. Logical Ports, Logical Bits, and Connector Signal Pins < PIO-16/16L(PCI)H > I-07 I-06...
  • Page 36 Note: O-xx represent output signals, respectively, where [xx] indicates 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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 37: Connecting Input Signals

    * Input pin represent input signals. Figure 3.5. Input Circuit <PIO-16/16L(PCI)H>, <PO-32L(PCI)H> The input circuits of interface blocks of the PIO-16/16L(PCI)H and PO-32L(PCI)H are illustrated in Figure 3.5. The signal inputs are isolated by opto-couplers (ready to accept current sinking output signals).
  • Page 38: Connecting Output Signals

    * Output pin represent output signals. Figure 3.7. Output Circuit < PIO-16/16L(PCI)H >, < PO-32L(PCI)H > The output circuits of interface blocks of the PIO-16/16L(PCI)H and PO-32L(PCI)H are illustrated in Figure 3.7. The signal output section is an opto-coupler isolated, open-collector output (current sink type).
  • Page 39: Connection To The 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.8. An Example to use Output O-20 < PIO-16/16L(PCI)H >, < PO-32L(PCI)H > Example of Connection to TTL Level Input...
  • Page 40: Connecting The Sink Type Output And Sink Output Support Input

    12 - 24VDC Output board Input board Input plus common Output plus common Output (sink type) Input (Compatible with sink output) Output minus common Figure 3.10. Example of Connecting the Sink Type Output and Sink Output Support Input PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 41 3. External Connection PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 42: Function

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

    4. Function Digital Filter Function Using this feature, the < PIO-16/16L(PCI)H > and < PI-32L(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 44: Interrupt Control Function

    4. Function Interrupt Control Function The PIO-16/16L(PCI)H and PI-32L(PCI)H can use all of the input signals as interrupt request signals. 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 45 4. Function PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 46: 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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 47: 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 48: 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 49: 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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 50: 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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 51 5. About Software PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 52: About Hardware

    This chapter provides hardware specifications and hardware-related supplementary information. For detailed technical information For further detailed technical information (“Technical Reference” including the information such as an I/O map, configuration register, etc.), visit the Contec's web site to call for it. PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 53: Hardware Specification

    6. About Hardware Hardware specification PIO-16/16L(PCI)H Table 6.1. Specification < PIO-16/16L(PCI)H > < 1 / 2 > Item Specification Input Input format Opto-coupler isolated input (Compatible with current sink output)(Negative logic *1) Number of input signal 16 channels (all available for interrupts) (1 common )
  • Page 54 6. About Hardware Table 6.1. Specification < PIO-16/16L(PCI)H > < 2 / 2> Item Specification Allowable distance of Approx. 50m (depending on wiring environment) signal extension PCI bus specification 33bit, 33MHz, Universal key shapes supported *2 Dimension (mm) 121.69(L) x 105.68(H)
  • Page 55 *2 This board requires power supply at +5 V from an expansion slot (it does not work on a machine with a +3.3V power supply alone). Board Dimensions 121.69(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 56 *2 This board requires power supply at +5 V from an expansion slot (it does not work on a machine with a +3.3V power supply alone). Board Dimensions 121.69(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-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 57: Block Diagram

    (8 channels, Group 1) Control Circuits Opto- Output Port 0 coupler & (8 channels, Group 2) Transistors Output Port 1 Opto- coupler (8 channels, Group 3) & Transistors Interrupt Control Circuit PIO-16/16L(PCI)H Figure 6.1. Block Diagram < PIO-16/16L(PCI)H > PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 58 Opto- coupler (8 channels, Group 1) Control Circuits Input Port 2 Opto- coupler (8 channels, Group 2) Input Port 3 Opto- coupler (8 channels, Group 3) Interrupt Control Circuit PI-32L(PCI)H Figure 6.2. Block Diagram < PI-32L(PCI)H > PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 59 (8 channels, Group 1) Transistors Control Circuits Opto- Output Port 2 coupler & (8 channels, Group 2) Transistors Opto- Output Port 3 coupler & (8 channels, Group 3) Transistors PO-32L(PCI)H Figure 6.3. Block Diagram < PO-32L(PCI)H > PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 60: Differences Between The Pio-16/16L(Pci)H And Pio-16/16L(Pci)

    6. About Hardware Differences between the PIO-16/16L(PCI)H and PIO-16/16L(PCI) The PIO-16/16L(PCI)H is connector-pin compatible with the conventional PIO-16/16L(PCI) but has the following differences from it: (1) Different in the number of input signals available to interrupt requests PIO-16/16L(PCI)H : All of 16 channels...
  • Page 61: Differences Between The Pi-32L(Pci)H And Pi-32L(Pci)

    The PO-32L(PCI)H is connector-pin compatible with the conventional PO-32L(PCI) but has the following differences from it: (1) Protective elements provided for outputs PO-32L(PCI)H Surge protector: Zener diode PO-32L(PCI) Nothing (2) Different in board dimensions PO-32L(PCI)H 121.69(L) x 105.68(H) mm PO-32L(PCI) 176.41(L) x 106.68(H) mm PIO-16/16L(PCI)H, PI-32L(PCI)H, PO-32L(PCI)H...
  • Page 63 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] [04112003] Management No. A-46-737 [01262018_rev7] Parts No.

This manual is also suitable for:

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

Table of Contents