background image

2. Setup 

 

 

 

 

30

 

DIO-32DM-PE 

Diagnosis Report 

(1)  Clicking on the [Show Diagnosis Report] button displays detailed data such as board settings and 

the diagnosis results while saving them in text format. 

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. 

 

* The name of the board 

    you have just added is 

  displayed. 

  - DIO-32DM-PE 

* The name of the board 

    you have just added is 

  displayed. 

  - DIO-32DM-PE 

Содержание DIO-32DM-PE

Страница 1: ...PC HELPER High Speed Bi directional Digital I O Board for PCI Express DIO 32DM PE User s Guide CONTEC CO LTD ...

Страница 2: ...following list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board DIO 32DM PE 1 SC Cable 10cm 1 First step guide 1 CD ROM 1 API PAC W32 1 1 The CD ROM contains the driver software and User s Guide this guide Board SC Cable 10cm First step guide CD ROM 1 API PAC W32 ...

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

Страница 4: ...Handling 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 About the driver to be used 11 Starting the Install Program 1...

Страница 5: ...ationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 37 Connection method to the external device Data I O 39 Connecting the data I O signal DIOA0 DIOD0 39 Detailed Data I O Signal Circuit 39 Connection method to the external device Control I O 40 Connection to the control signal EXT 40 Detailed Control Input Signal Circuit 40 Detailed Control Output Signal Circuit 41 What is...

Страница 6: ... Interrupt Signal 50 5 ABOUT SOFTWARE 51 CD ROM Directory Structure 51 About Software for Windows 52 Accessing the Help File 52 Using Sample Programs 53 Uninstalling the Driver Libraries 55 About Software for Linux 58 Driver Software Install Procedure 58 Accessing the Help File 59 Using Sample Programs 59 Uninstalling the driver 59 6 ABOUT HARDWARE 61 Hardware specification 61 Block Diagram 63 Dif...

Страница 7: ...vi DIO 32DM PE ...

Страница 8: ...s 16bit output or for 32bit output Other than I O bit this product has the control signal clock start stop and handshake signal REQ ACK that can control starting and stopping the sampling input generating output Sampling and generating with transfer rate at 20MHz maximum Bus master transfer makes it possible to sample input or generate output large data with transfer rate at 20MHz maximum As the s...

Страница 9: ...ic Visual C Visual C Delphi C Builder For more details on the supported OS applicable language and how to download the updated version please visit the CONTEC s Web site http www contec com apipac 1 For API DIO 98 PC check the device operation by using the sample program 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 L...

Страница 10: ...5P 0 5m PCA96PS 1 5P 1 5m Flat Cable with 96 Pin Half Pitch Connectors at One End PCA96P 1 5 1 5m Half Pitch 96P Female Connector Set 5 Pieces CN5 H96F Accessories Option Screw Terminal Unit M3 x 96P EPD 96A 1 2 Screw Terminal Unit M3 5 x 96P EPD 96 1 Terminal Unit for Cables M3 x 96P DTP 64A 1 1 PCB96P or PCB96PS optional cable is required separately 2 Spring up type terminal is used to prevent t...

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

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

Страница 13: ...rminals with industrial alcohol Do not install or remove this product to or from the expansion slot while the computer s power or expansion unit is turned on Otherwise this product may malfunction overheat or cause a failure Be sure that the personal computer power is turned off Make sure that your PC or expansion unit can supply ample power to all the products installed Insufficiently energized p...

Страница 14: ...e When storing this product keep it in its original packing form 1 Put this product 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 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 ...

Страница 15: ...1 Before Using the Product 8 DIO 32DM PE ...

Страница 16: ... diagnosis program 1 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 Operation Checks If Setup fails to be performed normally see the Setup Troubleshooting section at the end of this chapter 1 For API DIO 98 PC check the device operation by using the ...

Страница 17: ...he Board under an OS Other than Windows For using the board under an OS 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 ...

Страница 18: ...e 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 analog 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 sele...

Страница 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 and 2000 log in as a user with administrator privileges ...

Страница 20: ... of driver library 2 Select the Advanced Digital I O driver 3 Click on the Install button Clicking the API DIO button under the Detail 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 ...

Страница 21: ...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 the API DIO button under the Detail displays detailed information about API DIO WDM and API DIO 98 PC ...

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

Страница 23: ...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 the board Note that the switch setting shown below is the factory default 0 1 2 3 4 5 6 7 9 A B C D E F 8 Figure 2 1 Component Locations DIO 32DM PE CN2 CN3 SW1 BOARD ID Board ID setting switch SW1 BOARD ID Interface c...

Страница 24: ...e 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 board ID as shown below Board ID 0 Factory setting BOARD ID SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 Figure 2 2 Board ID Settings SW1 ...

Страница 25: ...ctor 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 power or expansion unit is turned on Otherwise the board may malfunction overheat or cause a failure Be sure that the personal computer power is tu...

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

Страница 27: ... 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 API PAC version may be different ...

Страница 28: ...2 Setup DIO 32DM PE 21 You have now finished installing the hardware The name of the board you have just added is displayed DIO 32DM PE ...

Страница 29: ...rd will be started If you are using Windows NT 4 0 the Found New Hardware Wizard is not started Go to Step 4 Initializing the Software 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 ...

Страница 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 32DM PE ...

Страница 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 32DM PE ...

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

Страница 33: ... 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 The name of the board you have just added is displayed DIO 32DM PE ...

Страница 34: ...ams CONTEC API PAC W32 API TOOL Configuration 2 Click the DIO icon 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 ...

Страница 35: ...nect the board to a remote device to test the input output and check the execution environment Set the board in the default factory To connect an external device see Chapter 3 External Connection When Using API DIO WDM Use the diagnostic program to check the operation Starting the Diagnosis Program Open the Properties page of the device that was used for the software initialization and press the D...

Страница 36: ... Output Port Mouse operation allows the data to output or display Interrupt Displays the number of interrupts detected bit by bit 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 The time for each execution of a function will be measured The name of the board you have just ...

Страница 37: ...text format 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 The name of the board you have just added is displayed DIO 32DM PE The name of the board you have just added is displayed DIO 32DM PE ...

Страница 38: ...t menu select Programs CONTEC API PAC W32 Dio PIO 32DM SAMPLE Output 32bit 1 Enter in GrpNo the Group No which you set in API TOOL Configuration and then press the DioOpen button Make sure that the Ret field displays the following information 2 Press the Condition button to display the Generating Condition window and then press the OK button ...

Страница 39: ...ata button to create output data 4 Press the DataSet button to set the output data in the buffer for the bus master 5 Pressing the Start button starts bus master transfer and once the output is completed the following information appears ...

Страница 40: ...w your program while paying attention to the following points Check the return values of functions Refer to the source code of sample program The OS won t normally get started or detect the board For using the API DIO WDM Refer to the Troubleshooting in API DIO WDM HELP For using the API DIO 98 PC Turn off the power to your PC then unplug the board Restart the OS and delete the board settings of A...

Страница 41: ...2 Setup 34 DIO 32DM PE ...

Страница 42: ...an external device to this product plug the cable from the device into the interface connector CN1 shown below Please refer to chapter 1 for more information on the supported cable and accessories Figure 3 1 Interface Connector and Applicable Cable Connector Interface connector CN1 B48 A48 B47 A47 B02 A02 B01 A01 Connector used PCR E96LMD mfd by HONDA TSUSHIN KOGYO CO LTD or equivalence to it Comp...

Страница 43: ...IOD04 B27 A27 DIOB04 GND B26 A26 GND DIOD03 B25 A25 DIOB03 GND B24 A24 GND DIOD02 B23 A23 DIOB02 GND B22 A22 GND DIOD01 B21 A21 DIOB01 GND B20 A20 GND DIOD00 B19 A19 DIOB00 GND B18 A18 GND DIOC07 B17 A17 DIOA07 GND B16 A16 GND DIOC06 B15 A15 DIOA06 GND B14 A14 GND DIOC05 B13 A13 DIOA05 GND B12 A12 GND DIOC04 B11 A11 DIOA04 GND B10 A10 GND DIOC03 B09 A09 DIOA03 GND B08 A08 GND DIOC02 B07 A07 DIOA02...

Страница 44: ... the connector signal pins and the logical port bit numbers used for I O functions when applications are written with API PAC W32 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 Setup1 Table 3 1 Logical Ports Logical Bi...

Страница 45: ... DIOD00 24 Note DIOAxx and DIOBxx represents the CN1 input signal and DIOCxx and DIODxx represents the CN1 output signal xx represents the logical bit Setup3 Table 3 3 Logical Ports Logical Bits and Connector Signal Pins Setup3 D7 D6 D5 D4 D3 D2 D1 D0 Output Logical Ports0 DIOA07 7 DIOA06 6 DIOA05 5 DIOA04 4 DIOA03 3 DIOA02 2 DIOA01 1 DIOA00 0 Output Logical Ports1 DIOB07 15 DIOB06 14 DIOB05 13 DI...

Страница 46: ...ansferring and they can be configured in three different settings as shown below Table 3 4 I O signal Signal name Setup1 Setup2 Setup3 DIOA00 DIOA07 Input Input Output DIOB00 DIOB07 Input Input Output DIOC00 DIOC07 Input Output Output DIOD00 DIOD07 Input Output Output When settings 1 and 2 are used for general purpose digital I O DIOA00 through DIOA03 can be used as interrupts rising edge Detailed...

Страница 47: ...e Direction Usage EXTCLK0 In Pattern input clock EXTCLK1 In Pattern output clock EXTSTART0 In Pattern input start signal EXTSTART1 In Pattern output start signal EXTSTOP0 In Pattern input stop signal EXTSTOP1 In Pattern output stop signal EXTREQ0 In Pattern input REQ signal EXTREQ1 Out Pattern output REQ signal EXTACK0 Out Pattern input ACK signal EXTACK1 In Pattern output ACK signal Detailed Cont...

Страница 48: ...3 6 External clock signal Eternal start signal EXTSTART0 EXTSTART1 These input signals start bus mastering with an external signal The signal level is LVTTL and you can select and enable the rising or falling edge with the software In order to detect the signal edge a high and low level hold time of 50ns is needed at minimum Figure 3 7 External start signal tPWH Clock pulse high width 50ns Min tPW...

Страница 49: ...n 50ns Pattern data prior to that time is disabled 2 The board generates a cycle to write data input from an external device to the PC memory by bus mastering 3 At the end of writing data the board outputs acknowledge signal EXTRACK0 to notify the external device Output Figure 3 9 Handshake Signals at the Time of Output 1 After setting the handshaking operation this product outputs the EXTREQ1 sig...

Страница 50: ...e connected including the master For more information on the setup procedure see the driver software online help When the SC is not connected use the board with stand alone settings Example 1 When clock start and stop requirements are set the same for multiple boards In order to synchronize master clock start and stop with slave boards you can build a synchronous system which does not depend on so...

Страница 51: ... the start requirements on the slave boards 5 Start in order of slave to master boards Connecting the SC Connectors CN2 CN3 This board is equipped with sync signal control connectors CN2 and CN3 for connecting a sync signal cable When the cable is connected multiple boards can operate in sync with one another Connection Procedure Connect the sync signal cable when two or more boards need to operat...

Страница 52: ...input output data in various combinations of the start clock and stop conditions Bus Master Transfer Bus mastering by this product enables DMA for direct transfer between the product and the memory space allocated for the application when the PCI Express bus is free For the application s memory space a static area is specified which is allocated by normal definition of a variable Under the Windows...

Страница 53: ...or bus master transfer Take action such as decreasing the transfer rate or system load DIODM_STATUS_FIFOFULL Indicates that the FIFO buffer is full This is mainly because of a heavy load on the system that makes it late for bus master transfer Take action such as decreasing the transfer rate or system load DIODM_STATUS_SGOVERIN Indicates a buffer overflow The number of data items to be transferred...

Страница 54: ...xternal start signal EXTSTART0 Pattern match When matched with the specified input pattern Sampling starting trigger SC connector Start signal from synchronization control connector Software Software command Rise of external signal Rise of external stop signal EXTSTOP0 Fall of external signal Fall of external stop signal EXTSTOP0 Specified number of items Termination when the specified number of i...

Страница 55: ...se of external start signal EXTSTART1 Fall of external signal Fall of external start signal EXTSTART1 Generating start trigger SC connector Start signal from synchronization control connector Software Software command Rise of external signal Rise of external stop signal EXTSTOP1 Fall of external signal Fall of external stop signal EXTSTOP1 Specified number of times Termination when the specified n...

Страница 56: ...ding bit Data output When 1 is output to the corresponding bit High level is output When 0 is output to the corresponding bit in contrast Low level is output CAUTION The entire product is set for input immediately after the power is turned on It is Low level after setting to output Monitoring the output data The product can read the status of the current output data without affecting the output da...

Страница 57: ...ccurs even when the corresponding input signal changes its level To let interrupts occur enable the corresponding interrupt mask bit for interruptions CAUTION All of the interrupt mask bits are interrupt disabled when the power is turned on Clearing the Interrupt Status and Interrupt Signal Interrupt status bits are used to identify the input signal bit being used for requesting an interrupt When ...

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

Страница 59: ...nits they can be used for 32bit input 16bit input plus 16bit output or for 32bit output For details refer to the help file The help file provides various items of information such as Using procedure and Function Reference Use them for program development Accessing the Help File 1 Click on the Start button on the Windows taskbar 2 Using the API DIO WDM from the Start Menu select Programs CONTEC API...

Страница 60: ...taskbar 2 For the API DIO WDM from the Start Menu select Programs CONTEC API PAC W32 API DIO WDM SAMPLE 3 A sample program is invoked API DIO WDM Sample Sample Programs Sampling Executes pattern input sampling in 32bits Saves sampling data to a file Sample Programs Infinite Sampling Executes pattern input sampling in 32bits infinitely Saves sampling data to a file Sample Programs Generating Execut...

Страница 61: ... file INFINITE Executes pattern input sampling in 32bits infinitely Saves sampling data to a file OUTPUT 32 Executes pattern output generating in 32bits SYNC Executes synchronous operation of the two boards connected to each other via a synchronization control connector Sample INPUT32 Sample INFINITE Sample OUTPUT32 Sample SYNC ...

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

Страница 63: ...velopment environment 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 contains the driver category name caio ccn...

Страница 64: ...of API WDM select CONTEC API WDM VerX XX development environment and then click Change Remove contains the driver category name AIO CNT DIO SMC etc If using API AIO 98 PC select CONTEC API DIO 98 PC xx VerX XX Develop and CONTEC API DIO 98 PC xx VerX XX Runtime Click the Change Remove button Proceed with uninstalling by following the instructions that appear on the screen ...

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

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

Страница 67: ...5 About Software 60 DIO 32DM PE ...

Страница 68: ... digital I O or I O with bus master transfer Echo back function Available at general purpose output Pattern input Sampling start trigger Software start External start Pattern match SC connector Sampling stop trigger Software stop External stop End of transfer Transfer error Specified number of items SC connector Sampling clock Sampling timer External clock input handshake SC connector Sampling tim...

Страница 69: ... specifying sync slave boards Max board count for connection 16 boards including the master board Common section Allowable distance of signal extension 1 5m dependent on wiring environment I O addresses Occupies 2 locations any 32 ports and 64 ports boundary Current consumption 3 3V 400mA Max Operating conditions 0 50 C 10 90 RH No condensation Bus specification PCI Express Base Specification Rev ...

Страница 70: ...able 6 3 When CONTEC s Expansion Unit ECH PE CE Series Is Used Limited Unlimited In Out In Out Athlon 3800 2 0GHz 20 20 13 4 3 1 Core 2 Duo 2 0MHz 20 20 13 4 2 7 Pentium E2160 1 8GHz 20 20 13 4 2 7 Unit MHz Limited indicates that the number of transfers is designated and unlimited indicates the number of transfers is not designated However these values may not be satisfied depending on the system ...

Страница 71: ...e logic Output format Unisolated LVTTL level Equivalent to 74LV245A positive logic Unisolated TTL level Equivalent to 74ALS245A positive logic Control signal Unisolated LVTTL level Equivalent to 74LV245A Unisolated LVTTL level Equivalent to 74LV125A 5V TTL level input enabled Unisolated TTL level Equivalent to 74ALS245A Unisolated TTL level Equivalent to 74LS125A Bus specification PCI Express Base...

Страница 72: ...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 05132013 12262008 Management No A 51 650 05132013_rev3 Parts No LYKC653 ...

Отзывы: