background image

3. External Connection 

 

 

 

 

32

 

DIO-1616B-LPE 

Connecting Output Signals 

Connect the output signals to a current-driven controlled device such as a relay or LED. 

The connection requires an external power supply to feed currents.  

The board controls turning on/off the current-driven controlled device using a digital value. 

Output Circuit 

 

* O-xx represents the output pin. 

Figure 3.5.  Output Circuit

 

The output circuits of interface is illustrated in Figure 3.5.  The signal output section is an opto-

coupler isolated, open-collector output (current sink type).  Driving the output section requires the on-

board internal power supply or the external power supply. 

The rated output current per channel is 100mA at maximum. 

The output section can also be connected to a TTL level input as it uses a low-saturated transistor for 

output.  The residual voltage (low-level voltage) between the collector and emitter with the output on 
is 0.5V or less at an output current within 50mA or at most 1.0V at an output current within 100mA.  

A zener diode is connected to the output transistor for protection from surge voltages.  A overcurrent 
protection circuit is provided for every 8 output transistors.  

 

Summary of Contents for DIO-1616B-LPE

Page 1: ...PC HELPER Digital I O Board with Opto Isolation for PCI Express Low Profile DIO 1616B LPE User s Guide CONTEC CO LTD ...

Page 2: ...iler Product Configuration List Board DIO 1616B LPE 1 Standard sized bracket 1 First step guide 1 Disk 1 API PAC W32 1 Warranty Certificate 1 Serial number label 1 1 Driver software API PAC W32 User s Guide this guide XXXXXXXXXXXXX XXXXXXXXXXXXX First step guide First step guide DIO 1616B LPE Disk 1 API PAC W32 Standard sized bracket Product Registration Card Warranty Certificate Serial No Label P...

Page 3: ...nge 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 Tr...

Page 4: ...on 6 Handling Precautions 7 Environment 8 Inspection 8 Storage 8 Disposal 8 2 SETUP 9 What is Setup 9 Using the Board under Windows Using the Driver Library API PAC W32 9 Using the Board under an OS Other than Windows 9 Step 1 Installing the Software 10 About the driver to be used 10 Starting the Install Program 11 Select API DIO WDM 12 Step 2 Setting the Hardware 13 Replacing the Bracket 13 Parts...

Page 5: ...Signals 32 Output Circuit 32 Connection to the LED 33 Example of Connection to TTL Level Input 33 Connecting the Sink Type Output and Sink Output Support Input 34 4 FUNCTION 35 Data I O Function 35 Data Input 35 Data Output 35 Monitoring Output Data 35 Digital Filter 36 Digital Filter Function Principle 36 Set Digital Filter Time 37 Interrupt Control Function 38 Disabling enabling Interrupts 38 Se...

Page 6: ...ng the Help File 44 Using Sample Programs 44 Uninstalling the driver 44 6 ABOUT HARDWARE 45 For detailed technical information 45 Hardware specification 45 Block Diagram 47 Differences between DIO 1616B LPE and PIO 16 16B PCI H PIO 16 16B LPCI H DIO 1616B PE 48 ...

Page 7: ...vi DIO 1616B LPE ...

Page 8: ...n for LabVIEW Features Opto coupler isolated input supporting current sink output and opto coupler isolated open collector output current sink type This product has the opto coupler isolated input 16ch supporting current sink output whose response speed is 200 sec and opto coupler isolated open collector output 16ch current sink type Common terminal provided per 16ch capable of supporting a differ...

Page 9: ...tection circuit Zener diodes are connected to the output circuits to protect against surge voltages Similarly overcurrent protection circuits are fitted to each group of 8ch outputs Functions are compatible with PCI Express compatible board DIO 1616B PE and PCI compatible board PIO 16 16B PCI H The functions same with PCI Express compatible board DIO 1616B PE and PCI compatible board PIO 16 16B PC...

Page 10: ...ite http www contec com apipac Linux version of digital I O driver API DIO LNX Stored on the bundled media driver library API PAC W32 The API DIO LNX is the Linux version driver software which provides device drivers modules by shared library and kernel version Various sample programs of gcc are provided For more details on the supported OS applicable language and how to download the updated versi...

Page 11: ...0 5P 0 5m Accessories Option Screw Terminal Unit M3 terminal block 50 points EPD 50A 1 2 Screw Terminal Unit M3 terminal block 37 points EPD 37A 1 3 Screw Terminal Unit M3 5 terminal block 37 points EPD 37 3 Termination Panel M3 DTP 3A 3 Termination Panel DTP 4C 3 Signal Monitor for Digital I O CM 32L 3 1 Spring up type terminal is used to prevent terminal screws from falling off 2 PCB50PS P optio...

Page 12: ...nly 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 th...

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: ...age When storing this product keep it in its original packing form 1 Put the 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 16: ...media 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 Hardware Step 4 Initializing the Software Step 5 Operation Checks If Setup fails to be performed normally see the Setup Trou...

Page 17: ...If you use this product with digital input and output high performance driver API DIO WDM If API DIO 98 PC using existing systems continue to use API DIO 98 PC Please note that the API DIO 98 PC does not support Windows 8 or later and the 64 bit OS Use the API DIO 98 PC If you are installing from media attachments select all from the Installer later in this chapter and starts the execution environ...

Page 18: ...ears automatically If the panel does not appear run drive letter AUTORUN exe 3 Click on the Install Development or Execution Environment button When using the Windows Vista driver is automatically installed Before installing the software in Windows Vista Windows XP Server 2003 and 2000 log in as a user with administrator privileges CAUTION ...

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

Page 20: ...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 Figure 2 1 Replacing the Bracket Use a flathead screwdriver or hexagonal spanner to undo and tighten the screws Remove the screws and...

Page 21: ...sh 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 board ID as shown below Figure 2 3 Board ID Settings SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 Power supply setting jumper JP1 JP4 JP1 4 1 2 3 D...

Page 22: ...A current maximum Note in this case that the board can supply the following output current DIO 1616B LPE 170 mA The both internal and external supply must not be used simultaneously Or the supply will be broken down Setting method Jumpers JP1 JP4 on the board are used to select the internal or external power supply Figure 2 4 Power supply setting for driving the opto coupler CAUTION Use internal p...

Page 23: ...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 or extension unit s power is turned on Otherwise the board may malfunction overheat or cause a failure Be sure that the personal computer power is turned off Make...

Page 24: ...cannot be properly installed unless the resources I O addresses and interrupt level for the board can be allocated Before attempting to install the board first determine what PC resources are free to use The resources used by each board do not depend 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 on...

Page 25: ...forming 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 click on the Next ...

Page 26: ...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 When you install this product the displayed board name is DIO 1616B PE DIO 1616B LPE 2 The installed hardware appears under the CONTEC Devices node Op...

Page 27: ... 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 When you install this product the displayed board name is DIO 1616B PE DIO 1616B LPE You have now finished installing the initial setting of Software CAUTION The name of the board you have just added is displayed DIO 1616B PE DIO 1616B ...

Page 28: ... Check Method Connect the board to a remote device to test the input output and check the execution environment The Check Mate CM 32L comes in handy when you check digital I O boards Check the board with the factor defaults untouched Connection diagram To connect a device other than the Check Mate see Chapter 3 External Connection CM 32L Option cable PCE50 37PS 0 5P and PCB37P or PCB37PS Connector...

Page 29: ...2 Setup 22 DIO 1616B LPE Using the Diagnosis Program Starting the Diagnosis Program Open the Properties page of the device that was used for the software initialization and press the Diagnosis button ...

Page 30: ... allows the data to output or display Interrupt Displays the number of interrupts detected bit by bit When you install this product the displayed board name is DIO 1616B LPE 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 m...

Page 31: ...le 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 When you install this product the displayed board name is DIO 1616B LPE CAUTION CAUTION The name of the board you have just added is displayed DIO 1616B LPE ...

Page 32: ...he Diagnosis Program is coded with API DIO WDM functions As long as the board operates with the Diagnosis Program it is to operate with other applications as well In such cases review your program while 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 CAUTION The na...

Page 33: ...2 Setup 26 DIO 1616B LPE ...

Page 34: ...the connectors Connector shape To connect 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 CN1 Connector used 50 Pin Mini Ribbon connector 10250 52A2JL mfd by 3M Applilcable connector 10150 ...

Page 35: ...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 of the external device IP 0 1 When the external power supply is selected its positive side is connected to this pin When the internal power supply is used this pin outputs power at 12 V These pins are common to 16 input signal pins OP 2 3 When the external po...

Page 36: ... or board types For details refer to API DIO HELP available after installing API PAC W32 Table 3 1 Logical Ports Logical Bits and Connector Signal Pins D7 D6 D5 D4 D3 D2 D1 D0 Input logical port 0 I 07 7 I 06 6 I 05 5 I 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...

Page 37: ...n device as a digital value Input Circuit I xx represents the input pin Figure 3 3 Input Circuit The input circuits of interface is illustrated in Figure 3 3 The signal inputs are isolated by opto couplers ready to accept current sinking output signals The board therefore requires an external power supply to drive the inputs The power requirement for each input pin is about 5 1mA at 24VDC about 2 ...

Page 38: ...E 31 Connecting a Switch When the switch is ON the corresponding bit contains 1 When the switch is OFF by contrast the bit contains 0 Figure 3 4 An Example to use Input I 00 Board side Switch I 00 CN1 35pin Input minus common CN1 36pin ...

Page 39: ...to coupler isolated open collector output current sink type Driving the output section requires the on board internal power supply or the external power supply The rated output current per channel is 100mA at maximum The output section can also be connected to a TTL level input as it uses a low saturated transistor for output The residual voltage low level voltage between the collector and emitter...

Page 40: ... bit the corresponding LED comes on When 0 is output to the bit in contrast the LED goes out Figure 3 6 An Example to use Output O 20 Example of Connection to TTL Level Input Figure 3 7 Connection Example of Output and TTL level Input Signal CAUTION Board Output plus common CN1 39pin O 20 CN1 48pin 5 1kΩ External powwer supply 12 24VDC Output plus common Output Output minus common TTL level input ...

Page 41: ...t board and a sink output support input input board Refer to this connection example when you connect such boards to each other Figure 3 8 Example of Connecting the Sink Type Output and Sink Output Support Input External power supply 12 24VDC Output plus common Output sink type Output minus common Input board Output board Input plus common Input Compatible with sink output ...

Page 42: ...put 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 When the PC is turned on all output are reset to 0 OFF Monitoring Output Data The DIO 1616B LPE can r...

Page 43: ...gnal level during the sampling time of the clock signal When the signal level remains the same for the digital filter set time the digital filter recognizes that signal as the input signal and changes the signal level of the PC If the signal level changes at a frequency shorter than the set time therefore the level change is ignored Figure 4 1 Digital Filter Function Principle Input Signal Filter ...

Page 44: ... Digital Filter Time 0 00h The filter function is not used 7 07h 16 sec 14 0Eh 2 048msec 1 01h 0 25 sec 8 08h 32 sec 15 0Fh 4 096msec 2 02h 0 5 sec 9 09h 64 sec 16 10h 8 192msec 3 03h 1 sec 10 0Ah 128 sec 17 11h 16 384msec 4 04h 2 sec 11 0Bh 256 sec 18 12h 32 768msec 5 05h 4 sec 12 0Ch 512 sec 19 13h 65 536msec 6 06h 8 sec 13 0Dh 1 024msec 20 14h 131 072msec Figure 4 2 Digital Filter Time and Sett...

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

Page 46: ...u html Version information on each API TOOL English APIPAC Each installer AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF Each INF file for OS WDM Win2000 Win95 linux Linux 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: ...ecified bits Hardware digital filtering that prevents chattering 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 CONTEC API PAC W32 from the Start Menu select Programs CONTEC API PAC W32 API DIO...

Page 48: ...ged the folder of the sample program is different Running a Sample Program 1 Click on the Start button on the Windows 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 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 pr...

Page 49: ...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 50: ...er API DIO LNX is supplied as a compressed file linux dio cdioXXX tgz on the bundled API PAC W32 Note XXX represents the driver version Mount the bundled media 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 in...

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

Page 52: ...rupts 1 common in 16ch Input resistance 4 7k Input ON current 2 0mA or more Input OFF current 0 16mA or less 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 200 sec Output Output format Opto coupler isolated open collector o...

Page 53: ...y 3 3VDC 350mA 12VDC 350mA When using the external power supply 3 3VDC 350mA 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 55g 2 When using the internal power supply the input section consumes up to 40mA and the SW section of output c...

Page 54: ...6 About Hardware DIO 1616B LPE 47 Block Diagram Figure 6 1 Block Diagram ...

Page 55: ...nal power supply 5VDC 150mA When using the internal power supply 3 3VDC 350mA 12VDC 350mA When using the external power supply 3 3VDC 350mA Bus specification PCI Express Base Specification Rev 1 0a x1 PCI 32bit 33MHz Universal key shapes supported PCI 32bit 33MHz Universal key shapes supported PCI Express Base Specification Rev 1 0a x1 Dimension mm 121 69 L x67 90 H 176 41 L x105 68 H 121 69 L x63...

Page 56: ......

Page 57: ...Osaka 555 0025 Japan Japanese http www contec co jp English http www contec com Chinese http www contec com cn No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD 07222015 07222015 Management No NA04338 Parts No LYTA361 ...

Reviews: