Digital i/o board with opto-isolation for pci, digital input board with opto-isolation for pci, digital output board with opto-isolation for pci (71 pages)
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-48D-LPE] …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.
Selecting the Digital I/O Driver ....................12 Executing the Installation ......................13 Step 2 Setting the Hardware ......................14 Replacing the Bracket........................ 14 Parts of the Board and Factory Defaults ................... 15 Setting the Board ID ........................15 Plugging the Board ........................16 DIO-48D-LPE...
Page 5
Data I/O............................35 Digital Filter............................36 Digital Filter Function Principle....................36 Set Digital Filter Time ....................... 36 Interrupt Control Function........................ 37 Disabling/Enabling Interrupts....................37 Selecting the Interrupt Edge ...................... 37 Clearing the Interrupt Status and Interrupt Signal ..............37 DIO-48D-LPE...
Page 6
About Software for Linux......................... 44 Driver Software Install Procedure ..................... 44 Accessing the Help File ......................45 Using Sample Programs ......................45 Uninstalling the driver ....................... 45 ABOUT HARDWARE For detailed technical information ....................47 Hardware specification ........................47 Block Diagram..........................48 DIO-48D-LPE...
Equipped with the same function as the PCI board PIO-48D(PCI), PIO-48D(LPCI)H and the CardBus PIO-48D(CB)H The signal assignment for the connector when the DIO-68M/96F cable is used is compatible with that for the connector when the PCB96P-** series and the PCB96PS-**P series option cable on the PIO-48D(PCI) is used. DIO-48D-LPE...
This driver is used to control CONTEC digital I/O boards (cards) from within Linux. You can control CONTEC I/O boards easily using the shared library called from the user application, the device driver (module) for kernel version, and the board (card) configuration program (config).
: PCA68PS-0.5P (0.5m) : PCA68PS-1.5P (1.5m) Accessories (Option) Terminal Unit for Relay Terminal Banks : EPD-96 *1 Screw Terminal : DTP-64(PC) *1 *1 DIO-68M/96F optional cable is required separately. * Check the CONTEC’s Web site for more information on these options. DIO-48D-LPE...
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-48D-LPE...
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-48D-LPE...
Page 15
1. Before Using the Product DIO-48D-LPE...
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-48D-LPE...
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-48D-LPE...
(2) The API-PAC(W32) Installer window appears automatically. If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows XP, 2000, log in as a user with administrator privileges. DIO-48D-LPE...
2. Setup Selecting the Digital I/O Driver (1) The following dialog box appears to select “Driver Type” and “Install Type”. (2) Select “Digital I/O API-DIO(98/PC)”. (3) Select “Driver, Help, etc… (Full install)”. (4) Click on the [Install] button. DIO-48D-LPE...
2) Click on the [Finish] button. Go to Step 2 to set and plug the hardware. *When the hardware has already been installed: Check “Perform a hardware setup now”, then go to Step 4 “Initializing the Software”. You have now finished installing the software. DIO-48D-LPE...
The replacing method is as follows : Standard size bracket - Remove the screws and replace it with the Standard size 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-48D-LPE...
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-48D-LPE...
Doing so could cause trouble. 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-48D-LPE...
Setting with the Found New Hardware Wizard (1) First, “PCI Standard PCI to PCI Bridge” will be checked and end automatically. (2) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location[Advanced]”, then click on the [Next] button. DIO-48D-LPE...
Page 25
(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-48D-LPE Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows XP, 2000 \INF\Win2000\Dio\PCI...
Page 26
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-48D-LPE You have now finished installing the software. DIO-48D-LPE...
The Driver library requires the initial setting to recognize the execution environment. It is called the initialization of the Driver library. Invoking API-TOOL Configuration (1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32)” – “API-TOOL Configuration”. (2) API-TOOL Configuration detects the hardware automatically.
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 test the input/output and check the execution environment. To connect the external device, see Chapter 3 “External Connection”. DIO-48D-LPE...
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-48D-LPE DIO-48D-LPE...
Page 30
* The name of the board you have just added is displayed. - DIO-48D-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 31
Before executing diagnosis report output, unplug the cable from the board. * The name of the board you have just added is displayed. - DIO-48D-LPE Click on [Show Diagnosis Report]. (2) A diagnosis report is displayed as shown below. * The name of the board you have just added is displayed.
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-48D-LPE...
[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-48D-LPE...
Take care not to short the outputs to digital ground as this may cause a fault. If connecting pull-up resistors to the outputs, use a resistor of approximately 10kΩ and pull-up to the 5V power supply, or use a resistor of approximately 4.7kΩ and pull-up to the 3.3V power supply. DIO-48D-LPE...
The I/O function of the port must be set properly before the board can input/output data correctly. Writing a control word sets each port for either input or output. 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-48D-LPE...
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-48D-LPE...
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-48D-LPE...
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-48D-LPE...
Reference”, “Sample Programs”, and “FAQs”. Use them for program development and troubleshooting. Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Dio” – “API-DIO HELP” to display help information. DIO-48D-LPE...
The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\Dio\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Dio” – “SAMPLE…”. (3) A sample program is invoked. DIO-48D-LPE...
Page 49
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. [Sample program 1] [Sample program 2] [Sample program 5] [Sample program 9] DIO-48D-LPE...
(1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Settings” - “Control Panel”. (2) Double-click on “Add/Remove Programs” in the Control Panel. (3) Select “CONTEC API-DIO(98/PC)xx” from the application list displayed, then click on the [Change/Remove] button. Follow the on-screen instructions to uninstall the function libraries. DIO-48D-LPE...
# 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-48D-LPE...
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.
1-C port (Low) Control transceiver (4 points) circuit LVTTL 2-A port transceiver (8 points) LVTTL 2-B port transceiver (8 points) 2-C port (High) LVTTL Interrupt (4 points) transceiver control LVTTL 2-C port (Low) transceiver (4 points) DIO-48D-LPE Figure 6.1. Block Diagram DIO-48D-LPE...
Page 56
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. [05252006] [03172006] Management No. A-51-211 [05252006_rev2] Parts No. LYFY701...
Need help?
Do you have a question about the DIO-48D-LPE and is the answer not in the manual?
Questions and answers