Contec DIO-1616L-PE User Manual
Hide thumbs Also See for DIO-1616L-PE:
Table of Contents

Advertisement

Quick Links

PC-HELPER
Digital I/O Board with Opto-Isolation
for PCI Express
DIO-1616L-PE
Digital Input Board with Opto-Isolation
DI-32L-PE
Digital Output Board with Opto-Isolation
DO-32L-PE
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec DIO-1616L-PE

  • Page 1 PC-HELPER Digital I/O Board with Opto-Isolation for PCI Express DIO-1616L-PE Digital Input Board with Opto-Isolation DI-32L-PE Digital Output Board with Opto-Isolation DO-32L-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 (One of the followings) [DIO-1616L-PE, DI-32L-PE or DO-32L-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 Select API-DIO(WDM)......................13 Select 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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 5 Digital Filter ............................. 46 Digital Filter Function Principle....................46 Set Digital Filter Time....................... 46 Interrupt Control Function........................ 48 Disabling/enabling Interrupts ....................48 Selecting the Interrupt Edge ...................... 48 Clearing the Interrupt Status and Interrupt Signal ..............48 DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 6 About Software for Linux ........................ 53 Driver Software Install Procedure..................... 53 Accessing the Help File......................54 Using Sample Programs ......................54 Uninstalling the driver....................... 54 ABOUT HARDWARE For detailed technical information ....................55 Hardware specification ........................55 Block Diagram..........................59 DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 7 DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 8: Before Using The Product

    This product is a PCI Express bus-compliant interface board that extends the digital signal I/O functions of a PC. DIO-1616L-PE is a 12 - 24VDC opto-coupler isolated type with opto-coupler isolated input 16ch and opto-coupler isolated open-collector output 16ch. You can use all of the input signals as interrupt inputs.
  • Page 9 8ch outputs. Functions and connectors are compatible with PCI compatible board PIO-16/16L(PCI)H series. DIO-1616L-PE : The functions same with PCI compatible board PIO-16/16L(PCI)H are provided. DI-32L-PE : The functions same with PCI compatible board PI-32L(PCI)H 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)

    : DTP-3A *1 Screw Terminal : DTP-4A *1 Signal Monitor for Digital I/O : CM-32L *1 *1 A PCB37P or PCB37PS optional cable is required separately. Check the CONTEC’s Web site for more information on these options. DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 18: Step 1 Installing The Software

    PCI bus, PC Card Already used. Use the digital board for the fisrt 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-1616L-PE, DI-32L-PE, DO-32L-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, Windows XP, Server 2003 and 2000, log in as a user with administrator privileges. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • 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. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • 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). DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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) DIO/DI/DO-xxL-PE BOARD ID - Board ID setting switch (SW1) BOARD ID Figure 2.1. Component Locations DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 25: Plugging The Board

    Be sure that the personal computer power is turned off. Make sure that your PC or extension unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure. DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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, Windows XP, Server 2003, 2000 \INF\Wdm\Dio \INF\WDM\DIO DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 28 2. Setup * The name of the board you have just added is displayed. - DIO-1616L-PE - DI-32L-PE - DO-32L-PE You have now finished installing the hardware. DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 30 - DO-32L-PE Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows Vista, Windows XP, Server 2003, 2000 \INF\Win2000\Dio\PCI Example of specifying the folder for use under Windows XP \INF\Win2000\Dio\PCI DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • 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-1616L-PE - DI-32L-PE - DO-32L-PE You have now finished installing the hardware. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 32: Step 4 Initializing The Software

    - DIO-1616L-PE - DI-32L-PE - DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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

    Check the board with the factor defaults untouched. Connection diagram Connector CM-32L Board Option cable External PCB37P or PCB37PS power supply 12 - 24VDC To connect a device other than the Check Mate, see Chapter 3 “External Connection”. DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE - DI-32L-PE - DO-32L-PE DIO-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 41 2. Setup DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 42: External Connection

    - Applicable connector 17JE-23370-02(D8C) [mfd by DDK, M(male)type] FDCD-37P [mfd by HIROSE, M(male)type] DC-37P-N [mfd by JAE, M(male)type] * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector (CN1) Shape DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 43: Connector Pin Assignment

    ON 2/3 Connect the negative side of the external power supply. These pins are common to 16 output signal pins. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CN1) < DIO-1616L-PE > DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 44 ON 0/1 - ON 2/3 Connect the negative side of the external power supply. These pins are common to 16 output signal pins. N.C. This pin is left unconnected. Figure 3.4. Pin Assignments of Interface Connector (CN1) < DO-32L-PE > DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 45: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    Output logical port 0 O-37 O-36 O-35 O-34 O-33 O-32 O-31 O-30 Output logical port 1 [15] [14] [13] [12] [11] [10] Notes : I-xx represents the input signal. O-xx represents the output signal. [xx] represents the logical bit. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 46 [20] [19] [18] [17] [16] O-37 O-36 O-35 O-34 O-33 O-32 O-31 O-30 Output logical port 3 [31] [30] [29] [28] [27] [26] [25] [24] Notes : O-xx represents the output signal. [xx] represents the logical bit. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 47: Connecting Input Signals

    * I-xx represents the input pin. Figure 3.5. Input Circuit < DIO-1616L-PE >, < DI-32L-PE > The input circuits of interface blocks of the < DIO-1616L-PE >, < DI-32L-PE > is 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 external power supply to drive the inputs.
  • Page 48: Connecting Output Signals

    * O-xx represents the output pin. Figure 3.7. Output Circuit <DIO-1616L-PE>, <DO-32L-PE> The output circuits of interface blocks of the <DIO-1616L-PE>, <DO-32L-PE> is illustrated in Figure 3.7. The signal output section is an opto-coupler isolated, open-collector output (current sink type).
  • Page 49: Connection To The Led

    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.8. An Example to use Output O-20 <DIO-1616L-PE>, <DO-32L-PE> Example of Connection to TTL Level Input...
  • Page 50: Connecting The Sink Type Output And Sink Output Support Input

    12 - 24VDC Output board Input board Input plus common Output plus common Output (sink type) Input (Compatible with sink output) Output minus common Figure 3.10. Example of Connecting the Sink Type Output and Sink Output Support Input DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 51 3. External Connection DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 52: 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-1616L-PE>, <DO-32L-PE> can read the state of the data currently being output without affecting the output data. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 53: Digital Filter

    4. Function Digital Filter Using this feature, The <DIO-1616L-PE>, <DI-32L-PE> can apply a digital filter to every input pin, thereby preventing the input signal 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 If you set the digital filter time, the filter applies to all input pins. You cannot apply the filter only to a specific filter. Do not set Setting Data to a value outside the above range as doing so can cause the board to malfunction. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 55: Interrupt Control Function

    4. Function Interrupt Control Function The <DIO-1616L-PE>, <DI-32L-PE> can use all 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 56: 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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • 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. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 59: Uninstalling The Driver Libraries

    (1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Control Panel”. (2) Double-click on “Add or Remove Programs” in the Control Panel. (3) For use of API-DIO(WDM), select “CONTEC API-DIO(WDM) driver” and “CONTEC API-DIO(WDM) VerX.XX (Develop)” from the application list displayed.
  • Page 60: 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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 61: 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-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 62: 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 DIO-1616L-PE Table 6.1.
  • Page 63 Connector DCLC-J37SAF-20L9E [mfd by JAE] or equivalent to it Weight 130g Board Dimensions 121.69(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 64 Data “0” and “1” correspond to the High and Low levels, respectively. Board Dimensions 121.69(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 65 Data “0” and “1” correspond to the High and Low levels, respectively. Board Dimensions 121.69(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 66: Block Diagram

    (8ch, Group 1) Control Circuits External digital Opto- coupler Output Port 0 & Transistors (8ch, Group 2) External digital Opto- Output Port 1 coupler & (8ch, Group 3) Transistors Interrupt Control Circuit DIO-1616L-PE Figure 6.1. Block Diagram <DIO-1616L-PE> DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 67 Port 1 coupler (8ch, Group 1) Control Circuits External digital Opto- input Port 2 coupler (8ch, Group 2) External digital Opto- input Port 3 coupler (8ch, Group 3) Interrupt Control Circuit DI-32L-PE Figure 6.2. Block Diagram <DI-32L-PE> DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 68 & (8ch, Group 1) Transistors Control Circuits External digital Opto- coupler Output Port 2 & Transistors (8ch, Group 2) External digital Opto- coupler Output Port 3 & (8ch, Group 3) Transistors DO-32L-PE Figure 6.3. Block Diagram <DO-32L-PE> DIO-1616L-PE, DI-32L-PE, DO-32L-PE...
  • Page 69 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. [05282014] [03172006] Management No. A-51-217 [05282014_rev3] Parts No.

This manual is also suitable for:

Di-32l-peDo-32l-pe

Table of Contents