Contec PIO-32/32F(PCI)H User Manual

Contec PIO-32/32F(PCI)H User Manual

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

Advertisement

Quick Links

Digital I/O Board with High-Speed Isolation
for PCI
PIO-32/32F(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-32/32F(PCI)H and is the answer not in the manual?

Questions and answers

Summary of Contents for Contec PIO-32/32F(PCI)H

  • Page 1 Digital I/O Board with High-Speed Isolation for PCI PIO-32/32F(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 [PIO-32/32F(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

    Select API-DIO(WDM)......................19 Select API-DIO(98/PC)......................20 Step 2 Setting the Hardware......................22 Parts of the Board and Factory Defaults ................... 22 Setting the Board ID ........................23 Plugging the Board ........................24 Step 3 Installing the Hardware ......................25 PIO-32/32F(PCI)H...
  • Page 5 Digital Filter Function Principle....................52 Set Digital Filter Time....................... 52 Interrupt Control Function........................ 53 Disabling/enabling Interrupts ....................53 Selecting the Edge of input signals, at which to generate an iterrupt........53 Clearing the Interrupt Status and Interrupt Signal ..............53 ABOUT SOFTWARE PIO-32/32F(PCI)H...
  • Page 6 Driver Software Install Procedure..................... 61 Accessing the Help File......................62 Using Sample Programs ......................62 Uninstalling the driver....................... 62 ABOUT HARDWARE For detailed technical information ....................63 Hardware specification ........................63 Block Diagram..........................65 Differences between the PIO-32/32F(PCI)H and PIO-32/32F(PCI) ..........66 PIO-32/32F(PCI)H...
  • Page 7 PIO-32/32F(PCI)H...
  • Page 8: Before Using The Product

    The PIO-32/32F(PCI)H is a PCI-compliant interface board for isolated high-speed input/output of digital signals. The PIO-32/32F(PCI)H installs the high-speed opto-coupler within 5 sec of response time, and can input up to 32 signals and output up to 32 signals. Windows/Linux driver is bundled with this product.
  • Page 9: Support Software

    Visual Basic, Visual C++, Visual C#, Delphi, C++ Builder You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). For more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site. Linux version of digital I/O driver API-DIO(LNX)
  • Page 10: Cable & Connector (Option)

    Flat Cable with 96-Pin Half-Pitch Connectors at One End : PCA96P-1.5 (1.5m) : PCA96P-3 (3m) : PCA96P-5 (5m) Distribution Shield Cable with 96-Pin Half-Pitch Connectors (96Pin 37Pin x 2) : PCB96WS-1.5P (1.5m) : PCB96WS-3P (3m) : PCB96WS-5P (5m) Half Pitch 96P Female Connector Set(5 Pieces) : CN5-H96F PIO-32/32F(PCI)H...
  • Page 11: Accessories (Option)

    *1 A PCB96P or PCB96PS optional cable is required separately. *2 A PCB96WS optional cable is required separately. *3 "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-32/32F(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 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. PIO-32/32F(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-32/32F(PCI)H...
  • Page 16: Setup

    For setting up software other than API-PAC(W32), refer to the manual for that software. See also the following parts of this manual as required. This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware PIO-32/32F(PCI)H...
  • Page 17: Using The Board Under An Os Other Than Windows

    Chapter 5 About Software Chapter 6 About Hardware For using the board under an OS other than Windows, Linux, see the following parts of this manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware PIO-32/32F(PCI)H...
  • Page 18: Step 1 Installing The Software

    OS and devices in the future but will not support Windows NT 4.0, Windows 95, ISA bus. Use API-DIO(98/PC) if your operating environment contains such an unsupported piece of software or hardware. Check the following selection guide to easily select the driver to be used. PIO-32/32F(PCI)H...
  • Page 19: Starting The Install Program

    (3) Click on the [Install Development or Execution Environment] button. * When using the Windows 7, Vista, driver is automatically installed. Before installing the software in Windows 7, Vista, XP, Server 2003 and 2000, log in as a user with administrator privileges. PIO-32/32F(PCI)H...
  • Page 20: Select Api-Dio(Wdm)

    (3) Click on the [Install] button. Clicking the [API-DIO] button 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-32/32F(PCI)H...
  • Page 21: Select Api-Dio(98/Pc)

    (1) The following dialog box appears to select “Driver to install” and “Install option”, “Usage of driver library”. (2) Select “Classic Digital I/O driver”. (3) Click on the [Install] button. Clicking on the [API-DIO] button displays detailed information on API-DIO(WDM), API-DIO(98/PC). PIO-32/32F(PCI)H...
  • Page 22 Go to Step 2 to set and plug the hardware. *When the hardware has already been installed: Check “Perform a hardware setup now(API-TOOL Configuration)”, then go to Step 4 “Initializing the Software”. You have now finished installing the software. PIO-32/32F(PCI)H...
  • Page 23: Step 2 Setting The Hardware

    The board can be set up even with the factory defaults untouched. You can change board settings later. Parts of the Board and Factory Defaults Figure 2.1. shows the names of major parts on the board. Note that the switch setting shown below is the factory default. Figure 2.1. Component Locations PIO-32/32F(PCI)H...
  • Page 24: Setting The Board Id

    If only one board is used, the original factory setting (Board ID = 0) should be used. 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. Figure 2.2. Board ID Settings (SW1) PIO-32/32F(PCI)H...
  • Page 25: 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-32/32F(PCI)H...
  • Page 26: Step 3 Installing The Hardware

    In this case, you must check the resource settings. Setting with the Found New Hardware Wizard When Using API-DIO(WDM) (1) The “Found New Hardware Wizard” will be started. Select “No, not this time” and then click the “Next” button. PIO-32/32F(PCI)H...
  • Page 27 [Recommended]” and then click on the “Next” button. Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows 7 [64, 32bit], Vista [64, 32bit], XP [64, 32bit], Server 2003 [64, 32bit], 2000 \INF\Wdm\Dio \INF\Wdm\Dio PIO-32/32F(PCI)H...
  • Page 28 2. Setup * The name of the board you have just added is displayed. - PIO-32/32F(PCI)H You have now finished installing the hardware. PIO-32/32F(PCI)H...
  • Page 29: When Using Api-Dio(98/Pc)

    2. Setup When Using API-DIO(98/PC) (1) The “Found New Hardware Wizard” will be started. Select “No, not this time” and then click the “Next” button. (2) Select “Install from a list or specific location[Advanced]” and then click the “Next” button. PIO-32/32F(PCI)H...
  • Page 30 * The name of the board you have just added is displayed. - PIO-32/32F(PCI)H Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows 7 [32bit], Vista [32bit], XP [32bit], Server 2003 [32bit], 2000...
  • Page 31 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. - PIO-32/32F(PCI)H You have now finished installing the hardware. PIO-32/32F(PCI)H...
  • Page 32: Step 4 Initializing The Software

    - PIO-32/32F(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-32/32F(PCI)H...
  • Page 33 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-32/32F(PCI)H...
  • Page 34: When Using Api-Dio(98/Pc)

    2. Setup When Using API-DIO(98/PC) (1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32” – “API-TOOL Configuration”. (2) API-TOOL Configuration detects boards automatically. The detected boards are listed. Updating the Settings (1) Select “Save settings to registry…” from the “File” menu.
  • Page 35: Step 5 Checking Operations With The Diagnosis Program

    For this board, prepare an external power supply (12 - 24 V). The Check Mate (CM-64 (PC)E) comes in handy when you check digital I/O boards. Check the board with the factor defaults untouched. Connection diagram To connect a device other than the Check Mate, refer Chapter 3 “External Connection”. PIO-32/32F(PCI)H...
  • Page 36: Using The Diagnosis Program

    2. Setup Using the Diagnosis Program Starting the Diagnosis Program for Use of API-DIO(WDM) Click the [Diagnosis] button on the device property page to start the diagnosis program. PIO-32/32F(PCI)H...
  • Page 37 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. - PIO-32/32F(PCI)H PIO-32/32F(PCI)H...
  • Page 38 * The name of the board you have just added is displayed. - PIO-32/32F(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 39 When it is API-DIO(WDM), file name to save the result is displayed. When it is API-DIO(98/PC), the result is saved to the folder in which to install (Program Files\CONTEC\API-PAC(W32)) by the text file (DioRep.txt) and then displayed. The Diagnosis Program performs “board presence/absence check”, “driver file test”, “board setting test”, and so on.
  • Page 40: Setup Troubleshooting

    Turn off the power to 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. PIO-32/32F(PCI)H...
  • Page 41 2. Setup PIO-32/32F(PCI)H...
  • Page 42: External Connection

    Check the information available here when connecting an external device. How to connect the connectors Connector shape To connect an external device to this board, plug the cable from the device into the interface connector (CN1). Figure3.1. Interface Connector (CN1) Shape PIO-32/32F(PCI)H...
  • Page 43: Connector Pin Assignment

    3. External Connection Connector Pin Assignment Pin Assignments of Interface Connector (CN1) Figure 3.2. Pin Assignments of Interface Connector (CN1) PIO-32/32F(PCI)H...
  • Page 44 3. External Connection Pin Assignments of Optional Connector PCB96WS Figure 3.3. PCB96WS Signal Assignments PIO-32/32F(PCI)H...
  • Page 45 IP 0/1 IP 2/3 OP 4/5 OP 6/7 +0/+1 input +2/+3 input +4/+5 output +6/+7 output ports ports ports ports N.C. N.C. Figure 3.4. CCB-96 Signal Assignments PIO-32/32F(PCI)H...
  • Page 46: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    Table 3.1. Logical Ports, Logical Bits, and Connector Signal Pins 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). PIO-32/32F(PCI)H...
  • Page 47: Connecting Input Signals

    Input Circuit Figure 3.5. Input Circuit The input circuits of interface blocks of the PIO-32/32F(PCI)H are illustrated in Figure 3.5. The signal inputs are isolated by opto-couplers (ready to accept current sinking output signals). The board therefore requires an additional power supply isolated from the PC system to drive the photo-isolated circuits.
  • Page 48: Connecting Output Signals

    Output Circuit Figure 3.7. Output Circuit The output circuits of interface blocks of the PIO-32/32F(PCI)H are illustrated in Figure 3.7. The signal output section is an opto-coupler isolated, open-collector output (current sink type). Driving the output section requires an external power supply isolated from the PC system. The rated output current per channel is 50 mA at maximum.
  • Page 49: Connection To The Led

    3. External Connection Connection to the LED Figure 3.8. An Example to use Output O-40 PIO-32/32F(PCI)H...
  • Page 50: Surge Protection

    Example of measures against voltage surge are shown in Figure 3.9. below. Figure 3.9. Samples of Voltage Surge Protection The protection circuit must be installed less than 50 cm from the load and contact to provide effective protection. PIO-32/32F(PCI)H...
  • Page 51 3. External Connection PIO-32/32F(PCI)H...
  • Page 52: Function

    When “0” is output to the relevant bit, in contrast, the corresponding transistor is set to “OFF”. When the PC is turned on, all output are reset to 0 (OFF). Monitoring Output Data The PIO-32/32F(PCI)H can read the state of the data currently being output without affecting the output data. PIO-32/32F(PCI)H...
  • Page 53: Digital Filter Function

    4. Function Digital Filter Function Using this feature, the PIO-32/32F(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. When the...
  • Page 54: Interrupt Control Function

    4. Function Interrupt Control Function The PIO-32/32F(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 55 4. Function PIO-32/32F(PCI)H...
  • Page 56: About Software

    |––WDM |––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) PIO-32/32F(PCI)H...
  • Page 57: About Software For Windows

    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)” – “DIOWDM” – “SAMPLE…”. (3) For the API-DIO(98/PC), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” –...
  • Page 58 -Sample program 10 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 port. PIO-32/32F(PCI)H...
  • Page 59: Uninstalling The Driver Libraries

    [Device Manager] tab. (You can also open Device Manager by right clicking on My Computer and selecting Properties.) 2. All of the hardware that uses the API-TOOL(WDM) driver is registered under the CONTEC Devices tree. Open the device tree, select the hardware to uninstall, and then right-click the hardware.
  • Page 60 < Uninstall the device driver > Use [My Computer] - [Control Panel] - [Add and Remove Applications] to uninstall the device driver. Select [Windows driver package - CONTEC (****)] and then click [Change/Remove]. * "***" contains the driver category name (caio, ccnt, cdio, csmc, etc.).
  • Page 61 < Uninstall the device driver > Use [My Computer] - [Control Panel] - [Add and Remove Applications] to uninstall the device driver. Select [CONTEC API-***(WDM) driver] and then click [Add and Remove Applications]. * "***" contains the driver category name (AIO, CNT, DIO, SMC, etc.).
  • Page 62: 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 63: 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-32/32F(PCI)H...
  • Page 64: 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 (http://www.contec.com/support/) to call for it. Hardware specification Table 6.1.
  • Page 65 6. About Hardware Table 6.1. Specification < 2 / 2 > Board Dimensions PIO-32/32F(PCI)H...
  • Page 66: Block Diagram

    6. About Hardware Block Diagram Figure 6.1. Block Diagram PIO-32/32F(PCI)H...
  • Page 67: Differences Between The Pio-32/32F(Pci)H And Pio-32/32F(Pci)

    6. About Hardware Differences between the PIO-32/32F(PCI)H and PIO-32/32F(PCI) The PIO-32/32F(PCI)H is connector-pin compatible with the conventional PIO-32/32F(PCI) but has the following differences from it: PIO-32/32F(PCI)H...
  • Page 68 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. [05222013] [09272005] Management No. A-51-061 [05222013_rev3] Parts No. LYFB413...

Table of Contents