Contec DI-128L-PE User Manual Download Page 17

2. Setup 

 

 

 

10

 

DIO-6464L-PE, DI-128L-PE, DO-128L-PE

 

Using the Board under an OS Other than Windows 

For using the board under Linux, see the following parts of this manual. 

 

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 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 

 

 

Summary of Contents for DI-128L-PE

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

Page 2: ...he 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...

Page 3: ...ct to 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 not...

Page 4: ...ng Precautions 7 Environment 8 Inspection 8 Storage 8 Disposal 8 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 Soft...

Page 5: ...Assignment 36 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 46 Connecting Input Signals 49 Input Circuit 49 Connecting to the Switch 49 Connecting Output Signals 50 O...

Page 6: ...File 58 Using Sample Programs 58 Uninstalling the Driver Libraries 60 About Software for Linux 61 Driver Software Install Procedure 61 Accessing the Help File 62 Using Sample Programs 62 Uninstalling...

Page 7: ...vi DIO 6464L PE DI 128L PE DO 128L PE...

Page 8: ...inputs compatible with current sink output and Optocoupler isolated open collector outputs current sink type DIO 6464L PE has the 64 channels of Optocoupler isolated input compatible with current sin...

Page 9: ...ge protection and poly switches for overcurrent protection DIO 6464L PE DO 128L PE only Zener diodes are connected to the output circuits to protect against surge voltages Similarly polyswitches are f...

Page 10: ...ease visit the CONTEC 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 prov...

Page 11: ...inal Unit for Cables M2 5 x 96P DTP 64 PC 2 4 Connector Conversion Board 96 Pin 37 Pin x 2 CCB 96 2 4 Signal Monitor Output Accessory for Digital I O 64P CM 64 PC E 2 4 Screw Terminal Unit M3 x 37P EP...

Page 12: ...charge only 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 pur...

Page 13: ...and the destruction 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 w...

Page 14: ...hile the computer s power is turned on And also do not connect the product and external device while the power is turned on Otherwise the product may malfunction overheat or cause a failure Be sure th...

Page 15: ...us 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 St...

Page 16: ...the software and 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 Instal...

Page 17: ...ng parts of this manual 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 other than Windows and...

Page 18: ...improve the 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...

Page 19: ...dow 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 When using the Windows Vista driver is aut...

Page 20: ...nstall option 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...

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

Page 22: ...ation and 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...

Page 23: ...extension slot The board can be set up even with the factory defaults untouched You can change board settings later Parts of the Board and Factory Defaults Figure 2 1 shows the names of major parts on...

Page 24: ...h them The board IDs can be set from 0 to 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...

Page 25: ...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 boar...

Page 26: ...O addresses 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...

Page 27: ...n the CD ROM 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 th...

Page 28: ...2 Setup DIO 6464L PE DI 128L PE DO 128L PE 21 You have now finished installing the hardware The name of the board you have just added is displayed DIO 6464L PE DI 128L PE DO 128L PE...

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

Page 30: ...r 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 fold...

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

Page 32: ...ing 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...

Page 33: ...ttings tab 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 sur...

Page 34: ...nu 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 re...

Page 35: ...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 For this board prepare an external power supply...

Page 36: ...DIO 6464L PE DI 128L PE DO 128L PE 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 p...

Page 37: ...e 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 na...

Page 38: ...pt 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 DioWaitE...

Page 39: ...hich 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 o...

Page 40: ...ention to the following 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 a...

Page 41: ...2 Setup 34 DIO 6464L PE DI 128L PE DO 128L PE...

Page 42: ...ect the connectors Connector shape The on board interface connector CNA CNB is used when connecting this product and the external devices Connector used HDRA E100W1LFDT1EC SL mfd by HONDA TSUSHIN KOGY...

Page 43: ...A B output ports Common plus pin for 0 1 input ports P 0 1 24 74 P 4 5 Common plus pin for 4 5 input ports N C 76 26 N C N C 25 75 N C N C 75 25 N C N C 26 76 N C P C D 74 24 P 8 9 N C 27 77 N C Comm...

Page 44: ...ect the positive side of the external power supply These pins are common to 16 channels output signal N 8 9 N E F Connect the negative side of the external power supply These pins are common to 16 cha...

Page 45: ...24 P 8 9 N C 27 77 N C Common plus pin for C D input ports P C D 73 23 P 8 9 Common plus pin for 8 9 input ports N C 28 78 N C I D7 72 22 I 97 N C 29 79 N C I D6 71 21 I 96 N C 30 80 N C I D5 70 20 I...

Page 46: ...7 O D6 71 21 O 96 N 2 3 30 80 N 6 7 O D5 70 20 O 95 N 2 3 31 81 N 6 7 O D4 69 19 O 94 Common minus pin for 2 3 output ports N 2 3 32 82 N 6 7 Common minus pin for 6 7 output ports O D3 68 18 O 93 O 20...

Page 47: ...21 A21 N C N C B21 A21 N C N C B22 A22 N C N C B22 A22 N C N C B23 A23 N C N C B23 A23 N C N C B24 A24 N C N C B24 A24 N C N C B25 A25 N C N C B25 A25 N C N C B26 A26 N C N C B26 A26 N C N C B27 A27 N...

Page 48: ...CNB 20 N A B Common minus pin for A B output ports N C 1 19 37 20 1 CNA of PCB100WS connecting to the board CNA 20 N C N C 19 N C 19 Common plus pin for C D output ports P C D 18 37 P E F Common plus...

Page 49: ...C B23 A23 N C N C B23 A23 N C N C B24 A24 N C N C B24 A24 N C N C B25 A25 N C N C B25 A25 N C N C B26 A26 N C N C B26 A26 N C N C B27 A27 N C N C B27 A27 N C N C B28 A28 N C N C B28 A28 N C N C B29 A2...

Page 50: ...CNA of PCB100WS connecting to the board CNB 20 N C N C 1 19 37 20 1 CNA of PCB100WS connecting to the board CNA 20 N C N C 19 N C 19 Common plus pin for C D input ports P C D 18 37 P E F Common plus...

Page 51: ...3 N C N C B24 A24 N C N C B24 A24 N C N C B25 A25 N C N C B25 A25 N C N C B26 A26 N C N C B26 A26 N C N C B27 A27 N C N C B27 A27 N C Unconnected N C B28 A28 N C Unconnected Unconnected N C B28 A28 N...

Page 52: ...ut ports N 0 1 1 19 37 20 1 CNA of PCB100WS connecting to the board CNA 20 N 2 3 Common minus pin for A B output ports N C 19 N C 19 Common plus pin for C D output ports P C D 18 37 P E F Common plus...

Page 53: ...cal port 5 I 57 47 I 56 46 I 55 45 I 54 44 I 53 43 I 52 42 I 51 41 I 50 40 Input logical port 6 I 67 55 I 66 54 I 65 53 I 64 52 I 63 51 I 62 50 I 61 49 I 60 48 Input logical port 7 I 77 63 I 76 62 I 7...

Page 54: ...I 63 51 I 62 50 I 61 49 I 60 48 Input logical port 7 I 77 63 I 76 62 I 75 61 I 74 60 I 73 59 I 72 58 I 71 57 I 70 56 Input logical port 8 I 87 71 I 86 70 I 85 69 I 84 68 I 83 67 I 82 66 I 81 65 I 80 6...

Page 55: ...Output logical port 8 O 87 71 O 86 70 O 85 69 O 84 68 O 83 67 O 82 66 O 81 65 O 80 64 Output logical port 9 O 97 79 O 96 78 O 95 77 O 94 76 O 93 75 O 92 74 O 91 73 O 90 72 Output logical port 10 O A7...

Page 56: ...shows input pins 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 r...

Page 57: ...er isolated open collector output current sink type Driving the output section requires an external power supply The rated output current per channel is 100mA at maximum The output section can also be...

Page 58: ...to a relevant bit the corresponding LED comes on When 0 is output to the bit in contrast the LED goes out Figure 3 14 An Example to use Output O 80 DIO 6464L PE DO 128L PE Example of Connection to TTL...

Page 59: ...output board and a sink output support input input board Refer to this connection example when you connect such boards to each other Output Sink Type Input Sink Output Support External Power Supply 1...

Page 60: ...en input data is ON 1 is input to the relevant bit When the input data is OFF in contrast 0 is input to the relevant bit Data Output When 1 is output to the relevant bit the corresponding transistor i...

Page 61: ...Set the digital filter time to 0 20 14h Setting the digital filter time to 0 disables digital filtering It is set to 0 when the power is turned on Figure 4 2 shows the relationships between digital fi...

Page 62: ...on Selecting the Edge of input signals at which to generate 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...

Page 63: ...4 Function 56 DIO 6464L PE DI 128L PE DO 128L PE...

Page 64: ...Readmeu html 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 drive...

Page 65: ...WDM HELP 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 program...

Page 66: ...ified port Sample 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 digita...

Page 67: ...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 For use of API...

Page 68: ...ocedure The 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 C...

Page 69: ...sing Sample 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...

Page 70: ...64 channels 16 channels available for interrupts 1 common per 16 channels unit Input resistance 4 7k Input ON current 2 0mA or more Input OFF current 0 16mA or less Interrupt 16 interrupt input signa...

Page 71: ...power supply 12 24VDC 10 Power consumption Max 3 3VDC 600mA Operating condition 0 50 C 10 90 RH No condensation Bus specification PCI Express Base Specification Rev 1 0a x1 Dimension mm 169 33 L x 11...

Page 72: ...Within 200 sec Common Allowable distance of signal extension Approx 50m depending on wiring environment I O address Any 32 byte boundary Interruption level 1 level use Max board count for connection 1...

Page 73: ...extension Approx 50m depending on wiring environment I O address Any 32 byte boundary Interruption level Not used Max board count for connection 16 boards including the master board Isolated Power 250...

Page 74: ...els group4 External digital input port5 8 channels group5 External digital input port6 8 channels group6 External digital input port7 8ch group7 External digital output port0 8 channels group8 Externa...

Page 75: ...nnels group4 External digital input port5 8 channels group5 External digital input port6 8 channels group6 External digital input port7 8 channels group7 External digital input port8 8 channels group8...

Page 76: ...l digital output port6 8 channels group6 External digital output port7 8 channels group7 External digital output port8 8 channels group8 External digital output port9 8 channels group9 External digita...

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

Reviews: