Table of Contents

Advertisement

Quick Links

PC-HELPER
Bi-Directional Digital I/O
Board for PCI Express
Low Profile
DIO-96D-LPE
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIO-96D-LPE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec DIO-96D-LPE

  • Page 1 PC-HELPER Bi-Directional Digital I/O Board for PCI Express Low Profile DIO-96D-LPE 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-96D-LPE] …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

    When Using API-DIO(WDM)....................13 When Using API-DIO(98/PC)....................14 Step 2 Setting the Hardware ......................16 Replacing the Bracket........................ 16 Parts of the Board and Factory Defaults ................... 17 Setting the Board ID ........................17 Plugging the Board ........................18 DIO-96D-LPE...
  • Page 5 Digital Filter Function Principle....................46 Set Digital Filter Time ....................... 46 Interrupt Control Function........................ 47 Disabling/enabling Interrupts ....................47 Selecting the edge of input signals, at which to generate an interrupt........47 Clearing the Interrupt Status and Interrupt Signal ..............47 DIO-96D-LPE...
  • Page 6 Driver Software Install Procedure ..................... 55 Accessing the Help File ......................56 Using Sample Programs ......................56 Uninstalling the driver ....................... 56 ABOUT HARDWARE For detailed technical information ....................57 Hardware specification ........................57 Block Diagram..........................58 Difference from DIO-96D2-LPCI ....................59 DIO-96D-LPE...
  • Page 7 DIO-96D-LPE...
  • Page 8: Before Using The Product

    LabVIEW is supported by a plug-in of dedicated library VI-DAQ. Using the dedicated library VI-DAQ makes it possible to create each application for LabVIEW. DIO-96D-LPE...
  • 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)

    *3 “Spring-up” type terminal is used to prevent terminal screws from falling off. *4 If using both the CNA and CNB connectors, two each of the accessories and cable sets are required. * Check the CONTEC’s Web site for more information on these options. DIO-96D-LPE...
  • Page 11: 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 12: 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-96D-LPE...
  • Page 13: 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 14: 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-96D-LPE...
  • Page 15 1. Before Using the Product DIO-96D-LPE...
  • Page 16: Setup

    For setting up software other than API-PAC(W32), refer to the user’s guide for that software. See also the following parts of this user’s guide 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-96D-LPE...
  • Page 17: Using The Board Under An Os Other Than Windows

    Chapter 6 About Hardware For using the board under an OS such as MS-DOS 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 DIO-96D-LPE...
  • Page 18: Step 1 Installing The Software

    ISA Bus 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-96D-LPE...
  • 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, 2000 and NT, log in as a user with administrator privileges. DIO-96D-LPE...
  • 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-96D-LPE...
  • 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-96D-LPE...
  • 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-96D-LPE...
  • Page 23: Step 2 Setting The Hardware

    The replacing method is as follows : Standard-sized bracket - Remove the screws and replace it with the Standard-sized bracket. Low Profile size bracket Screw Use a flathead screwdriver or hexagonal spanner to undo and tighten the screws. Figure 2.1. Replacing the Bracket DIO-96D-LPE...
  • Page 24: Parts Of The Board And Factory Defaults

    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. BOARD ID Factory setting: (Board ID = 0) Figure 2.3. Board ID Settings (SW1) DIO-96D-LPE...
  • Page 25: 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-96D-LPE...
  • 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-96D-LPE...
  • 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-96D-LPE...
  • Page 28 2. Setup * The name of the board you have just added is displayed. - DIO-96D-LPE You have now finished installing the hardware. DIO-96D-LPE...
  • 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. DIO-96D-LPE...
  • Page 30 (3) Specify that folder on the CD-ROM which contains the setup information (INF) file to register the board. * The name of the board you have just added is displayed. - DIO-96D-LPE 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...
  • 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. - DIO-96D-LPE You have now finished installing the hardware. DIO-96D-LPE...
  • Page 32: Step 4 Initializing The Software

    * The name of the board you have just added is displayed. - DIO-96D-LPE 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-96D-LPE...
  • 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-96D-LPE...
  • 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

    Using the “Diagnosis Report” feature reports the driver settings, the presence or absence of the board, I/O status, and interrupt status. Check Method Connect the board to a remote device to text the input/output and check the execution environment. To connect the external device, see Chapter 3 “External Connection”. DIO-96D-LPE...
  • 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-96D-LPE...
  • 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-96D-LPE DIO-96D-LPE...
  • Page 38 * The name of the board you have just added is displayed. - DIO-96D-LPE 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. DIO-96D-LPE...
  • Page 41 2. Setup DIO-96D-LPE...
  • Page 42: External Connection

    Applicable connector HDRA-E68MA1 [mfd. by HONDA TSUSHIN KOGYO CO., LTD.] or equivalent to it * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector (CNA, CNB) Shape DIO-96D-LPE...
  • Page 43: Connector Pin Assignment

    * I-00 - I-17 can be used as interrupt signal. 1-PA0 - 4-PC7 96 I/O signal pins. Connect signals from the external device to these pins. Connected to slot GND Figure 3.2. Pin Assignments of Interface Connector (CNA, CNB) < DIO-96D-LPE > DIO-96D-LPE...
  • Page 44 4-A port 1-PA3 2-PA3 3-PA3 4-PA3 1-PA2 2-PA2 3-PA2 4-PA2 1-PA1 2-PA1 3-PA1 4-PA1 1-PA0 2-PA0 3-PA0 4-PA0 - [ ] shows the pin No. HONDA TSUSHIN KOGYO CO., LTD. Specification. Figure 3.3. Signal assignment with the DIO-68M/96F used DIO-96D-LPE...
  • Page 45: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    [xx] represents a logical bits 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 API-DIO HELP available after installing API-PAC(W32). DIO-96D-LPE...
  • Page 46: Connecting I/O Signals

    3. External Connection Connecting I/O Signals The I/O circuits of interface blocks of the DIO-96D-LPE are illustrated in Figure 3.4. Signals are LVTTL-levels and positive logic. I/O Circuit Board External circuit 74LV245A 33Ω INPUT/OUTPUT Figure 3.4. I/O Circuit CAUTION Take care not to short the outputs to digital ground as this may cause a fault.
  • Page 47: Example Connection 1 (Using Pca68Ps-**P)

    1-PA0(A02 pin) 74LV245A or equivalent Cable GND(A01 pin) Output 96-pin connector side External circuit +3.3V Target 33Ω 6.8kΩ 2-PA0(B02 pin) 74LV245A or equivalent Cable GND(B01 pin) Figure 3.6. Connection Example Using 1-PA0 for Input and 2-PA0 for Output (Using DIO-68M/96F) DIO-96D-LPE...
  • Page 48: Surge Protection

    Output pin Output pin Surge current Resistor prevention resistor Signal common Signal common Figure 3.7. Samples of Voltage Surge Protection CAUTION The protection circuit must be installed less than 50 cm from the load and contact to provide effective protection. DIO-96D-LPE...
  • Page 49 3. External Connection DIO-96D-LPE...
  • Page 50: Function

    The input/output setting can be achieved in eight signals unit for ports A and B and in four signals unit (upper 4 bits and lower 4 bits) for port C. CAUTION Each port is assigned as an input port when the power is turned on. Start set i8255 function input/output data Figure 4.1. I/O setup DIO-96D-LPE...
  • Page 51 INPUT INPUT OUTPUT OUTPUT INPUT INPUT INPUT INPUT OUTPUT OUTPUT OUTPUT INPUT OUTPUT OUTPUT INPUT INPUT OUTPUT INPUT OUTPUT INPUT OUTPUT INPUT INPUT INPUT INPUT OUTPUT OUTPUT INPUT INPUT OUTPUT INPUT INPUT INPUT INPUT OUTPUT INPUT INPUT INPUT INPUT DIO-96D-LPE...
  • Page 52: Data I/O

    When input data is high level, [1] is input to the corresponding bit. Output When [0] is output to the corresponding bit, low level is output to the external part. When [1] is output to the corresponding bit, high level is output to the external part. DIO-96D-LPE...
  • Page 53: Digital Filter Function

    4. Function Digital Filter Function Using this feature, the < DIO-96D-LPE > can apply a digital filter to every input pin, thereby preventing wrong recognition of input signals from carrying noise or a chattering. Digital Filter Function Principle Input Signal...
  • Page 54: Interrupt Control Function

    4. Function Interrupt Control Function The < DIO-96D-LPE > 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 DIO-96D-LPE...
  • 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) DIO-96D-LPE...
  • 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 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-96D-LPE...
  • 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 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 61 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 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. DIO-96D-LPE...
  • 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: Block Diagram

    3-C port (Low) transceiver (4 points) LVTTL 4-A port Interrupt transceiver (8 points) control LVTTL 4-B port transceiver (8 points) LVTTL 4-C port (High) transceiver (4 points) LVTTL 4-C port (Low) transceiver (4 points) DIO-96D-LPE Figure 6.1. Block Diagram DIO-96D-LPE...
  • Page 66: Difference From Dio-96D2-Lpci

    Difference from DIO-96D2-LPCI DIO-96D-LPE The functions same with conventional product of DIO-96D2-LPCI are provided with the DIO-96D-LPE. In addition, as there is compatibility in terms of connector shape and pin assignments, it is easy to migrate from the existing system. So you can use the same operating procedures as DIO-96D2-LPCI.
  • Page 67 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. [08162012] [03102008] Management No. A-51-557 [11062012_rev4] Parts No. LYJB654...

Table of Contents