background image

6. About Hardware

 

                                                                                                                                                  

DIO-48D-LPE

47

6.

 

About Hardware

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

Item

Specification

I/O

I/O format

Unisolated LVTTL-level I/O (Positive logic) *1

Number of I/O channels

48 channels (all available for interrupts)

Interrupt

48 interrupt input signals are arranged into a single output of
interrupt signal INT.
  An interrupt is generated at the falling edge
  (HIGH-to-LOW transition) or
  rising edge (LOW-to-HIGH transition).

Response time

Within 200nsec

Rated output current

I

OL

=8mA (Max.)   I

OH

=-8mA (Max.)

Common

Built-in power

None

Allowable distance of signal extension Approx. 1.5m (depending on wiring environment)

Interruption level

1 level use

Max. board count for connection

16 boards including the master board

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)

Bus specification

PCI Express Base Specification Rev. 1.0a  x 1

Dimension (mm)

121.69 (L) x 67.90 (H)

Connector used

68 pin 0.8mm pitch connector

HDRA- [HONDA TSUSHIN KOGYO CO., LTD.]

or equivalent

Weight

60g

*1

Data “1” and “0” correspond to the High and Low levels, respectively.

Board Dimensions

[mm]

121.69(L)

67

.90(H

)

The standard outside dimension (L) is

the distance from the end of the board to

the outer surface of the slot cover.

Summary of Contents for DIO-48D-LPE

Page 1: ...PC HELPER Bi Directional Digital I O Board for PCI Express Low Profile DIO 48D LPE User s Guide CONTEC CO LTD ...

Page 2: ...g list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board DIO 48D 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 API PAC W32 Standard sized bracket Board First step guide ...

Page 3: ...ge 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 product Tra...

Page 4: ...g 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 ...

Page 5: ...EXTERNAL CONNECTION 27 How to connect the connectors 27 Connector shape and optional cable connection 27 Connector Pin Assignment 28 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 30 Connecting I O Signals 31 I O Circuit 31 Example Connection 1 Using DIO 68M 96F 32 Example Connection 2 Using PCA68PS P 32 4 FUNCTION 33 Data I O Function 33 I O setup of the port 33 Da...

Page 6: ...File 40 Using Sample Programs 41 Uninstalling the Driver Libraries 43 About Software for Linux 44 Driver Software Install Procedure 44 Accessing the Help File 45 Using Sample Programs 45 Uninstalling the driver 45 6 ABOUT HARDWARE 47 For detailed technical information 47 Hardware specification 47 Block Diagram 48 ...

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

Page 8: ... Visual Basic or Visual C Features This product can be used to input output 48 points bi directional digital corresponding to the i8255 mode 0 Unisolated LVTTL level positive logic input output enabling fast response within 200nsec You can use all of the input signals Max 48 as interrupt inputs You can also disable or enable the interrupt in bit units and select the interrupt edge This product has...

Page 9: ...isual 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 CONTE...

Page 10: ...rd DIO 68M 96F 0 5m Shield Cable with One 68 Pin Connector 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 ...

Page 11: ...ly 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 products The warranty is not applicable if the device has been tampered with or damaged thr...

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: ...t install 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 t...

Page 14: ...nnector 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 and then put it in the box 3 Store the package at room temperature ...

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

Page 16: ...re 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 U...

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

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

Page 19: ...48D 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 ...

Page 20: ...ow readme file check boxes are displayed When you are installing the software or hardware for the first time 1 Uncheck the 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 ...

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

Page 22: ...g 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 bo...

Page 23: ...rwise 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 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 extension unit...

Page 24: ...pting 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 assign...

Page 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 INF Win2000 Dio PCI The name of the board you have just added is displayed DIO 48D LPE ...

Page 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 48D LPE ...

Page 27: ... 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 The detected the 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 ...

Page 28: ...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 test the input output and check the execution environment To ...

Page 29: ...he 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 have just added is displayed DIO 48D LPE ...

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

Page 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 48D LPE The name of...

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

Page 33: ...2 Setup 26 DIO 48D LPE ...

Page 34: ...lent Interface connector CN1 Please refer to chapter 1 for more information on the supported cable and accessories Figure 3 1 Interface Connector CN1 Shape This shows the connection example of this product external device and optional cables DIO 68M 96F or PCA68PS P shows the pin No of HONDA TSUSHIN KOGYO CO LTD specification Laminate side 150mm 1 35 2 36 33 67 34 68 B01 96 A48 1 B48 49 A01 48 Con...

Page 35: ...ND 1 PA0 1 PA1 1 PA2 1 PA3 1 PA4 1 PA5 1 PA6 1 PA7 GND GND 1 PB0 1 PB1 1 PB2 1 PB3 1 PB4 1 PB5 1 PB6 1 PB7 GND GND 1 PC0 1 PC1 1 PC2 1 PC3 GND GND 1 PC4 1 PC5 1 PC6 1 PC7 GND GND GND GND 2 PA0 2 PA1 2 PA2 2 PA3 2 PA4 2 PA5 2 PA6 2 PA7 GND GND 2 PB0 2 PB1 2 PB2 2 PB3 2 PB4 2 PB5 2 PB6 2 PB7 GND GND 2 PC0 2 PC1 2 PC2 2 PC3 GND GND 2 PC4 2 PC5 2 PC6 2 PC7 GND GND 2 A port 2 B port 2 C port Low 2 C po...

Page 36: ...GND 2 PB0 GND 2 PA7 GND 2 PA6 GND 2 PA5 GND 2 PA4 GND 2 PA3 GND 2 PA2 GND 2 PA1 GND 2 PA0 GND 2 C port High 1 C port High 2 C port Low 2 B port 2 A port 1 C port Low 1 B port 1 A port 49 96 B48 B47 B46 B45 B44 B43 B42 B41 B40 B39 B38 B37 B36 B35 B34 B33 B32 B31 B30 B29 B28 B27 B26 B25 B24 B23 B22 B21 B20 B19 B18 B17 B16 B15 B14 B13 B12 B11 B10 B09 B08 B07 B06 B05 B04 B03 B02 B01 1 48 A48 A47 A46 A...

Page 37: ...3 11 1 PB2 10 1 PB1 9 1 PB0 8 I O Logical Ports 2 1 PC7 23 1 PC6 22 1 PC5 21 1 PC4 20 1 PC3 19 1 PC2 18 1 PC1 17 1 PC0 16 I O Logical Ports 3 2 PA7 31 2 PA6 30 2 PA5 29 2 PA4 28 2 PA3 27 2 PA2 26 2 PA1 25 2 PA0 24 I O Logical Ports 4 2 PB7 39 2 PB6 38 2 PB5 37 2 PB4 36 2 PB3 35 2 PB2 34 2 PB1 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 No...

Page 38: ... signals is pulled up I O Circuit GND GND INPUT OUTPUT SN74LV245 33Ω External circuit Board Figure 3 5 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 5V power supply or use a resistor of approximately 4 7kΩ and pull up to the 3 3V power supply ...

Page 39: ...nnector side External circuit 33Ω Figure 3 6 Connection Example Using 1 PA0 for Input and 2 PA0 for Output Using DIO 68M 96F Example Connection 2 Using PCA68PS P Cable Signal source GND 33Ω 3 3V 10kΩ 1 PA0 3 pin GND 2 pin Input Output Target Cable 33Ω 3 3V GND 6 8kΩ 2 PA0 37 pin GND 36 pin SN74LV245 or equivalent SN74LV245 or equivalent External circuit External circuit 96 pin connector side 96 pi...

Page 40: ...I O Function This board supports mode 0 of two i8255 chips capable of input output of up to 48 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 CAUTION Each port is assigned as an input port when the power is turned on Start set i8...

Page 41: ...T 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 OUT...

Page 42: ...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 43: ...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 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 FilterTime 0 00h The filter fu...

Page 44: ...nput 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 rise of the input signal from Low to High 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 fall of the input signal from High to Low C...

Page 45: ...4 Function 38 DIO 48D LPE ...

Page 46: ...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 47: ...f 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 Dio API...

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

Page 49: ... 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 int...

Page 50: ...n 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 ...

Page 51: ...iver 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 ...

Page 52: ...e 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 53: ...5 About Software 46 DIO 48D LPE ...

Page 54: ... edge HIGH to LOW transition or rising edge LOW to HIGH transition Response time Within 200nsec Rated output current IOL 8mA Max IOH 8mA Max Common Built in power None Allowable distance of signal extension Approx 1 5m depending on wiring environment Interruption level 1 level use Max board count for connection 16 boards including the master board I O address Any 32 byte boundary Common to I O par...

Page 55: ...errupt control Control circuit 1 C port Low 4 points 1 C port High 4 points 1 B port 8 points 2 C port High 4 points 2 B port 8 points 2 A port 8 points LVTTL transceiver LVTTL transceiver TTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver LVTTL transceiver Figure 6 1 Block Diagram ...

Page 56: ...5 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 ...

Reviews: