background image

 

 

 

 

 

PC-HELPER 

 

 

Bi-Directional Digital I/O 
Board for PCI Express 
Low Profile 

DIO-96D-LPE

 

User’s Guide 

 

 

 

 

 

 

 

 

 

 

 

 

CONTEC CO.,LTD.

 

 

Summary of Contents for 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: ...ng list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board DIO 96D LPE 1 First step guide 1 CD ROM 1 API PAC W32 1 Standard size bracket 1 1 The CD ROM contains the driver software and User s Guide this guide CD ROM API PAC W32 Board First step guide Standard sized bracket ...

Page 3: ... change without notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document nor for results obtained by the user as a result of using this produ...

Page 4: ...ions 6 Environment 7 Inspection 7 Storage 7 Disposal 7 2 SETUP 9 What is Setup 9 Using the Board under Windows Using the Driver Library API PAC W32 9 Using the Board under Windows Using Software Other than the Driver Library API PAC W32 9 Using the Board under an OS Other than Windows 10 Step 1 Installing the Software 11 About the driver to be used 11 Starting the Install Program 12 When Using API...

Page 5: ...ION 35 Using the On board Connectors 35 Connecting a Device to a Connector 35 Connector Pin Assignment 36 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 38 Connecting I O Signals 39 I O Circuit 39 Example Connection 1 Using PCA68PS P 40 Example Connection 2 Using DIO 68M 96F 40 Surge Protection 41 4 FUNCTION 43 Data I O Function 43 I O setup of the port 43 Data I O ...

Page 6: ...mple Programs 50 Uninstalling the Driver Libraries 52 About Software for Linux 55 Driver Software Install Procedure 55 Accessing the Help File 56 Using Sample Programs 56 Uninstalling the driver 56 6 ABOUT HARDWARE 57 For detailed technical information 57 Hardware specification 57 Block Diagram 58 Difference from DIO 96D2 LPCI 59 ...

Page 7: ...vi DIO 96D LPE ...

Page 8: ...for some inputs outputs You can use up to 96channels of the input signals as interrupt events You can use up to 96channels of the input signals as interrupt events and also disable or enable the interrupt in bit units and select the edge of signals at which to generate an interrupt This product has a digital filter function to prevent wrong recognition of input signals from carrying noise or a cha...

Page 9: ...ONTEC s Web site Linux version of digital I O driver API DIO LNX Stored on the bundled CD ROM driver library API PAC W32 The API DIO LNX is the Linux version driver software which provides device drivers modules by shared library and kernel version Various sample programs of gcc are provided Operating environment OS RedHatLinux TurboLinux For details on supported distributions refer to Help availa...

Page 10: ...equired Accessories Option Screw Terminal Unit M3 x 68P EPD 68A 1 3 Screw Terminal Unit M3 x 96P EPD 96A 2 3 Screw Terminal Unit M3 5 x 96P EPD 96 2 Terminal Unit for Cables M3 x 96P DTP 64A 2 1 PCB68PS 0 5P or PCB68PS 1 5P optional cable is required separately 2 DIO 68M 96F optional cable is required separately 3 Spring up type terminal is used to prevent terminal screws from falling off 4 If usi...

Page 11: ...nly when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original boards The warranty is not applicable if the device has been tampered with or damaged thro...

Page 12: ...struction of equipment and resources Understand the meanings of these labels to operate the equipment safely DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury WARNING WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury CAUTION CAUTION indicates a potentially hazardous si...

Page 13: ...h industrial alcohol Do not install or remove the board to or from the slot while the computer s power is turned on Otherwise the board may malfunction overheat or cause a failure Doing so could cause trouble Be sure that the personal computer or the I O expansion unit power is turned off Make sure that your PC or expansion unit can supply ample power to all the boards installed Insufficiently ene...

Page 14: ...connector of the board and its cable have been plugged correctly Check that the board has no dust or foreign matter adhering The gold plated leads of the bus connector have no stain or corrosion Storage When storing this product keep it in its original packing form 1 Put the board in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room temperature at...

Page 15: ...1 Before Using the Product 8 DIO 96D LPE ...

Page 16: ... hardware You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the Hardware Step 4 Initializing the Software Step 5 Checking Operations with the Diagnosis Program If Setup fails to be performed normally see the Setup Troubleshooting section at the end of this chapter Using t...

Page 17: ...er s guide This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 5 About Software 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 ...

Page 18: ...he conventional product version of API DIO 98 PC in the ease of use and functionality It is advisable to use API DIO WDM for you to use an digital I O device API DIO WDM will support new OS and devices in the future but will not support Windows NT 4 0 Windows 95 ISA bus Use API DIO 98 PC if your operating environment contains such an unsupported piece of software or hardware Check the following se...

Page 19: ...automatically If the panel does not appear run CD ROM drive letter AUTORUN exe 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 ...

Page 20: ...tion Usage of driver library 2 Select the Advanced Digital I O driver 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 ...

Page 21: ...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 ...

Page 22: ...Show readme file check boxes are displayed When you are installing the software or hardware for the first time 1 Uncheck Perform a hardware setup now 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 API TOOL Configuration then go to Step 4 Initializing the Software You have now finished installing...

Page 23: ...aults untouched You can change board settings later Replacing the Bracket This product is shipped with a Low Profile size bracket mounted To plug the product into a standard size slot replace the bracket with the bundled standard sized bracket The replacing method is as follows Use a flathead screwdriver or hexagonal spanner to undo and tighten the screws Standard sized bracket Remove the screws a...

Page 24: ...Setting the Board ID If you install two or more boards on one personal computer assign a different ID value to each of the boards to distinguish them The board IDs can be set from 0 Fh to identify up to sixteen boards If only one board is used the original factory setting Board ID 0 should be used Setting Procedure To set the board ID use the rotary switch on the board Turn the SW1 knob to set the...

Page 25: ...tor with your hands Otherwise the board may malfunction overheat or cause a failure If the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not install or remove the board to or from the slot while the computer s or expansion unit s power is turned on Otherwise the board may malfunction overheat or cause a failure Be sure that the personal computer power is t...

Page 26: ...es and interrupt level for the board can be allocated Before attempting to install the board first determine what PC resources are free to use The resources used by each board do not depend on the location of the PCI Express bus slot or the board itself If you remove two or more boards that have already been installed and then remount one of them on the computer it is unknown that which one of the...

Page 27: ...M which contains the setup information INF file to register the board 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 ...

Page 28: ...2 Setup DIO 96D LPE 21 You have now finished installing the hardware The name of the board you have just added is displayed DIO 96D LPE ...

Page 29: ...LPE 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 ...

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

Page 31: ...s dialog box appears only indicating that the relevant driver has not passed 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 You have now finished installing the hardware The name of the board you have just added is displayed DIO 96D LPE ...

Page 32: ...procedure described in Step 4 To change the device name follow the setting procedure shown below Setting the device name 1 Run Device Manager From My Computer Control Panel select System and then select the Device Manager tab You can also open Device Manager by right clicking on My Computer and selecting Properties 2 The installed hardware appears under the CONTEC Devices node Open the CONTEC Devi...

Page 33: ...page and then click OK The device name you set here is used later when programming 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 ...

Page 34: ...ect 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 You have now finished installing the initial setting of Software ...

Page 35: ...nosis program diagnoses the states of the board and driver software It can also be used as a simple checker when an external device is actually connected 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 ...

Page 36: ...2 Setup DIO 96D LPE 29 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 ...

Page 37: ...se of API DIO 98 PC 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 ...

Page 38: ...upt Displays the number of interrupts detected bit by bit 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 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...

Page 39: ...e 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 CAUTION Before executing diagnosis report output unplug the cable from the board 2 A diagnosis report is displayed as shown below Click on Show Diagnosis Report The name of the board yo...

Page 40: ...ollowing points Check the arguments to functions and their return values When the board is an isolated type it has a time lag for its response between the output by a function and the actual output Consider the execution intervals between functions The OS won t normally get started or detect the board Windows Vista Windows XP Server 2003 2000 Turn off the power to your PC then unplug the board Res...

Page 41: ...2 Setup 34 DIO 96D LPE ...

Page 42: ...Connector The on board interface connector CNA CNB is used when connecting this product and the external devices CNA CNB Interface Connector CNA CNB Connector used 68 pin 0 8mm pitch connector HDRA E68W1LFDT mfd by HONDA TSUSHIN KOGYO CO LTD or equivalent to it Applicable connector HDRA E68MA1 mfd by HONDA TSUSHIN KOGYO CO LTD or equivalent to it Please refer to chapter 1 for more information on t...

Page 43: ... PB4 17 51 4 PB4 2 PB4 51 17 1 PB4 3 PB5 18 52 4 PB5 2 PB3 50 16 1 PB3 3 PB6 19 53 4 PB6 2 PB2 49 15 1 PB2 3 B port 3 PB7 20 54 4 PB7 4 B port 2 PB1 48 14 1 PB1 GND 21 55 GND 2 B port 2 PB0 47 13 1 PB0 1 B port GND 22 56 GND GND 46 12 GND 3 PC0 23 57 4 PC0 GND 45 11 GND 3 PC1 24 58 4 PC1 2 PA7 44 10 1 PA7 3 PC2 25 59 4 PC2 2 PA6 43 9 1 PA6 3 C port Low 3 PC3 26 60 4 PC3 4 C port Low 2 PA5 42 8 1 P...

Page 44: ...27 GND GND A27 B27 GND 1 PB4 A26 B26 2 PB4 3 PB4 A26 B26 4 PB4 GND A25 B25 GND GND A25 B25 GND 1 PB3 A24 B24 2 PB3 3 PB3 A24 B24 4 PB3 GND A23 B23 GND GND A23 B23 GND 1 PB2 A22 B22 2 PB2 3 PB2 A22 B22 4 PB2 GND A21 B21 GND GND A21 B21 GND 1 PB1 A20 B20 2 PB1 3 PB1 A20 B20 4 PB1 GND A19 B19 GND GND A19 B19 GND 1 PB0 A18 B18 2 PB0 3 PB0 A18 B18 4 PB0 1 B port GND A17 B17 GND 2 B port 3 B port GND A1...

Page 45: ... 33 2 PB0 32 I O Logical Ports 5 2 PC7 47 2 PC6 46 2 PC5 45 2 PC4 44 2 PC3 43 2 PC2 42 2 PC1 41 2 PC0 40 I O Logical Ports6 3 PA7 55 3 PA6 54 3 PA5 53 3 PA4 52 3 PA3 51 3 PA2 50 3 PA1 49 3 PA0 48 I O Logical Ports 7 3 PB7 63 3 PB6 62 3 PB5 61 3 PB4 60 3 PB3 59 3 PB2 58 3 PB1 57 3 PB0 56 I O Logical Ports 8 3 PC7 71 3 PC6 70 3 PC5 69 3 PC4 68 3 PC3 67 3 PC2 66 3 PC1 65 3 PC0 64 I O Logical Ports 9 ...

Page 46: ...s and positive logic I O Circuit GND GND INPUT OUTPUT 74LV245A 33Ω External circuit Board Figure 3 4 I O Circuit CAUTION 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 3 3V power supply The inputs support input of TTL level 5VDC signals ...

Page 47: ... External circuit Figure 3 5 Connection Example Using 1 PA0 for Input and 2 PA0 for Output Using PCA68PS P Example Connection 2 Using DIO 68M 96F 96 pin connector side Cable Signal source GND 33Ω 3 3V 10kΩ External circuit 1 PA0 A02 pin GND A01 pin Input Output Target Cable 33Ω 3 3V GND 6 8kΩ External circuit 2 PA0 B02 pin GND B01 pin 74LV245A or equivalent 96 pin connector side 74LV245A or equiva...

Page 48: ... the transistor performance may be degraded or the transistor may be damaged To prevent this be sure to connect a surge absorption element when driving an inductive load including a relay coil Examples of measures against voltage surge are shown in Figure 3 7 below 5V 5V 5V 5V Examples of use of relay coil Examples of use of lump Diode Relay coil External power voltage Zener diode voltage Zener di...

Page 49: ...3 External Connection 42 DIO 96D LPE ...

Page 50: ...ble of input output of up to 96 LVTTL level active high signals I O setup of the port 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 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 CAU...

Page 51: ... 1 0 0 0 0 0 0 1 81 OUTPUT OUTPUT OUTPUT INPUT 1 0 0 0 0 0 1 0 82 OUTPUT OUTPUT INPUT OUTPUT 1 0 0 0 0 0 1 1 83 OUTPUT OUTPUT INPUT INPUT 1 0 0 0 1 0 0 0 88 OUTPUT INPUT OUTPUT OUTPUT 1 0 0 0 1 0 0 1 89 OUTPUT INPUT OUTPUT INPUT 1 0 0 0 1 0 1 0 8A OUTPUT INPUT INPUT OUTPUT 1 0 0 0 1 0 1 1 8B OUTPUT INPUT INPUT INPUT 1 0 0 1 0 0 0 0 90 INPUT OUTPUT OUTPUT OUTPUT 1 0 0 1 0 0 0 1 91 INPUT OUTPUT OUTP...

Page 52: ...put data is low level 0 is input to the corresponding bit 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 ...

Page 53: ...en the power is turned on Figure 4 4 shows the relationships between digital filter time settings and the actual digital filter times Digital Filter Time sec 2n 8 x 106 n setting data 0 20 Setting Data n Digital Filter Time Setting Data n Digital Filter Time Setting Data n Digital Filter Time 0 00h The filter function is not used 7 07h 16μsec 14 0Eh 2 048msec 1 01h 0 25μsec 8 08h 32μsec 15 0Fh 4 0...

Page 54: ...ate an interrupt The input signal edge selection bit can be used to set the input logic for interruption bit by bit If you set an input signal edge selection bit to 0 an interrupt occurs when the input value to the corresponding bit changes from 0 to 1 at the fall of the input signal from High to Low If you set an input signal edge selection bit to 1 an interrupt occurs when the input value to the...

Page 55: ...4 Function 48 DIO 96D LPE ...

Page 56: ...l Version information on each API TOOL English APIPAC Each installer AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF Each INF file for OS 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 ...

Page 57: ...to display help information 3 Using the API DIO 98 PC from the Start Menu select Programs CONTEC API PAC W32 Dio API DIO HELP to display help information Using Sample Programs Sample programs have been prepared for specific basic applications For the API DIO WDM The sample programs are stored in Program Files CONTEC API PAC W32 DIOWDM Sample For the API DIO 98 PC The sample programs are stored in ...

Page 58: ...ample program 3 Inputs outputs digital data from to a programmable board Sample program 4 Inputs digital data from a specified port in the background Sample program 5 Inputs outputs digital data from to a specified bit Sample program 6 Services interrupts of a specified board Sample program 7 Provides process control of a specified board Sample program 8 Performs trigger monitoring of a specified ...

Page 59: ...ect System and then select the 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 From the popup menu select Uninstall 3 A dialog box opens asking you to...

Page 60: ...VerX XX and then click Uninstall contains the driver category name AIO CNT DIO SMC etc Uninstall procedure for Windows XP and Windows 2003 Server Uninstall the device driver Use My Computer Control Panel Add and Remove Programs to uninstall the device driver In case of API WDM select Windows driver package CONTEC and then click Change Remove In case of API 98 PC select CONTEC API 98 PC xx VerX XX ...

Page 61: ... Programs to uninstall the development environment 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: ...e Linux version for digital I O driver API DIO LNX is supplied as a compressed file linux dio cdioXXX tgz on the bundled API PAC W32 CD ROM Note XXX represents the driver version Mount the CD ROM as shown below copy the file to an arbitrary directory and decompress the file to install the driver For details on using the driver refer to readme txt and the help file in HTML format extracted by insta...

Page 63: ...ple Programs Sample programs have been prepared for specific basic applications 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 ...

Page 64: ...pt signal INT An interrupt is generated at the falling edge HIGH to LOW transition or rising edge LOW to HIGH transition Response time 200nsec within Rated output current IOL 8mA Max IOH 8mA Max Common I O address Any 32 byte boundary Common to I O part Power consumption Max 3 3VDC 300mA Operating condition 0 50 C 10 90 RH No condensation Allowable distance of signal extension Approx 1 5m dependin...

Page 65: ... B port 8 points 3 C port High 4 points 3 C port Low 4 points 4 A port 8 points 4 B port 8 points 4 C port High 4 points 4 C port Low 4 points Interrupt control LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL...

Page 66: ...me operating procedures as DIO 96D2 LPCI There are some differences in specifications as shown below DIO 96D2 LPCI DIO 96D LPE I O Unisolated TTL level I O Positive logic Unisolated LVTTL level I O Positive logic Rated output current IOL 24mA Max IOH 15mA Max IOL 8mA Max IOH 8mA Max Power consumption 5VDC 950mA Max 3 3VDC 300mA Max Bus specification 32 bit 33MHz Universal key shapes supported The ...

Page 67: ...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 ...

Reviews: