background image

 

3. External Connection 

 

 

 

DIO-32DM3-PE 

37

 

(1)  After setting the handshaking operation, this product samples the EXTREQ0 signal and starts 

pattern input when it recognizes a low pulse of more than 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 

 

tREQOL : EXTREQ1 low width 100ns 

tACKOL : EXTACK1 low width 25ns (Min.) 

Figure 3.9. Handshake Signals at the Time of Output 

(1)  After setting the handshaking operation, this product outputs the EXTREQ1 signal. 

(2)  The board begins sampling acknowledge signals from external devices.    The board recognizes the 

end with a low pulse of more than 25ns and, at the leading edge, starts preparing to output the next 

data. 

Valid

(1)

(2)

tACKOL

Next

tREQIL

EXTRAQ1 (Out)

DATA (Out)

EXTACK1 (In)

Summary of Contents for DIO-32DM3-PE

Page 1: ...PC HELPER High Speed Bi directional Digital I O Board for PCI Express DIO 32DM3 PE User s Guide CONTEC CO LTD ...

Page 2: ...maged or missing items contact your retailer Product Configuration List Board DIO 32DM3 PE 1 SC Cable 10cm 1 First Step Guide 1 Disk 1 API PAC W32 1 Warranty Certificate 1 Serial Number Label 1 1 The bundled disk contains the driver software and User s Guide this guide DIO 32DM3 PE SC Cable Disk API PAC W32 First Step Guide First Step Guide Serial Number Label Warranty Certificate Warranty Certifi...

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: ...ation 6 Handling Precautions 7 Environment 9 Inspection 9 Storage 9 Disposal 9 2 SETUP 11 What is Setup 11 Using the Board under Windows Using the Driver Library API PAC W32 11 Step 1 Installing the Software 12 About the driver to be used 12 Select API DIO WDM 14 Step 2 Setting the Hardware 15 Parts of the Board and Factory Defaults 15 Setting the Board ID 16 Setting the Pull Up 16 Plugging the Bo...

Page 5: ...trol Input Signal Circuit 34 Detailed Control Output Signal Circuit 35 What is the Control Signal 35 Synchronization Control Connectors 38 SC Connectors 38 Connecting the SC Connectors CN2 CN3 39 4 FUNCTION 41 Function Outline 41 Overview 41 Sampling function generating function 41 Bus Master Transfer 41 Interrupt at the time of bus master transfer 42 Status count 42 Sampling function 43 Sampling ...

Page 6: ...ng the Help File 47 Using Sample Programs 48 Uninstalling the Driver Libraries 49 6 ABOUT HARDWARE 51 Hardware specifications 51 Block Diagram 53 Differences between DIO 32DM3 PE DIO 32DM2 PE DIO 32DM PE and PIO 32DM PCI 54 ...

Page 7: ...vi DIO 32DM3 PE ...

Page 8: ...plus 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 50MHz maximum Bus master transfer makes it possible to sample input or generate output large data with transfer rate at 50MHz maximum As th...

Page 9: ...and connectors are compatible with PCI compatible board PIO 32DM PCI and PCI Express compatible board DIO 32DM2 PE DIO 32DM PE The functions same with PCI compatible board PIO 32DM PCI and PCI Express compatible board DIO 32DM2 PE DIO 32DM PE are provided In addition as there is compatibility in terms of connector shape and pin assignments it is easy to migrate from the existing system LabVIEW is ...

Page 10: ...ition library DAQfast for LabVIEW Available for downloading free of charge from the CONTEC web site This is a data collection library to use in the LabVIEW by National Instruments With Polymorphic VI our design enables a LabVIEW user to operate seamlessly Our aim is that the customers to perform easily promptly what they wish to do For more details on the library and download of DAQfast for LabVIE...

Page 11: ...ector at One End PCA96PS 0 5P 0 5m PCA96PS 1 5P 1 5m 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 terminal screws from falling off Check the CONTEC s Web site for more information on these options ...

Page 12: ...eight 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 through abuse mistreatment neglect or...

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

Page 14: ...ndustrial 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 products could ...

Page 15: ...y and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense NOTE FCC WARNING Changes or modifications not expressly approved by the party responsible for ...

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

Page 17: ...1 Before Using the Product 10 DIO 32DM3 PE ...

Page 18: ...he setup procedure to be performed before you can start developing application programs for the board using the bundled disk Driver Library API PAC W32 Taking the following steps sets up 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 Installing the Hardw...

Page 19: ...tion of this software from the CONTEC web site Although some user interfaces are different depending on the OS used the basic procedure is the same About the driver to be used Two Digital I O drivers are available API DIO WDM When using this product use the advanced digital I O driver API DIO WDM The following information is focused on setting up API DIO WDM If you use this product with digital in...

Page 20: ...AC W32 on your PC 2 The API PAC W32 Installer window appears automatically If the panel does not appear run drive letter AUTORUN exe 3 Click on the Install Development or Execution Environment button Before installing the software log in as a user with administrator privileges CAUTION ...

Page 21: ...ion Usage 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 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 22: ...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 Figure 2 1 Component Locations 0 D E F 8 DIO 32DM3 PE CN2 CN3 SW6 BOARD ID Interface connector CN1 CN2 CN3 Board ID setting swith SW6 BOARD ID JP1 JP2 JP3 SW1 SW2 SW3 SW4 SW5 Pull up voltage setting switches SW1 SW5 Pull up voltage setting pins JP1 JP3 SW1 ON ...

Page 23: ... Figure 2 2 Board ID Settings SW6 Setting the Pull Up If the pull up to input points and control signals is required please set In addition the pull up voltage can be selected from the 3 3V and 5V It should be noted that the present setting in the input 32 points 16 points each and control signals can be set individually If you want to use the input and output points as output please use in the st...

Page 24: ...4 4 EXTCLK1 4 DIOB03 3 EXTSTART1 3 DIOB02 2 EXTSTOP1 2 DIOB01 1 EXTACK1 1 DIOB00 SW2 8 DIOD07 SW5 8 DIOA07 7 DIOD06 7 DIOA06 6 DIOD05 6 DIOA05 5 DIOD04 5 DIOA04 4 DIOD03 4 DIOA03 3 DIOD02 3 DIOA02 2 DIOD01 2 DIOA01 1 DIOD00 1 DIOA00 SW3 8 DIOC07 7 DIOC06 6 DIOC05 5 DIOC04 4 DIOC03 3 DIOC02 2 DIOC01 1 DIOC00 Figure 2 3 Setting the Pull Up SW1 SW5 SW1 ON 1 2 3 4 5 6 7 8 SW4 ON 1 2 3 4 5 6 7 8 SW2 ON...

Page 25: ... 2 3 Short 3 3V Factory setting 2 3 Short Jumper pins Signal Jumper pins Signal EXTCLK0 DIOD00 DIOD07 EXTSTART0 EXTSTOP0 EXTREQ0 EXTCLK1 DIOC00 DIOC07 EXTSTART1 EXTSTOP1 EXTACK1 DIOB00 DIOB07 DIOA00 DIOA07 Figure 2 4 Pull up voltage setting pins JP1 JP3 JP2 1 2 3 JP3 1 2 3 JP1 1 2 3 JP1 1 2 3 JP2 1 2 3 JP3 1 2 3 ...

Page 26: ...h 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 turned off...

Page 27: ...annot be properly installed unless the resources memory 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 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 ...

Page 28: ... to follow in performing installations on different Windows operating systems are included on the bundled media so refer to the files in the following folder Help Hwinst Eng ApiTool chm 1 The Found New Hardware Wizard will be started Select No not this time and then click the Next button 2 When the model name of hardware is displayed select Install the software automatically Recommended and then c...

Page 29: ...ribed 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 node and s...

Page 30: ... 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 32DM3 PE ...

Page 31: ...een set up correctly Check Method Connect 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 Starting the Diagnosis Program Open the Properties page of the device that was used for the software initialization and press the Diagnosis button ...

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

Page 33: ...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 Before executing diagnosis report output unplug the cable from the board CAUTION The name of the board you have just added is displayed DIO 32DM3 PE Click on Show Diagnosis Report ...

Page 34: ...gram has been created using the driver API functions If the board works with the Diagnosis Program it will work with other applications Review the program paying attention to the following points Check the return values of functions Refer to the source code of sample program Refer to the Troubleshooting in API TOOL WDM HELP APITOOL chm The name of the board you have just added is displayed DIO 32D...

Page 35: ...2 Setup 28 DIO 32DM3 PE ...

Page 36: ... 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 A48 A47 A02 A01 B48 B47 B02 B01 Connector used PCR E96LMD mfd by HONDA TSUSHIN KOGYO CO LTD or equivalence to it Compatible connectors PCR E...

Page 37: ...DIOD04 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 DIOA0...

Page 38: ...the connector signal pins and the logical port bit numbers used for I O functions when applications are written with API PAC W32 The logical port and logical bit numbers are virtual port and bit numbers that enable programming independent of board memory addresses or board types For details refer to API DIO HELP available after installing API PAC W32 Setup1 Table 3 1 Logical Ports Logical Bits and...

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

Page 40: ... 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 Data I O Sign...

Page 41: ...e 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 Control Input Signal...

Page 42: ...XTCLK1 These signals input external pacer clocks The maximum frequency is 20MHz When the external clock input is set as the clock source pattern input or output occurs at the falling edge of this signal tPWH Clock pulse high width 25ns Min tPWL Clock pulse low width 25ns Min Figure 3 6 External clock signal Output pin GND GND External circuit 5V TTL IC or LVTTL IC Board EXTACK0 EXTREQ1 SN74LVT245B...

Page 43: ...OP1 These input signals stop bus mastering with an external signal The signal is LVTTL level 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 Handshake Signal EXTREQ0 EXTACK0 EXTREQ1 EXTACK1 These signals handshake with external devices The signal is LVTTL level and controlled w...

Page 44: ...d of writing data the board outputs acknowledge signal EXTRACK0 to notify the external device Output tREQOL EXTREQ1 low width 100ns tACKOL EXTACK1 low width 25ns Min Figure 3 9 Handshake Signals at the Time of Output 1 After setting the handshaking operation this product outputs the EXTREQ1 signal 2 The board begins sampling acknowledge signals from external devices The board recognizes the end wi...

Page 45: ...be 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 s...

Page 46: ...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 operate in sync w...

Page 47: ...3 External Connection 40 DIO 32DM3 PE ...

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

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

Page 50: ... external signal Fall of external start signal EXTSTART0 Pattern match When matched with the specified input pattern SC connector Start signal from synchronization control connector Sampling stopping trigger 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...

Page 51: ...se of external signal Rise of external start signal EXTSTART1 Fall of external signal Fall of external start signal EXTSTART1 SC connector Start signal from synchronization control connector Generating stop trigger 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 Terminati...

Page 52: ...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 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 data CAUTI...

Page 53: ...s even when the corresponding input signal changes its level To let interrupts occur enable the corresponding interrupt mask bit for interruptions 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 an interrupt...

Page 54: ... be used as a 50 MHz digital pattern generator pattern output The direction of digital input output is switchable For details refer to the help file Accessing the Help File The method to use in accessing the help file varies slightly depending on the version of the driver the development environment that is installed From the Start menu click CONTEC API PAC W32 API TOOL WDM HELP When this link doe...

Page 55: ...ogram is invoked Sample list Simple I O Executes digital I O processing of the specified port Multiple port bit I O ports bits Simultaneously executes digital I O processing of multiple Monitoring Trigger Monitors rising edge falling edge triggers Interrupt Executes interrupt processing of the specified board Sampling 1 Executes pattern input sampling in 32bits Saves sampling data to a file Infini...

Page 56: ...ht clicking on My Computer and selecting Properties Select Windows Driver Package CONTEC and then click Change Remove contains the driver category name caio ccnt cdio csmc etc Uninstall the development environment Use My Computer Control Panel Programs and Features to uninstall the development environment In case of API WDM select CONTEC API WDM VerX XX Develop and then click Uninstall contains th...

Page 57: ...5 About Software 50 DIO 32DM3 PE ...

Page 58: ...ose 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 ...

Page 59: ...tion 16 boards including the master board Common section Allowable distance of signal extension 1 5m dependent on wiring environment Memory addresses Occupies 2 locations 256MByte Current consumption 3 3V 600mA Max 12V 30mA Max Operating conditions 0 50 C 10 90 RH No condensation Bus specification PCI Express Base Specification Rev 2 0 x1 Physical dimensions mm 169 33 L x 110 18 H Connector PCR E9...

Page 60: ...ications Table 6 3 When CONTEC s Expansion Unit ECH PE CE Series Is Used Limited Unlimited In Out In Out Core i5 4590 3 30GHz 50 50 11 1 1 8 Core i5 6600 3 30GHz 50 50 13 3 6 0 Core i7 2600K 3 40GHz 50 50 12 5 5 0 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 dependin...

Page 61: ...M3 PE DIO 32DM2 PE DIO 32DM PE Input format Unisolated LVTTL level Equivalent to 74LVT245B positive logic 5V TTL level input enabled Unisolated LVTTL level Equivalent to 74LV245A positive logic 5V TTL level input enabled Unisolated LVTTL level Equivalent to 74LV245A positive logic 5V TTL level input enabled Pull up None 3 3V 5V None 3 3V 5V None Output format Unisolated LVTTL level Equivalent to 7...

Page 62: ......

Page 63: ... 31 Himesato Nishiyodogawa ku Osaka 555 0025 Japan https www contec com No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD 09102018 08082018 Management No NA05724 09102018_rev2 Parts No LYVC842 ...

Reviews: