background image

 

 

 

 

 

PC-HELPER 

 

 

Digital I/O Board for PCI 

DIO-0808L-PCI 

User’s Guide 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTEC CO.,LTD.

 

 

Summary of Contents for DIO-0808L-PCI

Page 1: ...PC HELPER Digital I O Board for PCI DIO 0808L PCI User s Guide CONTEC CO LTD ...

Page 2: ...h the following list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board One of the following DIO 0808L PCI First step guide 1 DVD ROM 1 API PAC W32 1 1 The DVD ROM contains the driver software and User s Guide this guide Board CD ROM API PAC W32 First step guide ...

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

Page 4: ...orage 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 Step 2 Setting the Hardware 13 Parts of the Board and Factory Defaults 13 Setting...

Page 5: ...ting a Switch 30 Connecting Output Signals 31 Output Circuit 31 Connection to the LED 32 Example of Connection to TTL Level Input 32 Connecting the Sink Type Output and Sink Output Support Input 33 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 36 Interrupt Control Function 37 ...

Page 6: ...DIO 0808L PCI v 6 ABOUT HARDWARE 43 Hardware specification 43 Block Diagram 45 ...

Page 7: ...vi DIO 0808L PCI ...

Page 8: ...oltages of 12 24 VDC for I O Opto coupler bus isolation As the PCI bus PC is isolated from the input and output interfaces by opto couplers this product has excellent noise performance You can use all of the input signals as interrupt events You can use all of the input signals as interrupt events and also disable or enable the interrupt in bit units and select the interrupt edge Windows compatibl...

Page 9: ...hat provides products in the form of Win32 API functions DLL Various sample programms such as Visual Basic and Visual C etc and diagnostic program useful for checking operation is provided Operating environment OS Windows 8 7 Vista Windows XP Server 2008 Server 2003 2000 Adaptation language Visual Basic Visual C Visual C You can download the updated version from the CONTEC s Web site http www cont...

Page 10: ...P 1 5 1 5m PCA37P 3 3m PCA37P 5 5m Shelded Cable with a 37 Pin D SUB Connector PCA37PS 0 5P 0 5m PCA37PS 1 5P 1 5m PCA37PS 3P 3m PCA37PS 5P 5m Accessories Option Screw Terminal M3 x 37P EPD 37A 1 2 Screw Terminal M3 5 x 37P EPD 37 1 General Purpose Terminal M3 x 37P DTP 3C 1 Screw Terminal M2 5 x 37P DTP 4C 1 1 A PCB37P or PCB37PS optional cable is required separately 2 Spring up type terminal is ...

Page 11: ...rge only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original boards The warranty is not applicable if the device has been tampered with or damaged...

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

Page 13: ...th 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 expansion unit power is turned off Make sure that your PC or expansion unit can supply ample power to all the boards installed Insufficiently en...

Page 14: ...e it safely Check that the board has no dust or foreign matter adhering Check that the bus connector of the board and its cable have been plugged correctly 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 then put it in the box 3 Store the package at room temperature at a place free from direct sunlight mois...

Page 15: ...1 Before Using the Product 8 DIO 0808L PCI ...

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

Page 17: ...ng the Board under an OS Other than Windows For using the board under an OS other than Windows see the following parts of this manual This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware ...

Page 18: ...rent depending on the OS used the basic procedure is the same Starting the Install Program 1 Load the DVD ROM API PAC W32 on your PC 2 The API PAC W32 Installer window appears automatically If the panel does not appear run DVD ROM drive letter AUTORUN exe 3 Click on the Install Development or Execution Environment button When using the Windows 8 7 Vista driver is automatically installed CAUTION Be...

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: ...expansion slot The 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 Interface connector CN1 DIO 0808L PCI SW1 BOARD ID BOARD ID SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 37 20 19 1 36 18 21 2 Board I...

Page 21: ...he 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 SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 Board ID 0 Factory setting Figure 2 2 Board ID Settings SW1 ...

Page 22: ...I bus slot 3 3 V PCI bus slot A B Slit for 5 V PCI bus slot Slit for 3 3 V PCI bus slot CAUTION Do not touch the board s metal plated terminals edge connector 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 comp...

Page 23: ... 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 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 resou...

Page 24: ...er on the DVD ROM which contains 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 DVD ROM INF Wdm Dio INF Wdm DIO PCI ...

Page 25: ...2 Setup 18 DIO 0808L PCI You have now finished installing the hardware The name of the board you have just added is displayed DIO 0808L PCI ...

Page 26: ...procedure 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 Devi...

Page 27: ... 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 0808L PCI ...

Page 28: ...d 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 text the input output and check the execution environment For this board prepare an external power supply 1...

Page 29: ...2 Setup 22 DIO 0808L PCI Using the Diagnosis Program Starting the Diagnosis Program for Use of API DIO WDM Click the Diagnosis button on the device property page to start the diagnosis program ...

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 0808L PCI The name...

Page 32: ...owing 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 8 7 Vista XP Server 2008 Server 2003 2000 Turn off the power to your PC then unplug the boar...

Page 33: ...2 Setup 26 DIO 0808L PCI ...

Page 34: ... a Device to a Connector To connect an external device to this board plug the cable from the device into the interface connector shown below CN1 37 20 19 1 36 18 21 2 Interface connector CN1 Connector used 37 pin D SUB female connector DCLC J37SAF 20L9 mfd by JAE Thumb screw UNC 4 40 inch screw Applicable connectors 17JE 23370 02 D8C mfd by DDK Male FDCD 37P mfd by HIROSE Male DC 37P N mfd by JAE ...

Page 35: ...ort Input port I 00 I 07 8 input signal pins Connect output signals from the external device to these pins O 00 O07 8 output signal pins Connect these pins to the input signal pins of the external device IP Connect the positive side of the external power supply These pins are common to 8 input signal pins OP Connect the positive side of the external power supply These pins are common to 8 output s...

Page 36: ...e virtual port and bit numbers that enable programming independent of board I O addresses or board types Table 3 1 Logical Ports Logical Bits and Connector Signal Pins D7 D6 D5 D4 D3 D2 D1 D0 Input logical port I 07 7 I 06 6 I 05 5 I 04 4 I 03 3 I 02 2 I 01 1 I 00 0 D7 D6 D5 D4 D3 D2 D1 D0 Output logical port O 07 7 O 06 6 O 05 5 O 04 4 O 03 3 O 02 2 O 01 1 O 00 0 Notes I xx represents the input s...

Page 37: ...n Switch Opto coupler Input pin Switch Un connected Un connected I xx represents the input pin Figure 3 3 Input Circuit 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 6mA at 12VDC Connecting a Switch I 00 ...

Page 38: ...the output section requires an 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 w...

Page 39: ...When 1 is output to a relevant 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 00 Example of Connection to TTL Level Input Output plus common Output Output minus common TTL level input VCC Input board GND 2k External power supply 12 24VDC Figure 3 7 Connection Example of Output and TTL level Input Signal ...

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

Page 41: ...3 External Connection 34 DIO 0808L PCI ...

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 CAUTION When the PC is turned on all output are reset to 0 OFF Monitoring Output Data The DIO 0808L P...

Page 43: ... 0 20 14h Setting the digital filter time to 0 disables digital filtering It is set to 0 when the power is turned on Figure 4 2 shows the relationships between digital filter time settings and the actual digital filter times Digital Filter Time sec 2n 8 x 106 n setting data 0 20 Setting Data n Digital Filter Time Setting Data n Digital Filter Time Setting Data n Digital Filter Time 0 00h The filte...

Page 44: ...the input logic for interruption bit by bit If you set an interrupt edge select bit to 0 an interrupt occurs when the input value to the corresponding bit changes from 0 to 1 at the fall of the input signal from High to Low If you set an interrupt edge select bit to 1 an interrupt occurs when the input value to the corresponding bit changes from 1 to 0 at the rise of the input signal from Low to H...

Page 45: ...4 Function 38 DIO 0808L PCI ...

Page 46: ...tm 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: ...LP to display help information Using Sample Programs Sample programs have been prepared for specific basic applications For the API DIO WDM The sample programs are stored in Program Files CONTEC API PAC W32 DIOWDM Sample Use these sample programs as references for program development and operation check Running a Sample Program 1 Click on the Start button on the Windows taskbar 2 For the API DIO W...

Page 48: ...o 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 confirm whether to uninstall Select the Delete the driver so...

Page 49: ... My Computer Control Panel Add and Remove Applications to uninstall the device driver 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 Add and Remove Applications to uninstall the development environment Select CONTEC API WDM VerX XX development environment...

Page 50: ... 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 output current sink type Negative logic 1 Number of output signal channels 8ch 1 common Output rating Output voltage 35VDC...

Page 51: ...ing the master board Isolated Power 1000Vrms External circuit power supply 12 24VDC 10 Power consumption 5VDC 90 5mA Operating condition 0 50 C 10 90 RH No condensation Bus specification PCI Base Specification Dimension mm 121 69 L x 105 68 H Connector 37 pin D SUB connector F female type DCLC J37SAF 20L9E mfd by JAE or equivalent to it Weight 84 4g Board Dimensions mm 121 69 L 105 68 H The standa...

Page 52: ...I 45 Block Diagram Control Circuits PCI BUS Interrupt Control Circuit External digital Input Port 0 8 channels Group 0 Opto coupler Transistors External digital Output Port 0 8 channels Group 1 Opto coupler Figure 6 1 Block Diagram ...

Page 53: ...a ku 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 07042014 Management No NA03525 Parts No LYRS561 ...

Page 54: ...About Terminal 사용자 메뉴얼 부 록 Terminal 및 Cable은 옵션 품목입니다 ...

Page 55: ... 04 I 05 I 06 ON O 00 O 01 O 02 O 03 O 04 O 05 O 06 I 07 O 07 output Port Input Port Comon plus pin for output Port DIO 0808L PCI 1 5 DIO 0808L PCI XTB 20H XTB 20H 1 ON 2 I 00 3 I 01 4 I 02 5 I 03 6 I 04 7 I 05 8 I 06 9 I 07 18 IP IN I 00 I 01 I 02 I 03 I 04 I 05 I 06 I 07 IP 20 ON 21 O 00 22 O 01 23 O 02 24 O 03 25 O 04 26 O 05 27 O 06 28 O 07 37 OP ON O 00 O 01 O 02 O 03 O 04 O 05 O 06 O 07 OP I...

Page 56: ... is an integration type in which PCB is not exposed to outside it is an electrically safe structure for dust moisture etc and fire retardant material is used for outer case Characteristics Rated Voltage 125V AC 24V DC Rated current 1A Insulation resistance 100 이상 DC 500V Withstand Voltage AC500V 1min Applicable Wire 1 25 MAX Terminal Screw M3 X 7L Screw torque 1 2Nㆍm 12Kgfㆍcm Ambient Temperature 1...

Page 57: ...About Terminal ...

Reviews: