PC-HELPER
Digital I/O Board with Opto-Isolationfor PCI
PIO-32/32B(PCI)V
User’s Guide
CONTEC CO.,LTD.
Page 1: ...PC HELPER Digital I O Board with Opto Isolation for PCI PIO 32 32B PCI V User s Guide CONTEC CO LTD...
Page 2: ...ow Check with the following list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List PIO 32 32B PCI V 1 First step guide 1 CD ROM 1...
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...
Page 4: ...ng 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 Windows Using Soft...
Page 5: ...g a Device to a Connector 27 Connector Pin Assignment 28 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 30 Connecting Input Signals 31 Input Circuit 31 Connecting a Swi...
Page 6: ...g Sample Programs 43 Uninstalling the Driver Libraries 45 About Software for Linux 46 Driver Software Install Procedure 46 Accessing the Help File 47 Using Sample Programs 47 Uninstalling the driver 4...
Page 7: ...vi PIO 32 32B PCI V...
Page 8: ...functions such as Visual Basic or Visual C C Features A different external power supply can be used for each common pin as it is shared by 16 channels The PCI bus personal computer and the I O interfa...
Page 9: ...Linux version of digital I O driver API DIO LNX Supplied Stored on the API PAC W32 CD ROM This driver is used to control CONTEC digital I O boards cards from within Linux You can control CONTEC digita...
Page 10: ...able with 96 Pin Half Pitch Connector at One End Mold Type PCA96PS 0 5P 0 5m PCA96PS 1 5P 1 5m PCA96PS 3P 3m PCA96PS 5P 5m Flat Cable with 96 Pin Half Pitch Connector at One End PCA96P 1 5 1 5m PCA96P...
Page 11: ...EPD 37A 2 Screw Terminal EPD 37 2 Signal Monitor for Digital I O CM 32 PC E 2 Connection Conversion Board 96 Pin 37 Pin x 2 CCB 96 3 1 A PCB96P or PCB96PS optional cable is required separately 2 A PCB...
Page 12: ...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 purchas...
Page 13: ...destruction 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 resul...
Page 14: ...nals with industrial alcohol Do not install or remove the board to or from the slot while the computer s power is turned on Otherwise the board may malfunction overheat or cause a failure Doing so cou...
Page 15: ...ard has no dust or foreign matter adhering The gold plated leads of the bus connector have no stain or corrosion Check that the bus connector of the board and its cable have been plugged correctly Sto...
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...
Page 17: ...this manual This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 5 About Software Chapter 6 About Hardware For using the board under an OS other than Windows such as MS DOS s...
Page 18: ...ng system as Windows XP Although some user interfaces are different depending on the OS used the basic procedure is the same Starting the Install Program 1 Load the CD ROM API PAC W32 on your PC 2 The...
Page 19: ...IO 32 32B PCI V Selecting the Digital I O Driver 1 The following dialog box appears to select Driver Type and Install Type 2 Select Digital I O 3 Select Driver Help etc Full install 4 Click on the Ins...
Page 20: ...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...
Page 21: ...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 swi...
Page 22: ...The 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 rotar...
Page 23: ...urrent maximum Note that the output current that can be supplied to the external device is therefore 110mA maximum in case you use internal power supply for all the input and output channels The both...
Page 24: ...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 overhe...
Page 25: ...ll 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 t...
Page 26: ...ard Source folder The setup information INF file is contained in the following folder on the bundled CD ROM Windows XP 2000 INF Win2000 Dio PCI Windows Me 98 95 INF Win95 Dio PCI Example of specifying...
Page 27: ...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...
Page 28: ...ialization of the Driver library Invoking API TOOL Configuration 1 Open the Start Menu then select Programs CONTEC API PAC W32 API TOOL Configuration 2 API TOOL Configuration detects boards automatica...
Page 29: ...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 sup...
Page 30: ...Program Starting the Diagnosis Program Select the board in the API TOOL Configuration windows then run the Diagnosis Program The name of the board you have just added is displayed The name of the boar...
Page 31: ...pt 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 DioWaitE...
Page 32: ...n 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 repor...
Page 33: ...agnosis Program is coded with API TOOL 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 payin...
Page 34: ...mation available here when connecting an external device Using the On board Connectors Connecting a Device to a Connector To connect an external device to this board plug the cable from the device int...
Page 35: ...output 4 port output Common minus pin for 4 5 output ports Common plus pin for 2 3 input ports 3 port input 2 port input Common minus pin for 2 3 input ports N C 1 port input 0 port input Common minus...
Page 36: ...4 5 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 OP 6 7 O 77 O 76 O 75 O 74 O 73 O 72 O 71 O 70 O 67 O 66 O 65 O 64 O 63 O 62 O 61 O 60 ON 6 7 Common plus pin for 6 7 output ports 7 port out...
Page 37: ...I 25 21 I 24 20 I 23 19 I 22 18 I 21 17 I 20 16 Input logical port 3 I 37 31 I 36 30 I 35 29 I 34 28 I 33 27 I 32 26 I 31 25 I 30 24 D7 D6 D5 D4 D3 D2 D1 D0 Output logical port0 O 47 7 O 46 6 O 45 5 O...
Page 38: ...xx un connect Swich Swich Input pin Optocoupler Minus common un connect Figure 3 4 Input Circuit PIO 32 32B PCI V The input circuits of interface blocks of the PIO 32 32B PCI V are illustrated in Figu...
Page 39: ...ecting a Switch I 00 CN1 A03 pin Board side When the switch is ON the corresponding bit contains 1 When the switch is OFF by contrast the bit contains 0 Switch Input minus common CN1 A01 pin Figure 3...
Page 40: ...ctor output current sink type Driving the output section requires an additional power supply isolated from the PC system The board offers you an on board isolated 12VDC power supply in option The rate...
Page 41: ...t to a relevant bit the corresponding LED comes on When 0 is output to the bit in contrast the LED goes out Figure 3 7 An Example to use Output O 40 PIO 32 32B PCI V Example of Connection to TTL Level...
Page 42: ...ut 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 plus common Output sink type Outp...
Page 43: ...3 External Connection 36 PIO 32 32B PCI V...
Page 44: ...ut 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...
Page 45: ...tal Filter Input to PC Figure 4 1 Digital Filter Function Principle Set Digital Filter Time Set the digital filter time to 0 20 14h Setting the digital filter time to 0 disables digital filtering It i...
Page 46: ...ain bit has been interrupt disabled no interrupt occurs even when the corresponding input signal changes its level To let interrupts occur enable the corresponding interrupt mask bit for interruptions...
Page 47: ...requesting an interrupt When an interrupt status is input the interrupt request signal and the interrupt status are cleared automatically CAUTION All of the interrupt status bits are set to 0 when the...
Page 48: ...tml 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 cn...
Page 49: ...of specified bits Hardware digital filtering that prevents chattering For details refer to the help file The help file provides various items of information such as Function Reference Sample Programs...
Page 50: ...et by API TOOL Configuration in the DrvNo and GrpNo fields Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC AP...
Page 51: ...d bit Sample program 6 Services interrupts of a specified board Sample program 7 Provides process control of a specified board Sample program 8 Performs trigger monitoring of a specified board Sample...
Page 52: ...utton on the Windows taskbar From the Start Menu select Settings Control Panel 2 Double click on Install or Remove Programs and Windows components in the Control Panel 3 Select CONTEC API DIO 98 PC xx...
Page 53: ...driver 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 a...
Page 54: ...le 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 manu...
Page 55: ...5 About Software 48 PIO 32 32B PCI V...
Page 56: ...terrupt signal INTA An interrupt is generated at the rising edge HIGH to LOW transition or falling edge LOW to HIGH transition Response time 200 sec within Output Output format Opto isolated open coll...
Page 57: ...n mm 176 41 L x 105 68 H Weight 215g 1 Data 0 and 1 correspond to the High and Low levels respectively 2 When the internal power supply is used the input section consumes a maximum of 80 mA and the ou...
Page 58: ...ors Opto coupler Transistors External Digital Input Port0 8 channels Group 0 External Digital Input Port1 8 channels Group 1 External Digital Input Port2 8 channels Group 2 External Digital Input Port...
Page 59: ...I V 2n 8 x 106 PIO 32 32B PCI H 2n 16 x 106 3 Protective elements provided for outputs PIO 32 32B PCI V Surge protector Zener diode PIO 32 32B PCI H Nothing 4 Different in interrupt level resource all...
Page 60: ...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 wri...