background image

2. Setup

                                                                                                                                                   

12

DIO-1616T-LPE

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-1616T-LPE

Страница 1: ...PC HELPER Digital I O Board for PCI Express Low Profile DIO 1616T LPE User s Guide CONTEC CO LTD ...

Страница 2: ... list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board DIO 1616T LPE 1 First step guide 1 CD ROM 1 API PAC W32 1 Standard sized bracket 1 1 The CD ROM contains the driver software and User s Guide this guide CD ROM COM Setup Disk Standard size bracket Board First step guide ...

Страница 3: ... 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 notify CONTEC CO LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using this pro...

Страница 4: ...ng Precautions 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 Starting the Install Program 11 Selecting the Digital I O Driver 12...

Страница 5: ...CONNECTION 27 How to connect the connectors 27 Connector shape 27 Connector Pin Assignment 28 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 29 Connecting Input Signals 30 Input Circuit 30 Connecting a Switch 30 Output Circuit 31 Output Circuit 31 Connection to the LED 31 4 FUNCTION 33 Data I O Function 33 Data Input 33 Data Output 33 Monitoring Output Data 33 Digit...

Страница 6: ... File 38 Using Sample Programs 39 Uninstalling the Driver Libraries 41 About Software for Linux 42 Driver Software Install Procedure 42 Accessing the Help File 43 Using Sample Programs 43 Uninstalling the driver 43 6 ABOUT HARDWARE 45 For detailed technical information 45 Hardware specification 45 Block Diagram 47 ...

Страница 7: ...vi DIO 1616T LPE ...

Страница 8: ...orite programming language supporting Win32 API functions such as Visual Basic or Visual C Features Unisolated TTL level input x 16 channels Unisolated open collector output x 16 channels Unisolated TTL level positive logic input output enabling fast response within 200nsec You can use all of the input signals as interrupt inputs You can also disable or enable the interrupt in bit units and select...

Страница 9: ...Visual Basic Delphi C Builder etc Linux version of digital I O driver API DIO LNX Supplied Stored on the API PAC W32 CD ROM 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 CONT...

Страница 10: ... M3 terminal block 50 points EPD 50A 1 Screw Terminal Unit M3 terminal block 37 points EPD 37A 2 Screw Terminal Unit M3 5 terminal block 37 points EPD 37 2 General Purpose Terminal DTP 3A 3 Termination Panel M3 DTP 3 PC 3 Screw Terminal DTP 4A 3 Termination Panel DTP 4 PC 3 Signal Monitor for Digital I O CM 32 PC E 2 1 PCB50PS P optional cable is required separately 2 PCE50 37PS 0 5P and PCB37P or...

Страница 11: ...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 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 thr...

Страница 12: ...estruction 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 s...

Страница 13: ...tall or remove the board to or from the extension slot while the computer s power is turned on And also do not connect the board and external device while the power is turned on Otherwise the board may malfunction overheat or cause a failure 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 bo...

Страница 14: ...no dust or foreign matter adhering Check that the bus connector of the board and its cable have been plugged correctly 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 and then put it in the box 3 Store the package at room temperature at a...

Страница 15: ...1 Before Using the Product 8 DIO 1616T LPE ...

Страница 16: ...are 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 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 ...

Страница 17: ... 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 ...

Страница 18: ...Windows XP Although some user interfaces are different depending on the OS used the basic procedure is the same Starting the Install Program 1 Load the CD ROM API PAC W32 on your PC 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...

Страница 19: ...616T LPE 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 ...

Страница 20: ... 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 then go to Step 4 Initializing the Software You have now finished installing the software ...

Страница 21: ...ntouched You can change board settings later Replacing the Bracket This board is shipped with a Low Profile size bracket mounted To plug the board into a standard size slot replace the bracket with the bundled standard size bracket The replacing method is as follows Use a flathead screwdriver or hexagonal spanner to undo and tighten the screws Remove the screws and replace it with the Standard siz...

Страница 22: ...ting 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 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 the rotary switch on the board Turn the SW1 knob to set the...

Страница 23: ... 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 extension unit s power is turned on Otherwise the board may malfunction overheat or cause a failure Be sure that the personal computer or the I O extension unit pow...

Страница 24: ...empting 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 sets of resources previously assigned to the two boards is assi...

Страница 25: ...to register the board 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 Example of specifying the folder for use under Windows XP The name of the board you have just added is displayed DIO 1616T LPE INF Win2000 Dio PCI ...

Страница 26: ...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 software The name of the board you have just added is displayed DIO 1616T LPE ...

Страница 27: ...zation 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 boards automatically The detected boards are listed Updating the Settings 1 Select Save settings to registry from the File menu You have now finished installing the initial setting of Software ...

Страница 28: ...rts 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 For this board an external power supply is not needed The Check Mate CM 32 PC E comes in handy when you check digital I O boards Check the board with the factor defaults untouched Connection diagr...

Страница 29: ... the Diagnosis Program 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 are testing is displayed DIO 1616T LPE ...

Страница 30: ...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...

Страница 31: ... in the install folder Program Files CONTEC API PAC W32 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 you have just added is displayed DIO 1616T LPE The name...

Страница 32: ...he 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 actual output Consider the execution intervals between functions The OS won t normally get started or detect the board Windows XP 2000 Turn off the power to your PC then unplug the board Restart the OS and delete...

Страница 33: ...2 Setup 26 DIO 1616T LPE ...

Страница 34: ...device How to connect the connectors Connector shape The on board interface connector CN1 is used when connecting this product and the external devices CN1 Connector used 50 Pin Mini Ribbon connector 10250 52A2JL mfd by 3M Applilcable connector 10150 6000EL mfd by 3M Interface connector CN1 Please refer to chapter 1 for more information on the supported cable and accessories Figure 3 1 Interface C...

Страница 35: ...17 Vcc Vcc 5V 5V 5V 5V 5V 5V 5V 5V 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 Signal Common Signal Common Signal Common Signal Common I 00 I 17 16 input signal pins Connect output signals from the external device to these pins O20 O37 16 output signal pins Connect these pins to the input signal pins o...

Страница 36: ... 04 4 I 03 3 I 02 2 I 01 1 I 00 0 Input logical port 1 I 17 15 I 16 14 I 15 13 I 14 12 I 13 11 I 12 10 I 11 9 I 10 8 D7 D6 D5 D4 D3 D2 D1 D0 Output logical port 0 O 27 7 O 26 6 O 25 5 O 24 4 O 23 3 O 22 2 O 21 1 O 20 0 Output logical port 1 O 37 15 O 36 14 O 35 13 O 34 12 O 33 11 O 32 10 O 31 9 O 30 8 Note I xx and O xx represent input and output signals respectively where xx indicates a logical b...

Страница 37: ... to signal inputs are TTL levels The individual input signals are passed to the personal computer as active low signals As each of the signal inputs is pulled up internally the output of a relay contact or semiconductor switch can be connected directly between the signal input and the signal common pin Connecting a Switch GND CN1 36 pin Board I 00 CN1 35 pin Switch When the switch is ON the corres...

Страница 38: ...outputs are open collector outputs individual output signals are sent to the external device as active low signals Note that each signal output must be pulled up at the external device as it is not pulled up internally CAUTION When the PC is turned on all output are reset to OFF Connection to the LED O 20 CN1 48 pin LED 2kΩ Vcc CN1 39 pin Board side When 1 is output to a relevant bit the correspon...

Страница 39: ...3 External Connection 32 DIO 1616T LPE ...

Страница 40: ... 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 is set to ON 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...

Страница 41: ...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 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 f...

Страница 42: ... input logic for interruption bit by bit If you set an interrupt edge select 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 interrupt edge select bit to 1 an interrupt occurs when the input value to the corresponding bit changes from 1 to 0 at the rise of the input signal from Low to High...

Страница 43: ...4 Function 36 DIO 1616T LPE ...

Страница 44: ...ml 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 ...

Страница 45: ...put of specified bits Hardware digital filtering that prevents chattering For details refer to the help file The help file provides various items of information such as Function 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 Di...

Страница 46: ...t by API TOOL Configuration in the DrvNo and GrpNo fields Use these sample programs as references for program development and operation check 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 ...

Страница 47: ...d 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 board Sample program 9 Inputs digital data through a specified port using BCD data Sample program 10 Executes digital input simple functions at specified bits through a specified port Sample program 11 Services in...

Страница 48: ...rt button on the Windows taskbar From the Start Menu select Control Panel 2 Double click on Install or Remove Programs and Windows components 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 ...

Страница 49: ...river 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 installation To install the driver log...

Страница 50: ...mple 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 ...

Страница 51: ...5 About Software 44 DIO 1616T LPE ...

Страница 52: ...input Negative logic 1 Number of input signal channels 16 channels all available for interrupts 1 common Input resistance 10kΩ 1 TTL load Interrupt 16 interrupt input signals are arranged into a single output of interrupt signal INTA An interrupt is generated at the rising edge HIGH to LOW transition or falling edge LOW to HIGH transition Response time Within 200nsec Output Output format Open coll...

Страница 53: ...ard count for connection 16 boards including the master board Power consumption Max 3 3VDC 300mA Operating condition 0 50 C 10 90 RH No condensation Bus specification PCI Express Base Specification Rev 1 0a x1 Dimension mm 121 69 L 67 90 H Connector 50 Pin Mini Ribbon connector 10250 52A2JL mfd by 3M Weight 60g Board Dimensions mm 121 69 L 67 90 H The standard outside dimension L is the distance f...

Страница 54: ...Express BUS TTL receiver External digital input port 0 8 points group 0 DIO 1616T LPE TTL receiver TTL driver TTL driver External digital input port 1 8 points group 1 External digital output port 0 8 points group 2 External digital output port 1 8 points group 3 Figure 6 1 Block Diagram ...

Страница 55: ...55 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 213 05252006_rev2 Parts No LYFY721 ...

Отзывы: