Digital i/o unit with high voltage isolation for usb (47 pages)
Summary of Contents for Contec DI-128L-PE
Page 1
PC-HELPER Digital I/O Board with Opto-Isolation for PCI Express, DIO-6464L-PE Digital Input Board with Opto-Isolation DI-128L-PE Digital Output Board with Opto-Isolation DO-128L-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-6464L-PE, DI-128L-PE or DO-128L-PE]…1...
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.
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 Step 3 Installing the Hardware ......................19 DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 5
Set Digital Filter Time....................... 54 Interrupt Control Function........................ 55 Disabling/enabling Interrupts ....................55 Selecting the Edge of input signals, at which to generate an interrupt........55 Clearing the Interrupt Status and Interrupt Signal ..............55 ABOUT SOFTWARE DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 6
About Software for Linux ........................ 61 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..........................67 DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
(surge voltage protection and overcurrent protection). DI-128L-PE features 128 Optocoupler isolated inputs. You can use 16 input signals as interrupt inputs. In addition, the digital filter function to prevent wrong recognition of input signals is provided.
Page 9
This product has a digital filter to prevent wrong recognition of input signals from carrying noise or a chattering. (For DIO-6464L-PE, DI-128L-PE only) This product has a digital filter to prevent wrong recognition of input signals from carrying noise or a chattering.
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)
You will also require sufficient terminal blocks for the number of I/O points you are using. *6 “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-6464L-PE, DI-128L-PE, DO-128L-PE...
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.
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-6464L-PE, DI-128L-PE, DO-128L-PE...
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.
(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-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-PE...
(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-6464L-PE, DI-128L-PE, DO-128L-PE...
(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-6464L-PE, DI-128L-PE, DO-128L-PE...
(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-6464L-PE, DI-128L-PE, DO-128L-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-6464L-PE, DI-128L-PE, DO-128L-PE...
Figure 2.1. shows the names of major parts on the board. Note that the switch setting shown below is the factory default. DIO/DI/DO-xx-PE BOARD ID - Board ID setting switch (SW1) BOARD ID - Interface connector (CNA, CNB) Figure 2.1. Component Locations DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-PE...
Be sure that the personal computer or the I/O extension unit 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-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-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-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 28
2. Setup * The name of the board you have just added is displayed. - DIO-6464L-PE, - DI-128L-PE, - DO-128L-PE You have now finished installing the hardware. DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 30
- DO-128L-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-6464L-PE, DI-128L-PE, DO-128L-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-6464L-PE, - DI-128L-PE, - DO-128L-PE You have now finished installing the hardware. DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
- DIO-6464L-PE, - DI-128L-PE, - DO-128L-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-6464L-PE, DI-128L-PE, DO-128L-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-6464L-PE, DI-128L-PE, DO-128L-PE...
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.
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-6464L-PE, DI-128L-PE, DO-128L-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-6464L-PE, - DI-128L-PE, - DO-128L-PE DIO-6464L-PE, DI-128L-PE, DO-128L-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-6464L-PE, DI-128L-PE, DO-128L-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.
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-6464L-PE, DI-128L-PE, DO-128L-PE...
TSUSHIN KOGYO CO., LTD.] or equivalent to it Applicable connector HDRA-E100MA1 [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 (CNA, CNB) Shape DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
+8/+9 Common Common output output N-C/D N-8/9 P-2/3 P-6/7 plus pin plus pin ports ports for +2/+3 for +6/+7 N-C/D N-8/9 P-2/3 P-6/7 input ports input ports * I-00 - I-17 can be used as interrupt signal. DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 44
0.3A. Please connect necessary number of pins for the corresponding total current of the output 16 channels. When 16 channels are used by the output full ratings (100mA per 1 channel), it is necessary to connect six all. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CNA, CNB) < DIO-6464L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 45
P-0/1 - P-E/F Connect the positive side of the external power supply. These pins are common to 16 channels input signal. N.C. This pin is left unconnected. Figure 3.3. Pin Assignments of Interface Connector (CNA, CNB) < DI-128L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 46
0.3A. Please connect necessary number of pins for the corresponding total current of the output 16 channels. When 16 channels are used by the output full ratings (100mA per 1 channel), it is necessary to connect six all. N.C. This pin is left unconnected. Figure 3.4. Pin Assignments of Interface Connector (CNA, CNB) < DO-128L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 52
Common Common minus minus pin minus pin minus pin N-C/D N-E/F N-4/5 N-6/7 for +C/+D for +E/+F for +4/+5 +E/+F output ports output ports output ports output ports Figure 3.10. Pin Assignments of PCB100WS < DO-128L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 55
Note: O-xx represents outputput signals of CNA, CNB, respectively, where [xx] indicates a logical bit. 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-6464L-PE, DI-128L-PE, DO-128L-PE...
Figure 3.11. Input Circuit < DIO-6464L-PE >, < DI-128L-PE > The < DIO-6464L-PE >, < DI-128L-PE > input circuit of interface is illustrated in Figure 3.11. The signal inputs are isolated by Optocoupler (ready to accept current sinking output signals). The board therefore requires an external power supply to drive the inputs.
If this is the case, turn of the power to the PC and the external power supply and wait for a few minutes, then turn them on back. CAUTION When the PC is turned on, all output are reset to OFF. DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Power Supply 12 - 24 VDC Input Board Common plus for output 2kΩ Output TTL Level Input Common Minnus for output Figure 3.15. Connection Example of Output and TTL level Input Signal < DIO-6464L-PE >, < DO-128L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
12 - 24 VDC Output Board Input Board Common plus for input Common plus for output Output(Sink Type) Input(Sink Output Support) Common Minnus for output Figure 3.16. Example of Connecting the Sink Type Output and Sink Output Support Input DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
When the PC is turned on, all output are reset to 0 (OFF) Monitoring Output Data The < DIO-6464L-PE >, < DO-128L-PE > can read the state of the data currently being output without affecting the output data. DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
4. Function Digital Filter Function Using this feature, the < DIO-6464L-PE > and < DI-128L-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 The digital filter checks the input signal level during the sampling time of the clock signal.
4. Function Interrupt Control Function Up to 16 channels of the inputs on the < DIO-6464L-PE > and < DI-128L-PE > can be used as interrupt request signals. The inputs I-00 - I-17 can be used as interrupt request signals.
Page 63
4. Function DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
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 66
-Sample program 10 Executes digital input/output (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-6464L-PE, DI-128L-PE, DO-128L-PE...
(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.
# 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-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE, DI-128L-PE, DO-128L-PE...
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-6464L-PE Table 6.1.
Page 71
*1 Data "0" corresponds at the High level and data "1" correspond at the Low level. Board Dimensions 169.33(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-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 72
6. About Hardware DI-128L-PE Table 6.2. Specification < DI-128L-PE > Item Specification Input Input format Optocoupler isolated input (Compatible with current sink output)(Negative logic *1) Number of input 128 channels (16 channels available for interrupts) (1 common per 16 channels unit)
Page 73
*1 Data "0" corresponds at the High level and data "1" correspond at the Low level. Board Dimensions 169.33(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-6464L-PE, DI-128L-PE, DO-128L-PE...
Interrupt (8 channels, groupC) Control Circuit External digital output port5 (8 channels, groupD) External digital output port6 (8 channels, groupE) External digital output port7 (8 channels, groupF) DIO-6464L-PE Figure 6.1. Block Diagram < DIO-6464L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 75
Control Circuit (8 channels, groupC) External digital input port D (8 channels, groupD) External digital input port E (8 channels, groupE) External digital input port F (8 channels, groupF) DI-128L-PE Figure 6.2. Block Diagram < DI-128L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 76
C (8 channels, groupC) External digital output port D (8 channels, groupD) External digital output port E (8 channels, groupE) External digital output port F (8 channels, groupF) DO-128L-PE Figure 6.3. Block Diagram < DO-128L-PE > DIO-6464L-PE, DI-128L-PE, DO-128L-PE...
Page 77
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. [01062009] [10232006] Management No. A-51-324 [01062009_rev3] Parts No.
Need help?
Do you have a question about the DI-128L-PE and is the answer not in the manual?
Questions and answers