Contec DI-64T-PE User Manual

Digital i/o board for pci express, digital input board, digital output board
Table of Contents

Advertisement

Quick Links

PC-HELPER
Digital I/O Board
for PCI Express
DIO-3232T-PE
Digital Input Board
DI-64T-PE
Digital Output Board
DO-64T-PE 
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec DI-64T-PE

  • Page 1 PC-HELPER Digital I/O Board for PCI Express DIO-3232T-PE Digital Input Board DI-64T-PE Digital Output Board DO-64T-PE  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 (One of the followings) [DIO-3232T-PE, DI-64T-PE or DO-64T-PE] …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

    Starting the Install Program ......................12 When Using API-DIO(WDM) ...................... 13 When Using API-DIO(98/PC)....................... 14 Step 2 Setting the Hardware ......................... 16 Parts of the Board and Factory Defaults ..................16 Setting the Board ID ........................17 Plugging the Board......................... 18 DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 5 Digital Filter Function ...........................48 Digital Filter Function Principle ....................48 Set Digital Filter Time........................48 Interrupt Control Function ........................49 Disabling/enabling Interrupts......................49 Selecting the Edge of input signals, at which to generate an iterrupt ..........49 Clearing the Interrupt Status and Interrupt Signal ................49 DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 6 About Software for Linux ........................57 Driver Software Install Procedure ....................57 Accessing the Help File ......................... 58 Using Sample Programs......................... 58 Uninstalling the driver ........................58 ABOUT HARDWARE For detailed technical information......................59 Hardware specification ......................... 60 Block Diagram ............................63 DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 7 DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 8: Before Using The Product

    The < DI-64T-PE > features 64 unisolated TTL level inputs. You can use 32 input signals as interrupt inputs. In addition, the digital filter function to prevent wrong recognition of input signals is provided.
  • Page 9 DI-64T2-PCI and DO-64T2-PCI The < DIO-3232T-PE > : The functions same with PCI compatible board PIO-32/32T(PCI)H are provided. The < DI-64T-PE > : The functions same with PCI compatible board DI-64T2-PCI are provided. The < DO-64T-PE > : The functions same with PCI compatible board DO-64T2-PCI are provided.
  • Page 10: 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 11: Cable & Connector (Option)

    *2 “Spring-up” type terminal is used to prevent terminal screws from falling off. *3 A PCB96WS optional cable is required separately. *4 Option cable PCB96P or PCB96PS, and the cable for 37-pin D-SUB are required separately. * Check the CONTEC’s Web site for more information on these options. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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 products 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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 DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 17: Using The Board Under An Os Other Than Windows

    Chapter 6 About Hardware For using the board under an OS other than Windows and Linux, see the following parts of this manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 18: Step 1 Installing The Software

    PCI bus, PC Card Already used. Use the digital board for the first time? The existing system upgrade using API-DIO(98/PC)? Language to be used VC2, 4, 5, VB4, 5, Delphi, C++Builder VC.Net, VB.Net, VC#.Net VC6, VB6 API-DIO(WDM) API-DIO(98/PC) DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 19: Starting The Install Program

    (3) Click on the [Install Development or Execution Environment] button. When using the Windows Vista, driver is automatically installed. CAUTION Before installing the software in Windows Vista, XP, Server 2003 and 2000, log in as a user with administrator privileges. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 20: When Using 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 21: When Using 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). DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 23: 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. - Interface connector (CN1) BOARD ID - Board ID setting switch (SW1) BOARD ID Figure 2.1. Component Locations DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 24: 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) DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 25: Plugging The Board

    Be sure that the personal computer 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 26: Step 3 Installing The Hardware

    In this case, you must check the resource settings. 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 27 When the model name of hardware is displayed, select “Install the software automatically [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 Vista, XP, Server 2003, 2000 \INF\Wdm\Dio \INF\Wdm\Dio DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 28 2. Setup * The name of the board you have just added is displayed. - DIO-3232T-PE - DI-64T-PE - DO-64T-PE You have now finished installing the hardware. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 29: When Using Api-Dio(98/Pc)

    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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 30 - DO-64T-PE Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows Vista, XP, Server 2003, 2000 \INF\Win2000\Dio\PCI Example of specifying the folder for use under Windows XP \INF\Win2000\Dio\PCI DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 31 In this case, click on the [Continue Anyway] button. * The name of the board you have just added is displayed. - DIO-3232T-PE - DI-64T-PE - DO-64T-PE You have now finished installing the hardware. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 32: Step 4 Initializing The Software

    - DIO-3232T-PE - DI-64T-PE - DO-64T-PE (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]. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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 setting to registry…” from the “File” menu.
  • Page 35: Step 5 Checking Operations With The Diagnosis Program

    7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 ACK STB POWER Optional cable PCB96PS-xxP or PCB-96P-1.5 To connect a device other than the Check Mate, see Chapter 3 “External Connection”. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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. - DIO-3232T-PE - DI-64T-PE - DO-64T-PE DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 38 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • 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

    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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 41 2. Setup DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 42: External Connection

    KOGYO CO., LTD.] - Applicable connectors PCR-E96FA+equivalent to it [mfd. by HONDA TSUSHIN KOGYO CO., LTD.] * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector (CN1) Shape DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 43: Connector Pin Assignment

    32 output signal pins. Connect these pins to the input signal pins of the external device. Output +5V. Max. electrical current is 350mA. This pin is connected to the slot’s GND. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CN1) < DIO-3232T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 44 64 input signal pins. Connect output signals from the external device to these pins. Output +5V. Max. electrical current is 350mA. This pin is connected to GND in the slot. N.C. This pin is left unconnected. Figure 3.3. Pin Assignments of Interface Connector (CN1) < DI-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 45 64 output signal pins. Connect these pins to the input signal pins of the external device. Output +5V. Max. electrical current is 350mA.. This pin is connected to GND in the slot. N.C. This pin is left unconnected. Figure 3.4. Pin Assignments of Interface Connector (CN1) < DO-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 46 +0 port +4 port I-22 I-03 O-62 O-43 (Input) (Output) I-21 I-02 O-61 O-42 I-20 I-01 O-60 O-41 Signal Signal I-00 O-40 common common Signal Signal common common Figure 3.5. PCB96WS or CCB-96 Signal Assignments < DIO-3232T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 47 3. External Connection < Pin assignments for connecting a PCB-96WS or CCB-96 to the DI-64T-PE > - "Optional cable PCB96PS" + "Connector conversion board CCB-96" - Optional cable PCB96WS Connector DCLC-J37SAF-20L9 or equivalence to it (mfd by JAE) CCB-96 CNA of PCB96WS N.C.
  • Page 48 +0 port +4 port O-22 O-03 O-62 O-43 (Output) (Output) O-21 O-02 O-61 O-42 O-20 O-01 O-60 O-41 Signal Signal O-00 O-40 common common Signal Signal common common Figure 3.7. PCB96WS or CCB-96 Signal Assignments < DO-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 49: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    [16] O-35 O-37 O-36 O-34 O-33 O-32 O-31 O-30 Output logical port 3 [31] [30] [28] [27] [26] [25] [24] [29] Notes : I-xx / O-xx represents an input / output signal. [xx] represents the logical bit. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 50 3. External Connection DI-64T-PE Table 3.2. Logical Ports, Logical Bits, and Connector Signal Pins < DI-64T-PE > I-07 I-06 I-05 I-04 I-03 I-02 I-01 I-00 Input logical port 0 I-17 I-16 I-15 I-14 I-13 I-12 I-11 I-10 Input logical port 1...
  • Page 51: Connecting Input Signals

    GND (CN1 : A01 pin) When the switch is ON, the corresponding bit contains 1. When the switch is OFF, by contrast, the bit contains 0. Figure 3.9. An Example to use Input I-00 < DIO-3232T-PE >, < DI-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 52: Connecting Output Signals

    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.11 An Example to use Output O-40 < DIO-3232T-PE >, < DO-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 53: Surge Protection

    In case of accidental short of the +5V output and GND, for example, the function works, and the board operation may become impossible temporarily. In such a case, you should turn the PC off and wait for several minutes before you use the board again. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 54: Function

    When “0” is output to the relevant bit, in contrast, the corresponding transistor is set to “OFF”. CAUTION When the PC is turned on, all output are reset to 0 (OFF). Monitoring Output Data The <DIO-3232T-PE>, <DO-64T-PE> can read the state of the data currently being output without affecting the output data. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 55: Digital Filter Function

    4. Function Digital Filter Function Using this feature, the <DIO-3232T-PE>, <DI-64T-PE> 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 Input Signal...
  • Page 56: Interrupt Control Function

    4. Function Interrupt Control Function The <DIO-3232T-PE>, <DI-64T-PE> can use 32channels of the input signals as interrupt request signals. This product can generate an interrupt request signal to the PC when the input signal change from High to Low or from Low to High.
  • Page 57 4. Function DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 58: About Software

    |––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) DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 59: 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 60 -Sample program 10 Executes inputs/outputs digital (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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 61: 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 62 In case of API-***(WDM), select [CONTEC API-***(WDM) VerX.XX (development environment)] and then click [Uninstall]. In case of API-*** (98/PC), select [CONTEC API-*** (98/PC)xx VerX.XX] and then click [Uninstall]. * "***" contains the driver category name (AIO, CNT, DIO, SMC, etc.).
  • Page 63 In case of API-***(WDM), select [CONTEC API-***(WDM) VerX.XX (development environment)] and then click [Change/Remove]. In case of API-*** (98/PC), select [CONTEC API-*** (98/PC)xx VerX.XX (development environment)] and then click [Change/Remove]. * "***" contains the driver category name (AIO, CNT, DIO, SMC, etc.).
  • Page 64: 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 DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 65: 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 66: 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. DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 67: Hardware Specification

    *1 Data “0” and “1” correspond to the High and Low levels, respectively. Board Dimensions 121.69(L) The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. [mm] DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 68 6. About Hardware DI-64T-PE Table 6.2. Specification < DI-64T-PE > Item Specification Input Input format Unisolated TTL level input (Negative logic *1) Number of input signal 64channels (32channels of them are available for interrupts) channels (1 common) Pull up 10k Ω (1TTL load)
  • Page 69 *1 Data “0” and “1” correspond to the High and Low levels, respectively. Board Dimensions 121.69(L) The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. [mm] DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 70: Block Diagram

    (8 points, group 5) External Open digital output port 2 collector (8 points, group 6) Interrupt control External Open digital output port 3 collector (8 points, group 7) DIO-3232T-PE Figure 6.1. Block Diagram < DIO-3232T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 71 Input Port 5 receiver (8 channels, Group 5) External digital Input Port 6 receiver (8 channels, Group 6) Interrupt Control External digital Circuit Input Port 7 receiver (8 channels, Group 7) DI-64T-PE Figure 6.2. Block Diagram < DI-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 72 Port 5 collector (8 channels, Group 5) External digital Open output Port 6 collector (8 channels, Group 6) External digital Open output Port 7 collector (8 channels, Group 7) DO-64T-PE Figure 6.3. Block Diagram < DO-64T-PE > DIO-3232T-PE, DI-64T-PE, DO-64T-PE...
  • Page 73 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. [05262008] [10252006] Management No. A-51-320 [05262008_rev4] Parts No.

This manual is also suitable for:

Dio-3232t-peDo-64t-peDi-64t2-pciDo-64t2-pci

Table of Contents