Contec PIO-64 User Manual

Digital i/o board with opto-isolation for pci
Table of Contents

Advertisement

Quick Links

Digital I/O Board with Opto-Isolation for PCI
PIO-64/64L(PCI)
Digital Input Board with Opto-Isolation for PCI
PI-128L(PCI)
Digital Output Board with Opto-Isolation for PCI
PO-128L(PCI)
User's Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIO-64 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec PIO-64

  • Page 1 Digital I/O Board with Opto-Isolation for PCI PIO-64/64L(PCI) Digital Input Board with Opto-Isolation for PCI PI-128L(PCI) Digital Output Board with Opto-Isolation for PCI PO-128L(PCI) User’s Guide...
  • 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 [PIO-64/64L(PCI), PI-128L(PCI) or PO-128L(PCI)] …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

    Features..............................1 Support Software ..........................2 Cable & Connector (Option) ......................2 Accessories (Option) .......................... 2 Customer Support ............................3 Web Site http://www.contec.co.jp/en/....................3 Limited Three-Year Warranty ........................3 How to Obtain Service ..........................3 Liability................................ 3 Safety Precautions............................4 Safety Information..........................
  • Page 5 Digital Filter Function of Input Channels....................38 Digital Filter Function Principle...................... 38 Set Digital Filter Time ........................38 Interrupt Control Function ........................39 Disabling/enabling Interrupts......................39 Selecting the Interrupt Edge......................39 Clearing the Interrupt Status and Interrupt Signal................. 39 CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 6 ABOUT SOFTWARE Accessing the Help File..........................41 Using Sample Programs ........................... 42 Uninstalling the API Function Libraries ....................44 CD-ROM Directory Structure ......................... 45 ABOUT HARDWARE Hardware specification..........................47 Block Diagram ............................51 CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 7 CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 8: Before Using The Product

    This board is a PCI-compliant interface board for input/output of digital signals. The board can input the open/closed circuit states of switches and can control relays. <PIO-64/64L(PCI)> can input and output up to 64 channels. <PI-128L(PCI)> can input up to 128 channels.
  • Page 9: Support Software

    You should use CONTEC support software according to your purpose and development environment. Driver Software Package API-PAC(W32) (Bundled) 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++.
  • Page 10: 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-Year Warranty CONTEC Interface boards are warranted by CONTEC Co., LTD.
  • Page 11: 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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 12: 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 13: Environment

    (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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 14: Setup

    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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 15: The Api Function Library Package Api-Pac(W32)

    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 manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 16: 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, log in as a user with administrator privileges. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 17: Selecting The Digital I/O Driver

    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)W95”. (3) Select “Driver, Help, etc..(Full Install)”. (4) Click on the [Install] button. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 18: Executing The Installation

    2) Click on the [Finish] button. Go to Step 2 to set and plug the hardware. * When the hardware has already been installed: Check “Perform a hardware setup now”, then go to Step 4 “Initializing the Software”. You have now finished installing the software. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 19: Step 2 Setting The Hardware

    Figure 2.1. shows the names of major parts on the board. Note that the switch setting shown below is the factory default. PIO/PI/PO-xx(PCI) BOARD ID - BOARD ID Setting Switch BOARD ID - Interface connector(CNA,CNB) Figure 2.1. Component Locations <PIO-64/64L(PCI)>, <PI-128L(PCI)>, <PO-128L(PCI)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 20: 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) CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 21: Plugging The Board

    Doing so could cause trouble. Be sure that the personal computer or the I/O expansion unit 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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 22: Step 3 Installing The Hardware

    Select “Specify the location of the driver”, then click on the [Next] button. If you are using Windows NT 4.0, the “Add New Hardware Wizard” is not started. Go to Step 4 “Initializing the Software”. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 23 The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows XP, 2000 \INF\Win2000\Dio\PCI Windows Me, 98, 95 \INF\Win95\Dio\PCI Example of specifying the folder for use under Windows Me \INF\Win95\Dio\PCI CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 24 In this case, click on the [Continue Anyway] button. * The name of the board you have just added is displayed. - PIO-64/64L(PCI) - PI-128L(PCI) - PO-128L(PCI) You have now finished installing the hardware. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 25: 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 API function 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 26: Step 5 Checking Operations With The Diagnosis Program

    P C B 1 0 0 /9 6P S -xx E xtern al Po w e r Su pply 1 2 to 24 V D C To connect a device other than the Check Mate, see Chapter 3 “External Connection”. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 27: Using The Diagnosis Program

    Select the board in the API-TOOL Configuration windows, then run the Diagnosis Program. * The name of the board you have just added is displayed. * The name of the board you have just added is displayed. - PIO-64/64L(PCI) - PI-128L(PCI) - PO-128L(PCI) CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • 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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 29 - PO-128L(PCI) 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-64/64L(PCI) - PI-128L(PCI) - PO-128L(PCI) CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 30: Setup Troubleshooting

    If your problem cannot be resolved Refer to the FAQs in API-DIO HELP and, if you still have a question, contact your retailer with a report generated by the Diagnosis Report feature of the Diagnosis Program. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 31 2. Setup CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 32: External Connection

    - Ap plica b le co n n ector H D R A -E 1 0 0 M A 1 (m fd .b y H O N D A ) Figure 3.1. Interface Connector CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 33: Connector Pin Assignment

    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)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 34 P-0/1 to 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)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 35 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)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 36: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    I - x x r e p r e s e n t s a C N A i n p u t s i g n a l ; O - x x r e p r e s e n t s a C N B o u t p u t s i g n a l . [ x x ] r e p r e s e n t s a l o g i c a l p o r t . CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 37 I - x x r e p r e s e n t s a C N A o r a C N B i n p u t s i g n a l . [ x x ] r e p r e s e n t s a l o g i c a l b i t . CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 38 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 API-DIO HELP available after installing API-PAC(W32). CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 39: Connecting Input Signals

    I-0 0 (C N A : 7 pin ) 2 4 V D C S w itch Input Data I-xx External Circuit Close High Open Figure 3.6. An Example to use Input I00 <PIO-64/64L(PCI)>, <PI-128L(PCI)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 40: Connecting Output Signals

    C o m m o n * O u tp u t P in : O -xx Figure 3.7. Output Circuit <PIO-64/64L(PCI)>, <PO-128L(PCI)> The output circuit of this board is illustrated in Figure 3.7. The signal output section is an opto- isolated, open-collector output (current sink type).
  • Page 41: Example Of Connection To Led

    W h e n “0” is ou tp u t to th e b it, in con tr as t, th e LE D go es o u t. Figure 3.8. An Example to use Output O-80 <PIO-64/64L(PCI)>, <PO-128L(PCI)> Example of Connection to TTL Level Input...
  • Page 42: Connecting The Sink Type Output And Sink Output Support Input

    I n pu t(S in k O u tpu t S u pp o rt) C om m o n M in n u s fo r ou tp u t Figure 3.10. Example of Connecting the Sink Type Output and Sink Output Support Input CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 43 3. External Connection CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 44: Functions

    C A U T IO N When the PC is turned on, all output are reset to 0 (OFF). Monitoring Output Data The <PIO-64/64L(PCI)> and <PO-128L(PCI)> can read the state of the data currently being output without affecting the output data. CONTEC CO., LTD.
  • Page 45: Digital Filter Function Of Input Channels

    4. Functions Digital Filter Function of Input Channels <PIO-64/64L(PCI)>, <PI-128L(PCI)> are equipped with a digital filter function for input signals. This function provides all input channels with a means of cutting chattering and noise. Digital Filter Function Principle To use this function, you must set a filter time. The function circuits will then check all input signals synchronizing with the clock.
  • Page 46: Interrupt Control Function

    4. Functions Interrupt Control Function The <PIO-64/64L(PCI)> and <PO-128L(PCI)> 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 47 4. Functions CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 48: About Software

    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. CONTEC CO., LTD.
  • Page 49: 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. CONTEC CO., LTD.
  • Page 50 -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] CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 51: Uninstalling The Api Function Libraries

    (1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Settings” – “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 [Add/Remove] button. Follow the on-screen instructions to uninstall the function libraries. CONTEC CO., LTD.
  • Page 52: Cd-Rom Directory Structure

    | |– WDM | |– Win2000 | |– Win95 |– Manual Reference Manual(PDF type) |– Readme Driver readme file folder |– Release Driver file(For creation of a user-specific install program) |– API_NT |– API_W95 CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 53 5. About Software CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 54: About Hardware

    6. About Hardware 6. About Hardware This chapter provides hardware specifications and hardware-related supplementary information. Hardware specification PIO-64/64L(PCI) Table 6.1. Specifications < PIO-64/64L(PCI)> Item Specification Input Type Opto-Isolated Input (for current sinking output) (Negative logic *) Number of Channels 64 channels (16 of these 64 can be used as interrupt signal)
  • Page 55 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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 56 * D a t a “0 ” a n d “1 ” c o r r e s p o n d t o t h e H i g h a n d L o w l e v e l s , r e s p e c t i v e l y . 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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 57 * D a t a “0 ” a n d “1 ” c o r r e s p o n d t o t h e H i g h a n d L o w l e v e l s , r e s p e c t i v e l y . 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. CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 58: Block Diagram

    External Transistor Digital Output PortC Interrupt (8ch GroupC) Control External Digital Output PortD (8ch GroupD) External Digital Output PortE (8ch GroupE) External Digital Output PortF (8ch GroupF) PIO-64/64L(PCI) Figure 6.1. Block Diagram < PIO-64/64L(PCI)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 59 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) Figure 6.2. Block Diagram < PI-128L(PCI)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 60 E xtern a l D igita l O u tp u t Po rtF (8 ch G ro u pF ) P O -1 2 8 L (P C I) Figure 6.3. Block Diagram< PO-128L(PCI)> CONTEC CO., LTD. PIO-64/64L(PCI), PI-128L(PCI), PO-128L(PCI)
  • Page 61 A-46-647 LYBN981 [020712]...
  • Page 62 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan : +81 (6) 6477-5219 Fax : +81 (6) 6477-1692 E-mail : intsales@osaka.contec.co.jp U.S.A. : CONTEC MICROELECTRONICS U.S.A. INC. 744 South Hillview Drive, Milpitas, CA 95035 U.S.A. : +1 (408) 719-8200 Fax : +1 (408) 719-6750 E-mail : tech_support@contecusa.com EUROPE : CONTEC MICROELECTRONICS EUROPE B.V.

This manual is also suitable for:

Po-128lPi-128lPio-64l

Table of Contents