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-1616TB-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 Selecting Power Supply ......................... 18 Plugging the Board......................... 19 DIO-1616TB-PE...
Page 5
Data I/O Function ..........................43 Data Input ............................43 Data Output.............................43 Monitoring Output Data .........................43 Digital Filter............................44 Digital Filter Function Principle ....................44 Set Digital Filter Time........................44 Interrupt Control Function........................45 Disabling/enabling Interrupts......................45 Selecting the Interrupt Edge......................45 Clearing the Interrupt Status and Interrupt Signal ................46 DIO-1616TB-PE...
Page 6
About Software for Linux ........................51 Driver Software Install Procedure ....................51 Accessing the Help File ......................... 52 Using Sample Programs......................... 52 Uninstalling the driver ........................52 ABOUT HARDWARE For detailed technical information......................53 Hardware specification ......................... 54 Specification........................... 54 Block Diagram............................55 DIO-1616TB-PE...
Functions and connectors are compatible with PCI compatible board PIO-16/16TB(PCI)H. The functions same with PCI compatible board PIO-16/16TB(PCI)H 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. DIO-1616TB-PE...
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 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-1616TB-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-1616TB-PE...
Page 15
1. Before Using the Product DIO-1616TB-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-1616TB-PE...
Chapter 5 About Software 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-1616TB-PE...
ISA Bus 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-1616TB-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-1616TB-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-1616TB-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-1616TB-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-1616TB-PE...
Figure 2.1. shows the names of major parts on the board. Note that the switch setting shown below is the factory default. - Power supply setting jumper (JP2 - JP5) JP2 - 5 BOARD ID DIO-1616TB-PE - Board ID setting switch (SW1) BOARD ID - Interface connector (CN1) Figure 2.1.
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.2. Board ID Settings (SW1) DIO-1616TB-PE...
Use external power Use internal power * +0 port (input) +1 port (input) +2 port (output) +3 port (output) * Factory setting Notes : These jumpers must be set in pairs. Figure 2.3. Power supply setting for driving the opto-coupler DIO-1616TB-PE...
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 extension unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure. DIO-1616TB-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-1616TB-PE...
Page 28
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-1616TB-PE...
Page 29
2. Setup * The name of the board you have just added is displayed. - DIO-1616TB-PE You have now finished installing the hardware. DIO-1616TB-PE...
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-1616TB-PE...
Page 31
(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-1616TB-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...
Page 32
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-1616TB-PE You have now finished installing the hardware. DIO-1616TB-PE...
- DIO-1616TB-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-1616TB-PE...
Page 34
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-1616TB-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 1 0 Board GROUP 3 GROUP 2 7 6 5 4 3 2 1 0 6 5 4 3 2 1 0 POWER Option cable PCB37PS-xx To connect a device other than the Check Mate, see Chapter 3 “External Connection”. DIO-1616TB-PE...
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-1616TB-PE...
Page 38
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-1616TB-PE DIO-1616TB-PE...
Page 39
* The name of the board you have just added is displayed. - DIO-1616TB-PE 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 40
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.
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-1616TB-PE...
- Applicable connector 17JE-23370-02(D8C)-CG [mfd by DDK, M(male)type] FDCD-37P(55) [mfd by HIROSE, M(male)type] DC-37P-NR [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-1616TB-PE...
When using the internal power supply, output GND. When using the external power supply, connect these pins to the negative side. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CN1) DIO-1616TB-PE...
Notes : I-xx and O-xx represents the I/O signals. [xx] represents the 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-1616TB-PE...
5VDC power supply to drive the input section of this product. When using the external power supply, 4.5mA current is requested each channel. CAUTION Please refer to “Selecting Power Supply” and then connect the jumper in accordance with the power supply to be used. DIO-1616TB-PE...
I-00 (CN1 : 2 pin) Switch GND (CN1 : 1 pin) When the switch is ON, the corresponding bit contains 1. When the switch is OFF, by contrast, the bit contains 0. Figure 3.4. An Example to use Input I-00 DIO-1616TB-PE...
PC is off or before the PC is turned on. Please refer to “Selecting Power Supply” and then connect the jumper in accordance with the power supply to be used. DIO-1616TB-PE...
O-20 (CN1 : 21 pin) 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.6. An Example to use Output O-20 DIO-1616TB-PE...
Output pin Dark-lighting Surge current bypass registor prevention registor 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-1616TB-PE...
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 This product can read the state of the data currently being output without affecting the output data. DIO-1616TB-PE...
When the power is turned on, all of the interrupt edge select bits are set to 0 so that an interrupt occurs when the input value changes from 0 to 1 (at the fall of the input signal from High to Low). DIO-1616TB-PE...
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-1616TB-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 56
-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-1616TB-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.
# 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...
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-1616TB-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. DIO-1616TB-PE...
When using the internal power supply, the input section consumes a maximum of 51mA and the output channel switching section consumes a maximum of 105.6mA. In this case, therefore, the output current to be supplied from the board is 443.4mA. DIO-1616TB-PE...
Opto- digital input port 1 coupler (8ch, Group 1) Control Circuits External Opto- digital output port 0 coupler (8ch, Group 2) External Opto- digital output port 1 coupler (8ch, Group 3) Interrupt Control Circuit DIO-1616TB-PE Figure 6.1. Block Diagram DIO-1616TB-PE...
Page 63
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. [02012007] [02012007] Management No. A-51-385 Parts No. LYHB891...
Need help?
Do you have a question about the DIO-1616TB-PE and is the answer not in the manual?
Questions and answers