Contec DIO-32DM3-PE User Manual

Contec DIO-32DM3-PE User Manual

High-speed bi-directional digital i/o board for pci express
Table of Contents

Advertisement

Quick Links

PC-HELPER
High-Speed Bi-directional
Digital I/O Board for PCI Express
DIO-32DM3-PE
User's Guide
CONTEC CO., LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIO-32DM3-PE and is the answer not in the manual?

Questions and answers

Summary of Contents for Contec DIO-32DM3-PE

  • Page 1 PC-HELPER High-Speed Bi-directional Digital I/O Board for PCI Express DIO-32DM3-PE 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 [DIO-32DM3-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

    Setting the Pull-Up..........................16 Plugging the Board ..........................19 Step 3 Installing the Hardware ......................... 20 Turning on the PC ..........................20 Found New Hardware Wizard Setting ....................21 Step 4 Initializing the Software ........................ 22 Step 5 Operation Checks .......................... 24 DIO-32DM3-PE...
  • Page 5 General-purpose I/O function ........................45 Data input ............................45 Data output ............................45 Monitoring the output data........................ 45 Interrupt Control Function........................46 Disabling/enabling Interrupts ......................46 Clearing the Interrupt Status and Interrupt Signal ................46 ABOUT SOFTWARE About Software for Windows ........................47 DIO-32DM3-PE...
  • Page 6 Accessing the Help File ........................47 Using Sample Programs ........................48 Uninstalling the Driver Libraries...................... 49 ABOUT HARDWARE Hardware specifications..........................51 Block Diagram ............................53 Differences between DIO-32DM3-PE, DIO-32DM2-PE, DIO-32DM-PE and PIO-32DM(PCI) ..................................54 DIO-32DM3-PE...
  • Page 7 DIO-32DM3-PE...
  • Page 8: Before Using The Product

    - A synchronization control connector is provided for synchronized control of multiple boards. A synchronization control connector is provided for synchronized control of up to 16 boards. It is also easy to synchronize operation with other CONTEC boards that have a synchronization control connector.
  • Page 9 DIO-32DM2-PE, DIO-32DM-PE are provided. In addition, as there is compatibility in terms of connector shape and pin assignments, it is easy to migrate from the existing system. LabVIEW is supported by a plug-in of dedicated library. Using the dedicated library makes it possible to make a LabVIEW application. DIO-32DM3-PE...
  • Page 10: Support Software

    (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. LabVIEW-support data acquisition library DAQfast for LabVIEW (Available for downloading (free of charge) from the CONTEC web site.)
  • Page 11: Cable & Connector (Option)

    Terminal Unit for Cables (M3 x 96P) : DTP-64A *1 *1 PCB96P or PCB96PS 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. DIO-32DM3-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-32DM3-PE...
  • Page 14: Handling Precautions

    Even when using this product continuously, be sure to read the user’s guide and understand the contents. Do not modify this 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 (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. EN55032 Class A Notice Warning: Operation of this equipment in a residential environment could cause radio interference. DIO-32DM3-PE...
  • Page 16: 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-32DM3-PE...
  • Page 17 1. Before Using the Product DIO-32DM3-PE...
  • Page 18: Setup

    Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the Hardware Step 4 Initializing the Software Step 5 Operation Checks If Setup fails to be performed normally, see the “Setup Troubleshooting” section at the end of this chapter. DIO-32DM3-PE...
  • Page 19: 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 20 (2) The API-PAC(W32) Installer window appears automatically. 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, log in as a user with administrator privileges. DIO-32DM3-PE...
  • Page 21: Select Api-Dio(Wdm)

    (3) Click on the [Install] button. Clicking the [API-DIO] button under the “Detail” displays detailed information about API-DIO(WDM). 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-32DM3-PE...
  • Page 22: Step 2 Setting The Hardware

    Note that the switch setting shown below is the factory default. - SC Connector (CN2 CN3) (CN2) (CN3) - Pull-up voltage setting switches (SW1- SW5) DIO-32DM3-PE BOARD ID - Board ID setting swith BOARD ID - Pull-up voltage setting - Interface connector (CN1)
  • Page 23: Setting The Board Id

    (no pull-up). Setting Procedure For setting the pull-up in jumper pins (JP1 to JP3) and slide switches (SW1 to SW5) on the board. Please to see set the figure below. DIO-32DM3-PE...
  • Page 24 DIOB04 EXTCLK1 DIOB03 EXTSTART1 DIOB02 EXTSTOP1 DIOB01 EXTACK1 DIOB00 DIOD07 DIOA07 DIOD06 DIOA06 DIOD05 DIOA05 DIOD04 DIOA04 DIOD03 DIOA03 DIOD02 DIOA02 DIOD01 DIOA01 DIOD00 DIOA00 DIOC07 DIOC06 DIOC05 DIOC04 DIOC03 DIOC02 DIOC01 DIOC00 Figure 2.3. Setting the Pull-Up (SW1-SW5) DIO-32DM3-PE...
  • Page 25 (Factory setting : 2-3 Short) Jumper pins Signal Jumper pins Signal EXTCLK0 EXTSTART0 DIOD00-DIOD07 EXTSTOP0 EXTREQ0 1 2 3 1 2 3 EXTCLK1 EXTSTART1 DIOC00-DIOC07 EXTSTOP1 EXTACK1 DIOB00-DIOB07 1 2 3 DIOA00-DIOA07 Figure 2.4. Pull-up voltage setting pins (JP1 - JP3) DIO-32DM3-PE...
  • Page 26: Plugging The Board

    Otherwise, the board may malfunction, overheat, or cause a failure. 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-32DM3-PE...
  • Page 27: 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. DIO-32DM3-PE...
  • Page 28: 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. DIO-32DM3-PE...
  • Page 29: Step 4 Initializing The Software

    - DIO-32DM3-PE “DIO000” (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].
  • Page 30 - DIO-32DM3-PE 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.
  • Page 31: 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. DIO-32DM3-PE...
  • Page 32 * The name of the board you have just added is displayed. - DIO-32DM3-PE * Switch the I/O direction. 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.
  • Page 33 The Diagnosis Program performs “board presence/absence check”, “driver file test”, “board setting test”, and so on. CAUTION Before executing diagnosis report output, unplug the cable from the board. * The name of the board you have just added is displayed. - DIO-32DM3-PE Click on [Show Diagnosis Report]. DIO-32DM3-PE...
  • Page 34: Setup Troubleshooting

    (2) A diagnosis report is displayed as shown below. * The name of the board you have just added is displayed. - DIO-32DM3-PE Setup Troubleshooting Symptoms and Actions The board works with the Diagnosis Program but not with an application.
  • Page 35 2. Setup DIO-32DM3-PE...
  • Page 36: External Connection

    - Compatible connectors PCR-E96FA+ [mfd. by HONDA TSUSHIN KOGYO CO., LTD.] or equivalence to it * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector and Applicable Cable Connector DIO-32DM3-PE...
  • Page 37: Connector Pin Assignment

    DIOA02 * DIOC01 DIOA01 * DIOC00 DIOA00 * N.C. N.C. N.C. N.C. - [ ] shows the pin No. of HONDA TSUSHIN KOGYO CO., LTD. specification. * Can be used as an interrupt signal when used as general-purpose I/O. DIO-32DM3-PE...
  • Page 38: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    [18] [17] [16] Input Logical DIOD07 DIOD06 DIOD05 DIOD04 DIOD03 DIOD02 DIOD01 DIOD00 Ports3 [31] [30] [29] [28] [27] [26] [25] [24] Note : DIOAxx, DIOBxx, DIOCxx and DIODxx represents the CN1 input signal. [xx] represents the logical bit. DIO-32DM3-PE...
  • Page 39 [18] [17] [16] Output Logical DIOD07 DIOD06 DIOD05 DIOD04 DIOD03 DIOD02 DIOD01 DIOD00 Ports3 [31] [30] [29] [28] [27] [26] [25] [24] Note : DIOAxx, DIOBxx, DIOCxx and DIODxx represents the CN1 output signal. [xx] represents the logical bit. DIO-32DM3-PE...
  • Page 40: Connection Method To The External Device -Data I/O

    (rising edge). Detailed Data I/O Signal Circuit External circuit Board 3.3V 5.0V SN74LVT245B or equivalent 5V TTL IC or LVTTL IC DIO A** DIO B** DIO C** DIO D** 22Ω INPUT/OUTPUT Figure 3.3. Data I/O Signal Circuit DIO-32DM3-PE...
  • Page 41: Connection Method To The External Device -Control I/O

    Control signals to be input include clock, start, stop, and handshake input signals. External circuit Board EXTCLK0/1 EXTSTART0/1 EXTSTOP0/1 3.3V 5.0V EXREQ0 EXTACK1 5V TTL IC or LVTTL IC SN74LVT245B or equivalent 22Ω Input pin Figure 3.4. Control signal input circuit DIO-32DM3-PE...
  • Page 42: Detailed Control Output Signal Circuit

    When the external clock input is set as the clock source, pattern input or output occurs at the falling edge of this signal. EXTCLK0 EXTCLK1 tPWH tPWL tPWH : Clock pulse high width 25ns (Min.) tPWL : Clock pulse low width 25ns (Min.) Figure 3.6. External clock signal DIO-32DM3-PE...
  • Page 43 EXTRAQ0 (In) tREQIL DATA (In) Valid Invalid tACKOL EXTACK0 (Out) tHSIN tREQIL : EXTREQ0 low width 25ns (Min.) tACKOL : EXTACK0 low width 100ns tHSIN : Handshaking time 100ns (Min.) Figure 3.8. Handshake Signals at the Time of Input DIO-32DM3-PE...
  • Page 44 (1) After setting the handshaking operation, this product outputs the EXTREQ1 signal. (2) The board begins sampling acknowledge signals from external devices. The board recognizes the end with a low pulse of more than 25ns and, at the leading edge, starts preparing to output the next data. DIO-32DM3-PE...
  • Page 45: Synchronization Control Connectors

    CAUTION When the clock signal is assigned to a synchronization control connector, the maximum clock frequency available is 5 MHz. When each signal is assigned to a synchronization control connector, the slave board causes a delay of about 100nsec. DIO-32DM3-PE...
  • Page 46: Connecting The Sc Connectors (Cn2,Cn3)

    Connect CN2 with a smaller ID number to CN3 with a greater ID number with the cable. You should only use the cable that came with the board. ID = 0 ID = 1 ID = 2 Figure 3.10. Connecting Cables DIO-32DM3-PE...
  • Page 47 3. External Connection DIO-32DM3-PE...
  • Page 48: Function

    During ring transfer, the product starts transfer over again from the beginning of the allocated memory area when it reaches its end. Ring transfer continues until a stop condition is satisfied or until it is terminated by software. DIO-32DM3-PE...
  • Page 49: Interrupt (At The Time Of Bus Master Transfer)

    The 32bit or 64bit transfer count can be obtained by using the function of API-PAC(W32). The transfer count is obtained as the number of data items already transferred to user application memory in input mode or as the number of data items already output to an external device in output mode. DIO-32DM3-PE...
  • Page 50: Sampling Function

    4. Function Sampling function Sampling control DIO-32DM3-PE can obtain sampling data at fixed intervals using a sampling clock. The table below lists the sampling clock, sampling start trigger, and sampling stop trigger factors. Table 4.1. Sampling clock, starting trigger, stopping trigger...
  • Page 51: Generating Function

    Generating function Generating control DIO-32DM3-PE can output (generate) pattern data at fixed intervals using a generating clock. The table below lists the generating clock, generating start trigger, and generating stop trigger factors. Table 4.2. generating clock, start trigger, stop trigger...
  • Page 52: General-Purpose I/O Function

    The entire product is set for input immediately after the power is turned on. It is Low level after setting to output. Monitoring the output data The product can read the status of the current output data without affecting the output data. DIO-32DM3-PE...
  • Page 53: Interrupt Control Function

    All of the interrupt status bits are set to 0 when the power is turned on. If an interrupt mask bit has been set to disable interrupts, the interrupt status bit is not set even when the input signal changes its level. DIO-32DM3-PE...
  • Page 54: About Software

    The method to use in accessing the help file varies slightly depending on the version of the driver (the development environment) that is installed. 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". DIO-32DM3-PE...
  • Page 55: 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 56: 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 57 5. About Software DIO-32DM3-PE...
  • Page 58: About Hardware

    REQ signal (handshake) Negative logic tL=25ns (Min.) ACK signal (handshake) Negative logic tL=25ns (Min.) External start signal Selection of rising/falling edge with the software External stop signal Selection of rising/falling edge with the software External clock input f=20 MHz (Max.) DIO-32DM3-PE...
  • Page 59 VCCI Class A, FCC Class A, Standard CE Marking (EMC Directive Class A, RoHS Directive) External Board Dimensions 169.33(L) [mm] The standard outside dimensions (L) is the distance from the end of the board to the outer surface of the slot cover. DIO-32DM3-PE...
  • Page 60: Block Diagram

    "Limited" indicates that the number of transfers is designated and "unlimited" indicates the number of transfers is not designated. However, these values may not be satisfied depending on the system configuration, such as other boards and applications. Table 6.3. When CONTEC's Expansion Unit ECH-PE-CE Series Is Used Limited Unlimited Core i5-4590 3.30GHz...
  • Page 61: Differences Between Dio-32Dm3-Pe, Dio-32Dm2-Pe, Dio-32Dm-Pe And Pio-32Dm(Pci)

    PCI(32bit, 33MHz, Universal key Bus specification Rev.2.0 x1 shapes supported) Operating voltage 3.3V 600mA (Max.) , 12V 30mA (Max.) 5V 700mA (Max.) Table 6.5. Differences between DIO-32DM3-PE, DIO-32DM2-PE and DIO-32DM-PE DIO-32DM3-PE DIO-32DM2-PE DIO-32DM-PE Input format Unisolated LVTTL level Unisolated LVTTL level...
  • Page 63 2018 Edition September 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. [09102018] [08082018] Management No. NA05724 [09102018_rev2] Parts No.

Table of Contents