Home
PIO-16/16L(PCI)
Contents
1. 18 Step 5 Checking Operations 1 15 5 19 What 1s the Diagnosis Program sisme ananas ostsee alamayan 19 Check Method 19 Using the Diagnosis Program Setup Troubleshooting 23 Symptoms and 0 6 23 If your problem cannot be 1 23 3 EXTERNAL CONNECTION 25 Using theOn boardConnectors eserse 25 Connecting a Device toa Connectoren ideesse nreno eooo osooso neones eeens eosi 25 Connector PINVASSIS NMED iecsccscccccecceseresecseccceecscaccicecscencecenenccnctaccerecnedacneccenedencndetensdvescuvenenecuccdcsereds 26 Relationships between API PAC W32 Logical Ports Bits and Connector Signal Pins 28 Connecting Input Siemals 30 input Cream D B 30 Connecting aS Wit Meissenin eoe eena ie E EE a a RAR 30 ODUNCU EA EEE EEEE 31 Output Circuit 31 Connection tothe LE Dia 32 ExampleofConnectiontoTTLlevellMmpit 32 Connecting the SinkTypeOutputandSinkOutputSupportInput 33 4
2. Automatic search for a better driver Recommended lt Back Cancel CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 15 2 Setup 2 Specify that folder on the CD ROM which contains the setup information INF file to register the board gt CONTEC Co Ltd Windows has finished installing the new hardware di The name of the board you have just added is displayed P10 16 16L PCDH PI 32L PCDH PO 32L PCDH Cancel 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 the folder for use under Windows Me Apipac bf Apipac H O FreeSamples 8421 Help hf E 2000 2121 winds ZI 4 BufCard O Cnt 2421 Dio 21 986 Opci Q Isa PCCard St lt INF Win95 Dio PCI Fsio E Gpib J Sio i H Sme Manual g C2 Release CONTEC CO LTD 16 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup A CAUTION In Windows XP the Hardware Wizard displays the following alert dialog box when you have located the INF file This 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
3. 2 Double click on Add Remove Programs in the Control Panel 3 Select CONTEC API DIO 98 PC xx from the application list displayed then click on the Add Remove button Follow the on screen instructions to uninstall the function libraries Add Remove Programs Properties 2 2 x Install Uninstall Windows Setup Startup Disk To install a new program from a floppy disk or CD ROM drive click Install Windows To remove a program or to modify its installed components select it from the list and click Add Remove CONTEC API DIO 98 PC W95 Verd 20 Develop CONTEC API DIO 98 PCIW95 Ver4 20 Runtime The following software be automatically removed by v CONTEC CO LTD 42 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 5 About Software CD ROM Directory Structure Autorun exe Readmej htm APIPAC AIO Disk 1 Disk 2 FreeSamples Builder 1 0 HELP Aio Cnt INF WDM VVin2000 VVin95 Manual Readme Release l API NT l API W95 CONTEC CO LTD Installer Main Window Version information on each API TOOL Sample programs in Delphi and Builder HELP file OS specific INF file folder Windows 9X 2000 Reference manual PDF form Driver readme file folder For creation of a user specific install program PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 43 5 About Software CONTEC CO LTD
4. SW1 BOARD ID 9 122 Factory setting o Board ID 0 Figure 2 2 Board ID Settings SVV1 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 13 2 Setup Plugging the Board 1 Before plugging the board shut down the system unplug the power code of your PC 2 Remove the cover from the PC so that the board can be mounted 3 Plug the board into an expansion slot 4 Attach the board bracket to the PC with a screw 5 Put the cover back into place As 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 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 energized boards could malfunction overheat or cause a failure CONTEC CO LTD 14 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup Step 3 Installing the Hardware For using an expansion board under Windows you have to let the OS detect the I O addresses and IRQ to be used by the b
5. Operating condition 0 to 50 C 10 to 90 RH No condensation CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 45 6 About Hardware Table 6 1 Specification PIO 16 16L PCIH gt 2 2 gt Specification Allowable distance of Approx 50m depending on wiring environment signal extension PCI bus specification 33bit 33MHz 5V 3 3V 121 691 x 105 68 H Weight 130g 1 Data 0 and 1 correspond to the High and Low levels respectively Board Dimensions 121 69 L 3 105 68 H mm The standard outside dimension L is the distance from the end of the board to the outer surface of the slot cover CONTEC CO LTD 46 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 6 About Hardware PI 32L PCDH Table 6 2 Specification lt PI 32L PCDH gt Specification Input format Opto isolated input Compatible with current sink output Negative logic 1 Number of input signal 32 channels all available for interrupts One common power supply per 16 channels channels Input resistance 4 7kQ Input OFF current 0 16mA or less interrupt 32 interrupt input signals are arranged into a single output of interrupt signal INTA An interrupt is generated at the rising edge HI GH to LOW transition or falling edge LOW to HIGH transition Common section VO address Any 32 byte boundary Max board count for 16 boards including the master board connection Dielectric strength 1000Vrms External c
6. Wait Configuration Measurement Time Ghow Diagnosis Repo m r Selected Board Board Name jpo 6 16L PCIJH Device Name poo IRQ Driver No ee Group No E displayed input Pi 8255 Made DERE on ene PI 32L PCDH Bit Bit BitS Bit4 Bits BiZ Biti Bit Port Port A zl mx az izm x m gt 2 m Im Im 1 SS SS 8 SS BF 5 tox pa a eS izm Pot C Input Output r Output Port OFF ONG Bit Bit6 BitS Bi4 Bi3 Bit2 BitO Port Count 1 1 20 3 1 ai m InteruptO fg ia x m m ii 1 T isi faal ll zz izm lem iza sal FT R Tam imi iri izi FR imi im i i Se ee Interrupt 3 Tu 2 A diagnosis report is displayed as shown below CONTEC Digital 1 0 Diagnosis Report Bi xi Date 2003 03 10 10 53 10 OS Microsoft Windows Me 4 90 3000 1 Check Files Driver Files installed Configuration Files Installed 2 Settings of Configuration Device 01000 Driver No 2 Group No 1 Board No 1 Board Name PIO 16 16L PCI 0 Address 1020h RO 9 Not Use Not Use Not Use BoardID 0 3 Diagnosis displayed PIO 16 16L PCI H PI 32L PCDH PO 32L PCI H The name of the board you have just added is PIO 16 16L PCI H The name of the board you h
7. power supply 12 to 24VDC 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 8 An Example to use Output 0 20 lt PIO 16 16L PCI DH gt lt PO 32L PCDH gt Example of Connection to TTL Level Input External power supply 12 to 2NDE Input board Output plus common 2k0 Output alt L O Output minus common Y LY TTL level input Figure 3 9 Connection Example of Output and TTL level Input Signal lt PIO 16 16L PCI H gt lt PO 32L PCDH gt 32 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 3 External Connection Connecting the Sink Type Output and Sink Output Support Input The following example shows a connection between a sink type output output 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 to 24VDC Output board Input board Input plus common Output plus WWW Output sink YKL K Input Compatible with sink output L Output minus common Figure 3 10 Example of Connecting the Sink Type Output and Sink Output Support Input CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 33 3 External Connection CONTEC CO
8. 1 Protective elements provided for outputs PO 32L PCDH Surge protector Zener diode PO 32L PCI Nothing 2 Different in board dimensions PO 32L PCDH 121 69 L x 105 68 mm PO 32L PCI 176 41 L x 106 68 H mm CONTEC CO LTD 54 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH A 46 737 LYCB531 10304111 CONTEC Group JAPAN U S A EUROPE KOREA CHINA TAIWAN Headquarters CONTEC Co LTD 3 9 31 Himesato Nishiyodogawa ku Osaka 555 0025 Japan Tel 81 6 6477 5219 Fax 81 6 6477 1692 E mail intsales osaka contec co jp CONTEC MICROELECTRONICS U S A INC 744 South Hillview Drive Milpitas CA 95035 U S A Tel 1 408 719 8200 Fax 1 408 719 6750 E mail tech support contecusa com CONTEC MICROELECTRONICS EUROPE B V Binnenweg 4 2132 CT Hoofddorp The Netherlands Tel 431 23 567 3030 Fax 31 23 567 3035 E mail tech support conteceu nl HYOJIN CONTEC Co LTD Ki im Bldg 399 Shindolim Dong Kuro ku Seoul Korea Tel 82 2 2636 4277 8 Fax 82 2 2636 4279 E mail product conteck com INTERNATIONAL CONTEC TECHNOLOOY CO LTD B 8F Hua Tong Building No B19 Che Gong Zhuang West Road Hai Dian District Beijing 100044 China Tel 86 10 8801 8228 Fax 86 10 8801 8209 E mail ict ict com cn SHANGHAI CONTEC MICROELECTRONICS CORP No 481 Gui Ping Road Cao He Jing Hi Tech Park Shanghai 200233 China Tel 86 21 6485 1907 Fax 86 21 6485 0
9. Block Dia Grain ua m adan alana s s n 49 Differences between the P1O 16 16L PCDH and 1 16 161 222 222 222222222 52 Differences between the PI 32L PCI H and PI 32L PCT Differences between the PO 32L PCDH and PO 32L PCI CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH v vi CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 1 Before Using the Product 1 Before Using the Product This chapter provides information you should know before using the product About the Board This board is a PCI compliant interface board for input output of digital signals The board can input and output digital signals at 12 to 24 VDC lt PIO 16 16L PCI H gt can input and output up to 16 channels lt PI 32L PCI H gt can input up to 32 channels lt PO 32L PCI H gt can output up to 32 channels Using the bundled API function library package API PAC W32 you can create Windows application software for this board in your favorite programming language supporting Win32 API functions such as Visual Basic or Visual C C Features 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 VO interface are isolated from each other by an opto coupler offering good noise immunity You can use all of the input signals as interrupt inputs You can also select the interrupt trigger edge o
10. button Hardware Installation The name of the board you have just added is The software you are installing for this hardwal displayed PIO 16 16L PCDH PI 32L PCDH has not passed Windows Logo testing to verif PO 32L PCDH with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing STOP Installation You have now finished installing the software CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 17 2 Setup Step4 Initializing the Software The API function library requires the initial setting to recognize the execution environment It is called the initialization of the Driver library Invoking API TOOL Configuration 1 Open the Start Menu then select Programs CONTEC API PAC W32 API TOOL Configuration F API TOOL Configuration 1 H xi File Edit Tool Diagnosis Utility Help H Ema a yea we 7 li Selected Device API DIO Setting Version Ver 4 20 1 Installed Boards Board Name Auto Detection Automatically detecting boards Please wait Notes 2 API TOOL Configuration detects boards automatically The detec
11. 0 25 24 23 0 22 0 20 23 22 21 20 19 18 17 16 37 36 35 34 33 32 30 Output logical port 3 31 30 29 28 27 26 24 Note O xx represent output signals respectively where xx indicates a logical bit Output logical port 2 A 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 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 29 3 External Connection Connecting Input Signals Connect the input signals to a device which can be current driven such as a switch or transistor output device The connection requires an external power supply to feed currents The board inputs the ON OFF state of the current driven device as a digital value Input Circuit Board 4 External device Vec amko o iPlus common ME n connect External Ta J power supply o o o 12 to 24VDC rr Optocoupler Input pin Swich i Vcc on 4 7kQ i 1 f 2 AA n connect o Input pin Swich Optocoupler put pi Input pin represent input signals Figure 3 5 Input Circuit lt PIO 16 16L PCIH gt lt PO 32L PCDH gt The input circuits of interface bl
12. 44 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 6 About Hardware 6 About Hardware This chapter provides hardware specifications and hardware related supplementary information Hardware specification PIO 16 16L PCDH Table 6 1 Specification PIO 16 16L PCDH gt 7 25 Specification Input format Opto isolated input Compatible with current sink output Negative logic 1 Number of input signal 16 channels all available for interrupts 1 common channels Input resistance 4 7kQ input ON current 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 HI GH to LOW transition or falling edge _OW to HIGH transition 200usec within Output format Opto isolated open collector output current sink type Negative logic 1 Number of output signal 16 channels 1 common channels Output tra voltage 35VDC Max t ating Output current current 100mA par channel Max Residual voltage with 0 5V or less Output current lt 50mA 1 0V or less Output current lt 100mA output on Surge protector Zener diode RD47F M NEC 2oousec within VO address Any 32 byte boundary Interruption level Max board count for 16 boards including the master board connection Dielectric strength 1000V rms External circuit power 12 to 24VDC 10 Power Power consumption 5VDC 200mA M ax SVDC 200mA Max
13. 8 channels Group 2 Interrupt Control Circuit 1 Opto Input Port 3 coupler 8 channels Group 3 i i P1 32L PCI H Figure 6 2 Block Diagram PI 32L PCIH gt 50 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH PO 32L PCDH Control Circuits PCI BUS tne Output Port 0 atel 8 channels Group lar Output Port 1 rransistors 8 channels Group 1 i la F Output Port 2 kase 1 8 channels Group 2 i ane Output Port 3 transistor 8 channels Group 3 Figure 6 3 Block Diagram lt PO 32L PCIDH gt CONTEC CO LTD 6 About Hardware PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 51 6 About Hardware Differences between the PIO 16 16L PCDH and PIO 16 16L PCI The PIO 16 16L PCDH is connector pin compatible with the conventional PIO 16 16L PCI but has the following differences from it 1 Different in the number of input signals available to interrupt requests PIO 16 16L PCDH All of 16 channels PIO 16 16L PCD 4 channels 2 Different in the expression to calculate the digital filter time n setting value PIO 16 16L PCDH 2n 8 x 106 PIO 16 16L PCI 2n 16 x 106 3 Protective elements provided for outputs PIO 16 16L PCDH Surge protector Zener diode PIO 16 16L PCD Nothing 4 D
14. Installing the Software This section describes how to install the Driver libraries Before installing the hardware on your PC install the Driver libraries from the bundled API PAC VV32 CD ROM The following description assumes the operating system as Windows Me 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 API PAC W32 Installer window appears automatically If the panel does not appear run CD ROM drive letter AUTORUN exe 3 Click on the Install the drivers button API PAC V 32 Installer This CD ROM contains API PAC W32 device drivers sample programs and INF files for hardware installation Pleage install following the procedure below 2 Hardware setup help menu 3 Configurate the board hardware setting N CAUTION Before installing the software in Windows XP 2000 or NT log in as a user with administrator privileges CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 9 2 Setup Selecting the Digital I O Driver 1 The following dialog box appears to select Driver Type and Install Type 2 Select Digital I O API DIO 98 PC W95 3 Select Driver Help etc Full install 4 Click on the Install button Serial Communication 1 510 98 5 Analog VO 10 98
15. LTD 34 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 4 Function 4 Function This section describes the features of the board Each function described here can be easily set and executed by using the bundled API function library For details refer to API DIO HELP available after installation Data I O Function Data Input When input 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 A CAUTION When the PC is turned on all output are reset to 0 OFF Monitoring Output Data The lt PIO 16 16L PCI H gt and lt PO 32L PCI H gt can read the state of the data currently being output without affecting the output data CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 35 4 Function Digital Filter Using this feature the PIO 16 16L PCI H and PI 32L PCDH can apply a digital filter to every input pin thereby preventing the input signal from being affected by noise or chattering Digital Filter Function Principle The digital filter checks the input signal 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 tha
16. the background Sample program 5 Inputs outputs digital data from to a specified 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 program 9 Inputs digital data through a specified port using BCD data Sample program 10 Executes digital input simple functions at specified bits through a specified port Sample program 11 Services interrupts of a specified board using an extended function Sample program Console Tnputs outputs digital data through a specified port Sample program 1 Sample program 2 DrvNo GrpNo fi DrvNo fp GrpNo 1 DioOut PortNo t Data 0 H Diolnp PortNo fo Data 55 DioE chaBack PortNo h Data f0 H DioClose PortNo fi Data Jaa H DioClose EXIT Ret r Ret EXIT Sample program 5 Sample program 9 Li xi PT xj DrvNo 3 GrpNo im nola T B DioBitl om DiolnpBCD DiolutBED DioBitOut DioBitEchoBack DioClose EXIT DioClose EXIT CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 41 5 About Software Uninstalling the Driver Libraries To uninstall API PAC W32 follow the procedure below 1 Click on the Start button on the Windows taskbar From the Start Menu select Settings Control Panel
17. xx Figure 3 7 Output Circuit lt PIO 16 16L PCI H gt lt PO 32L PCI H gt The output circuits of interface blocks of the PIO 16 16L PCDH and PO 32L PCI H are illustrated in Figure 3 7 The signal output section is an opto coupler isolated open collector output current sink type Driving the output section requires an external power supply The rated output current per channel is 100 mA 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 5 V or less at an output current within 50 mA or at most 1 0 V at an output current within 100 mA A zener diode is connected to the output transistor for protection from surge voltages A PolySwitch based overcurrent protector is provided for every eight output transistors When the overcurrent protector works the output section of the board is temporarily disabled If this is the case turn of the power to the PC and the external power supply and wait for a few minutes then turn them on back N CAUTION When the PC is turned on all output are reset to OFF CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 31 3 External Connection Connection to the LED Output plus common CN1 37pin Board side 0 20 CN1 21pin Output minus common CN1 20pin External
18. 0 22 42 port 0 port 0 23 output Input 0 32 3 port 1 port 0 33 output Input Common plus pin for 0 1 intput ports OP 2 3 Common plus pin for 2 3 outtput ports 1 00 to 1 17 16 input signal pins Connect output signals from the external device to these pins 020 to 037 16 output signal pins Connect these pins to the input signal pins of the external device IP 0 1 Connect the positive side of the external power supply These pins are common to 16 input signal pins OP 2 3 Connect the positive side of the external power supply These pins are common to 16 output signal pins ON 2 3 Connect the negative side of the external power supply These pins are common to 16 output signal pins This pin is left unconnected Figure 3 2 Pin Assignments of Interface Connector lt PIO 16 16L PCDH gt CONTEC CO LTD 26 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 3 External Connection Pin Assignments of Interface Connector lt PI 32L PCI H gt Common plus pin for 0 1 intput ports N ai 1 0 port i input 1 1 C 1 1 1 port 1 input N o m n UB KU 5 Fon 0 2 port input 3 port input Common plus pin for 42 43 intput ports Figure 3 3 Pin Assignments of Interface Connector lt PI 32L PCI H gt Pin Assignments of Interface Connector l
19. 330 E mail contec contec com cn SHENYANG CONTEC MICROELECTRONICS Co LTD No 169 Qingnian Street Shenhe District Shenyang 110015 China Tel 86 24 2392 9771 Fax 86 24 2392 9773 MACROMATE CORP SF Universal Center No 179 Ta Tung Rd Sec 1 Hsi Chih Taipei Hsien Taiwan R O C Tel 886 2 2647 9353 Fax 886 2 2647 9373 E mail intl macromate com tw A 46 368 Ver 2001 02 06
20. 9 Functional Rich Analog GPIB Communication 18 98 95 GPIB for LabVIEW API GPLVWW32 For Counter Board API CNT 98 PC WW95 Motor Control API SMC 98 PC W95 On Board System Timer API TIMER 32 e e ele Standard Printer Port PRN DRV 32 API PAC W32 Menu for Windows Me 98 ili Driver Type Install Type Driver Help etc Full Install Driver Only Execute only Ifyou select Driver Only device drivers and Configuration program are installed Details t is a driver for the digital inputfoutput board You can create applications without understanding port map by using this driver l ome 10 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup Executing the Installation 1 Follow the on screen instructions to proceed to install 2 When the required files have been copied the Perform a hardware setup now and 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 then go to Step 4 Initializing the Software InstallShield Wizard Complete The InstallShield Wizard has successfully installed CON
21. CONTEC s Web site lt Operating environment gt OS Windows XP 2000 NT Me 98 etc Adaptation language Visual C C Visual Basic Delphi Builder etc Others Each piece of library software requires 50 megabytes of free hard disk space Base package of ActiveX components for measurement system development ACX PAC W32 BP Option This is a set of useful Windows development tools for measurement systems and consists of a software component library with ready to use samples which you can combine for easy programming The package contains components for controlling CONTEC I O boards PC cards Features include interface control for analog I O digital I O GPIB communications and counter inputs as well as X Y plotting and file storage support Check the CONTEC s Web site for more information on this soft Advanced package of ActiveX components for measurement system development ACX PAC W32 AP Option Complements the ACX PAC W32 BP functions with additional components including graphics plotting switches and lamps etc and mathematical and analysis tools Check the CONTEC s Web site for more information on this soft Linux version of general purpose I O driver IO LIB LNX Available for free download This driver software is used to control the I O access of CONTEC I O boards cards from within Linux You can download it from the CONTEC s web site You can also download the I O port map and configuration re
22. Digital 1 0 Board with Opto lsolation for PCI P10 16 16L PCI H Digital Input Board with Opto lsolation for PCI 1 321 Digital Output Board with Opto lsolation for PCI PO 32L PC H U ser s Guide CONTEC Check Your Package Thank you for purchasing the CONTEC product The product consists of the items listed below Check with 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 PIO 16 16L PCDIH PI 32L PCDH or PO 32L PCI H This User s Manual 1 CD ROM API PAC W32 1 Manual CD ROM Board Manual TAPI PAC W32 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH i Copyright Copyright 2003 CONTEC CO LTD ALL RIGHTS RESERVED No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD CONTEC CO LTD makes no commitment to update or keep current the information contained in this document The information in this document is subject to change 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 nor for results obtained by
23. FUNCTION 35 Data l F notionooo KL 35 Bata npub aaa aaa a a naam anama alda 35 Data eser sa yanar a YR ayas 35 Monitoring Output Data ccccccccicsccccsccsescesesccceveenssccassccasscesssesscscesecenssncescacstencscendstessucsadcecnececseecteacsteees 35 DiS ital kalesi aura lan ATE TEA R BL R 36 Digital Filter Function Principle ssis E 36 Set Digital Filter Lime ccccicecscensscencscsscscsseccessccssececsesecsedescenseceneicesesevavseveucuseucereuseveusuvenavveveveevavseecces 36 38 Disabl ng enabling Mmtert pts umman 38 Selecting the Interrupt Edge Clearing the Interrupt Status and Interrupt Signal 38 5 ABOUT SOFTWARE 39 Accessing the Help Fle koeri a LAMEL L L 39 Using Sample Programs sccscccsicsssicsssccssssescecescecescencicensucssecscecescesescsassceseatessasensscenssaunsaceneassveneutensusensscenaseds 40 Uninstalling the Driver Libraries s i ccccccccccccccscccccccccceccccccccseccscccsceneacenccdsneiccsecaencesencesesccsvenestenecsenesenecten 42 CONTEC CO LTD iv PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH CD ROM Directory Structure 43 6 ABOUT HARDWARE 45 Hardware specificali Onasis anana aaa aaa adl AA DAB 45
24. NTEC is not liable for any damages whatsoever including damages for loss of business profits arising out of the use or inability to use this CONTEC product or the information contained herein Environment Use this product in the following environment If used in an unauthorized environment the board may overheat malfunction or cause a failure Operating temperature to 50 C Humidity 10 to 90 RH No condensation Corrosive gases None Floating dust particles Not to be excessive Inspection Inspect the product periodically as follows to use it safely Check that the bus connector Check that the board has of the board and its cable have no dust or foreign matter adhering 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 moisture shock vibration magnetism and static electricity CONTEC CO LTD 6 PIO 16 16L PCI H PI 32L PCI H PO 32L PCI H 2 Setup 2 Setup This chapter explains how to set up the board What is Setup Setup means a series of steps to take before the product can be used Different steps are required for software and hardware The setup procedure varies with the OS and applications used Using the Board under Windows Using the Driver Library Pack
25. TEC API DIO 98 PC Click Finish to exit the wizard erform a hardware setup now You have now finished installing the software CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 11 2 Setup Step 2 Setting the Hardware This section describes how to set the board and plug it on your PC The board has some switches and jumper to be preset Check the on board switches and jumpers before plugging the board into an 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 Figure 2 1 Component Locations P1O PI PO xx PCI H BOARD ID Board ID setting switch BOARD ID 9 BE 122 ol SVVI 12 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup Setting the Board ID If you install two or more boards on one personal computer assign a different ID value to each of the boards to distinguish 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
26. age API PAC W32 This section describes the setup procedure to be performed before you can start developing application programs for the board using the bundled CD ROM 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 Checking Operations with the Diagnosis Program If Setup fails to be performed normally see the Setup Troubleshooting section at the end of this chapter Using the Board under Windows Using Software Other than the Driver Library Package API PA C VV32 For setting up softvvare other than API PAC VV32 refer to the manual for that softvvare See also the follovving parts of this manual as required This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 7 2 Setup Using 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 CONTEC CO LTD 8 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup Step 1
27. ave just added is Click on Show Diagnosis Report 22 CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCI H 2 Setup Setup Troubleshooting Symptoms and Actions The board cannot be initialized Windows NT 4 0 The driver may not yet be activated When using the board under an OS not compliant with Plug and Play such as Windows NT 4 0 make sure that the PnP OS BIOS option has been set to NO disable or Do not use If the option has been set to Windows 95 for example the board may not be detected normally For details on BIOS settings refer to the user s guide for your PC No output can be obtained Use API TOOL Configuration to check whether the board name setting is wrong The board works with the Diagnosis Program but not with an application The Diagnosis 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 paying attention to the following 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 XP 2000 Turn off the power to your PC then unplug the board R
28. distance of Approx 50m depending on wiring environment signal extension PCI bus 33bit 33MHz 33bit 33 2 VEE VA 3V 121 6 L x a ma Weight 130g 1 Data 0 and 1 correspond to the High and Low levels respectively Board Dimensions 1216910 T mm The standard outside dimension L is the distance from the end of the board to the outer surface of the slot cover CONTEC CO LTD 48 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH Block Diagram P10 16 16L PCDH Opto Input Port 0 coupler 8 channels Group 0 Opto pe Port 1 coupler 8 channels Group 1 o a KD Control 4 i O r Circuits Opto Output Port coupler m utput Por 1 amp 1 Transistorsi 1 8 channels Group 2 i i i 1 i Opto Output Port 1 1 coupler gt amp 1 8 channels Group 3 Transistors 1 i 1 i interrupt lt Control 1 Circuit i 1 i i YAR PIO 16 16L PCI H Figure 6 1 Block Diagram PIO 16 16L PCDH gt 6 About Hardware CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 49 6 About Hardware PO 32L PCDH Opto coupler f Input Port 0 8 channels Group 0 PCI BUS Opto coupler Input Port 1 8 channels Group 1 Opto coupler Input Port 2
29. eplace the product In no event will the warrantor be liable for any incidental or consequential damages due to such defect or consequences that arise from Safety Precautions Understand the following definitions and precautions to use the product safely CONTEC CO LTD 4 PIO 16 16L PCI H PI 32L PCI H PO 32L PCI H 1 Before Using the Product Safety Precautions Understand the following definitions and precautions to use the product safely Safety Information This document provides safety information using the following symbols to prevent accidents resulting in injury or death and the destruction of equipment and resources Understand the meanings of these labels to operate the equipment safely A DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury A WARNING WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury A CAUTION CAUTION indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or in property damage Handling Precautions N DANGER Do not use the product where it is exposed to flammable or corrosive gas Doing so may result in an explosion fire electric shock or failure A CAUTION There are switches on the board that need to be set in advance Be sure to check these before installing the board On
30. estart the OS and delete the board settings of API TOOL Configuration Turn off the PC again plug the board and restart the OS Let the OS detect the board and use API TOOL Configuration to register board settings If your problem cannot be resolved Contact your retailer CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 23 2 Setup CONTEC CO LTD 24 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 3 External Connection 3 External Connection This chapter describes the interface connectors on the board and the external I O circuits Check the information 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 into the interface connector shown below Interface connector CN 1 Connector used 1g 37 pin D SUB female connector DCLC J 37SAF 20L 9 mfd by J AE Thumb screw UNC 4 40 inch screw Applicable connectors 17 E 23370 02 D8C mfd by DDK Male 1 FDCD 37P mfd by HIROSE Male DC 37P N mfd by J AE Male CNI Figure 3 1 Interface Connector and Applicable Cable Connector CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 25 3 External Connection Connector Pin Assignment Pin Assignments of Interface Connector lt PIO 16 16L PCI H gt Common minus pin for LON 2 3 ON 2 3 49 43 output ports 0 20 7 0 21
31. f the input signal lt PIO 16 16L PCI H gt cPI 32L PCDH board has a digital filter feature to prevent noise or chatter from causing erroneous inputs lt PIO 16 16L PCI H gt lt PI 32L PCIH gt Upto 35VDC 100mA per signal max output lt PIO 16 16L PCI H gt lt PO 32L PCIDH gt Zener diode connected to output transistors for protection from surge voltage Overcurrent protective device provided for every eight channels of output transistors lt PIO 16 16L PCI H gt lt PO 32L PCIH gt CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 1 1 Before Using the Product Support Software You should use CONTEC support software according to your purpose and development environment Driver Software Package API PAC W32 Available for downloading free of charge from the CONTEC web site API PAC W32 is the library software that provides the commands for CONTEC hardware products in the form of Windows standard Win32 API functions DLL It makes it easy to create high speed application software taking advantage of the CONTEC hardware using various programming languages that support Win32 API functions such as Visual Basic and Visual C C It can also be used by the installed diagnosis program to check hardware operations CONTEC provides download services at http www contec co jp en to supply the updated drivers and differential files For details read Help on the bundled CD ROM or visit the
32. gister information required for board control I O access from the CONTEC s web site Check the CONTEC s Web site for more information on this soft CONTEC CO LTD 2 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH Cable amp Connector Option Flat Cable with a 37 Pin D type Connectors on 2Ends Shielded cable with two 37 pin D Type connectors Flat Cable with a 37 pin D type Connector Shielded Cable with Two 37 pin D Type Connectors D SUB37P Male Connector Set 5 Pieces Accessories Option Screw Terminal Termination Panel M3 Termination Panel Signal Monitor for Digital I O 1 Before Using the Product PCB37P F 1 5m 3m 5m PCB37PS P 0 5m 1 5m 3m 5m PCA37P 1 5m 3m 5m PCA37PS P 0 5m 1 5m 3m 5m CN5 D37M EPD 37 1 DTP 3 PC DTP 4 PC CM 32 PC E 1 1 A PCB37PS or PCB37PS optional cable is required separately Check the CONTEC s Web site for more information on these options CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 1 Before Using the Product Customer Support CONTEC provides the following support services for you to use CONTEC products more efficiently and comfortably Web Site http www contec co jp en Latest product information CONTEC provides up to date information on products CONTEC also provides product manuals and various technical documents in the PDF Free download You can download updated driver software and d
33. hooting Accessing the Help File 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONTEC API PAC W32 Dio API DIO HELP to display help information Comic rixi TE desi o o ko oo File Edt Bookmark Options Help Contents Index Gack Print Ext How to Use This Help Guide The figure below shows the main help screen The help screen describes in pop up boxes the functions of each switch and window E How to Use This Help Guide 2 El General Notes Specifies a switch or window with 7 then click the mouse to display an explanation of the specified switch or Introduction window Hardware Setup About Diagnosis Program Function Reference osa Sample Program To use APLTOOL you must perform both installation and setup The driver canr cannot reference help information from the sample program if you install the soft running the setup program E How to Use Help E Genera Notes introduction Hardware Setup Function Reference Sample Program CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 39 5 About Software Using Sample Programs Sample programs have been prepared for specific basic applications To use each sample program enter its driver number and group number set by API TOOL Configuration in the DrvNo and GrpNo fie
34. ifferent in interrupt level resource allocation 1 16 16 Automatically allocates on interrupt level PIO 16 16L PCD Uses a jumper switch to select whether to allocate interrupt levels 5 Different in board dimensions PIO 16 16L PCDH 121 69 L x 105 68 H mm PIO 16 16L PCI 176 41 L x 106 68 H mm CONTEC CO LTD 52 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 6 About Hardware Differences between the PI 32L PCDH and PI 32L PCI The PI 32L PCDH is connector pin compatible with the conventional PI 32L PCI but has the following differences from it 2 3 4 CONTEC CO LTD Different in the number of input signals available to interrupt requests PI 32L PCDH All of 32 channels PI 32L PCI 4 channels Different in the expression to calculate the digital filter time n setting value PI 32L PCDH 2n 8 x 106 PI 32L PCD 2n 16 x 106 Different in interrupt level resource allocation PI 32L PCDH Automatically allocates on interrupt level PI 32L PCI Uses a jumper switch to select whether to allocate interrupt levels Different in board dimensions PI 32L PCDH 121 69 L x 105 68 H mm PI 32L PCD 176 41 L x 106 68 H mm PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 53 6 About Hardware Differences between the PO 32L PCDH and PO 32L PCI The PO 32L PCDH is connector pin compatible with the conventional PO 32L PCT but has the following differences from it
35. ifferential files as well as sample programs available in several languages Note For product information Contact your retailer if you have any technical question about a CONTEC product or need its price delivery time or estimate information Limited Three Year Warranty CONTEC Interface boards are warranted by CONTEC CO LTD to be free from defects in material and workmanship for up to three years from the date of purchase by the original purchaser Repair will be free of charge 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 through abuse mistreatment neglect or unreasonable use or if the original invoice is not included in which case repairs will be considered beyond the warranty policy How to Obtain Service For replacement or repair return the device freight prepaid with a copy of the original invoice Please obtain a Return Merchandise Authorization Number RMA from the CONTEC group office where you purchased before returning any product product will be accepted by CONTEC group without the RMA number Liability The obligation of the warrantor is solely to repair or r
36. ircuit povver 12 to 24VDC 10 supply Operating condition 0 to 50 C 10 to 90 RH No condensation Allowable distance of Approx 50m depending on wiring environment signal extension PCI bus specification 33bit 33M Hz 5V 3 3V Weight 130g 1 Data 0 and 1 correspond to the High and Low levels respectively Board Dimensions 121 69 L gt 105 68 H mm The standard outside dimension L is the distance from the end of the board to the outer surface of the slot cover CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 47 6 About Hardware PO 32L PCDH Table 6 3 Specification PO 32L PCIH gt Specification Output section Output format Opto isolated input Compatible with current sink output Negative logic 1 Number of output signal 32 channels One common power supply per 16 channels channels Output Output 35VDC Max rating voltage Output 100mA par channel Max current Residual voltage with 0 5V or less Output current lt 50mA 1 0V or less Output current lt 100mA output on Surge protector Zener diode RD47F M NEC Common section VO address Any 32 byte boundary Max board count for 16 boards including the master board connection Dielectricstrength Dielectricstrength r000Vrims External circuit power 12 to me A supply Power consumption 5VDC 200mA Max Operating condition 0 to 50 C 10 to 90 RH No condensation Allowable
37. l Bits and Connector Signal Pins lt PIO 16 16L PCIDH gt D7 D6 D5 D4 D3 D2 D1 DO 1 07 1 06 1 05 1 04 1 03 1 02 1 01 1 00 7 161 5 4 3 2 u 0 Input logical port 1 15 14 13 12 11 10 9 8 27 0 26 0 25 O 24 0 23 0 22 O 21 20 Output logical port 171 6 5 4 3 2 1 0 37 0 36 0 35 34 0 33 0 32 0 31 30 Output logical port 1 15 14 13 12 11 10 9 8 Note I xx and O xx represent input and output signals respectively where xx indicates a logical bit Input logical port PI 32L PCDH Table 3 2 Relationships between Logical Ports Bits and Connector Signal Pins lt PI 32L PCDH gt D7 D6 D5 D4 D3 D2 DI DO Input logical port 0 171 15 14 13 121 11 101 i Input logical port 1 15 14 13 121 21 10 191 18 Input logical port 2 Input logical port 3 31 30 a 28 27 26 25 24 Note I xx represent input signals respectively where xx indicates a logical bit CONTEC CO LTD 28 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 3 External Connection PO 32L PCDH Table 3 3 Relationships between Logical Ports Bits and Connector Signal Pins lt PO 32L PCDH gt DO D7 D6 D5 D4 D3 D2 D1 07 0 06 0 05 04 0 03 02 0 0 Output logical port 0 7 6 5 4 3 2 1 O 17 0 16 0 15 O 14 O 13 0 12 0 1 Output logical port 1 15 14 13 12 11 10 27 O 26
38. lds Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC API PAC W32 Dio Samples D DT VB Microsoft Visual Basic design File Edit View Project Format Debug Run Query Diagram Tools Add Ins Window Help s a Ezme mo i wl MRE BR Al ti 4500 2460 ix General ENAMEL k be DI010VB Dio10vb vbp Ey Forms A fal m El Formi D1010V8 FRM 1507410 s r 5 Modules V ron a Da H BEE d mmm 2 68 m b y H HE D d H DioOutBit a NERM N Fom Form 2 Alphabetic Categorized mn 1 False 00002 2 Sizable DIO Simple 1 0 True True 13 Copy Pen 7 Solid Fal Returns the name used in code to identify an object Running a Sample Program 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONTEC API PAC W32 Dio SAMPLE 3 A sample program is invoked CONTEC CO LTD 40 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 5 About Software Sample Programs Examples Sample program 1 Inputs digital data through a specified port Sample program 2 Outputs digital data through a specified port Sample program 3 Inputs outputs digital data from to a programmable board Sample program 4 Inputs digital data from a specified port in
39. lies to all input pins You cannot apply the filter only to a specific filter Do not set Setting Data to a value outside the above range as doing so can cause the board to malfunction CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 37 4 Function Interrupt Control Function The PIO 16 16L PCDH and PI 32L PCDH can use all of the input signals as interrupt request signals The board can generate an interrupt request signal to the PC when the input signal change from High to Low or from Low to High When the digital filter described above is used interrupt requests are generated by input signals that have passed through the filter Disabling enabling Interrupts Interrupt mask bits can be used to disable or enable the individual bits for interruptions Once a certain 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 A CAUTION All of the interrupt mask bits are interrupt disabled when the power is turned on Selecting the Interrupt Edge Interrupt edge select bits can be used to set 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
40. ly set the switches and jumpers on the board to the specified settings Otherwise the board may malfunction overheat or cause a failure Do not strike or bend the board Doing so could damage the board Otherwise the board may malfunction overheat cause a failure or breakage 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 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 energized boards could malfunction overheat or cause a failure The specifications of this product are subject to change without notice for enhancement and quality improvement Even when using the product continuously be sure to read the manual and understand the contents CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 5 1 Before Using the Product Do not modify the product CONTEC will bear no responsibility for any problems etc resulting from modifying this product Regardless of the foregoing statements CO
41. nosis 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 zaz Fie Edit Tool Di z Selected Device API DIO Setting Version Ver 4 20 Installed Boards The name of the board you have just added is displayed PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH Notes Diagnosis CONTEC CO LTD 20 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup Checking Digital Inputs and Outputs The main panel of the Diagnosis Program appears You can check the current operation states of the board in the following boxes Input Port Displays input values bit by bit at fixed time intervals Output Port Mouse operation allows the data to output or display Interrupt Displays the number of interrupts detected bit by bit m Selected Board 11 CONTEC DIAGNOSIS PROGRAM for Digital Input Output Board Name 6 16 Device Name pun IRQ Driver No 2 Group The name of the board you have just added is displayed PIO 16 16L PCDH r Input Port OFF m ON a Bit Bit6 Bit Bit4 Bit3 Bit2 Bit Port OFF ON fim Bit Bitb Bid Bits Bit Bit Port L m F mz 00 il 0 DUNE 8 Wait Configuration Measuremen
42. oard The process is referred to as installing the hardware In the case of using two or more boards make sure you install one by one with the Add New Hardware Wizard Turning on the PC Turn on the power to your PC N CAUTION The board 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 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 resources previously assigned to the two boards is assigned to the remounted board In this case you must check the resource settings Setting with the Add New Hardware Wizard 1 The Add New Hardware Wizard will be started Select Specify the location of the driver then click on the Next button If you are using Windows NT 4 0 the Add New Hardware Wizard is not started Go to Step 4 Initializing the Software Add New Hardware Wizard Windows has found the following new hardware PCI Multimedia Device Windows can automatically search for and install software that supports your hardware If your hardware came with installation media insert it now and click Next What would you like to do
43. ocks of the P10 16 16L PCDH and PO 32L PCDH are illustrated in Figure 3 5 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 1 mA at 24 VDC about 2 6 mA at 12 VDC Connecting a Switch Input plas common CN 1 18pin g External g power supply m 1 00 CN1 2pin R e 12 to 24V DC O Switch When the switch is ON the corresponding bit contains 1 When the switch is OFF by contrast the bit contains 0 Figure 3 6 An Example to use Input 100 lt PIO 16 16L PCI H gt lt PO 32L PCI H gt CONTEC CO LTD 30 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 3 External Connection Output Circuit 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 Board T External device Vcc Plus common 0 VK ah R dad External De Output pin power supply 12 to 24VDC Optocoupler i i iS EL 1 v a Ldad Do Output pin m o Zener Optocoupler i i PolySwitch Ee Minus common i i Output pin O
44. t PO 32L PCI H gt Common minus pin for 0 1 output ports TONOA 3 ON 23 o 01 3 02 1 4 0 22 40 port 0 03 5 0 23 output 04 6 0 24 05 1 7 0 25 06 1 8 0 26 07 1 9 0 27 m O 10 10 0 30 0 11 031 12 0 32 1 port 0 13 0 33 output 0 14 0 34 0 15 0 35 16 0 36 0 17 0 37 Common plus pin for OP 0 1 OP 2 3 0 1 outtput ports 0 00 to 37 OP 0 1 to OP 2 3 N C signal pins Common minus pin for 42 43 output ports 2 port output 8 port output Common plus pin for 2 3 output ports 32 input signal pins Connect input signals from the external device to these pins Connect the positive side of the external power supply These pins are common to 16 input ON 0 1 to ON 2 3 Connect the negative side of the external power supply These pins are common to 16 output signal pins This pin is left unconnected Figure 3 4 Pin Assignments of Interface Connector lt PO 32L PCI H gt CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 3 External Connection Relationships between API PA C VV32 Logical Ports Bits and Connector Signal Pins The following table lists the relationships between the connector signal pins and the logical port bit numbers used for I O functions when applications are written with API PAC W32 1 16 16 Table 3 1 Logical Ports Logica
45. t Time Show Diagnosis Report 8255 Mode PI 32L PCDH ChipNo PO 32L PCI H PortA Input Output Fab Input Output re e Input Output m Interrupt Count Interrupt 0 Pu Interrupt 1 T Interrupt 2 Interrupt 3 To use the wait time control feature click on the Wait Configuration button Use 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 The time for each execution of a function will be measured CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 21 2 Setup 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 N CAUTION The results are saved and displayed as a text file DioRep txt 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 Before executing diagnosis report output unplug the cable from the board 1 CONTEC DIAGNOSIS PROGRAM for Digital Input Output 3
46. t 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 Input Signal Digital Input to PC gt Filter Filter Setting Time Input Signal 2 g Valid Nea Invalid Input to PC Figure 4 1 Digital Filter Function Principle Set Digital Filter Time Set the digital filter time to 0 to 24 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 2 8 x 10 n setting data 0 to 20 Setting Data Digital Filter Setting Data Digital Filter Setting Data Digital Filter n Time n Time n Time 0 00h The filter function 7 07h 16usec 14 0Eh 2 048msec is not used 1 01h 0 25usec 8 08h 32usec 15 OFh 4 096msec 2 02h 0 5usec 9 09h 64usec 16 10h 8 192msec 3 03h lusec 10 OAh 128usec 17 11h 16 384msec 4 04h 2usec 11 OBh 256usec 18 12h 32 768msec 5 05h Ausec 12 0Ch 512usec 19 13h 65 536msec 6 06h Susec 13 0Dh 1 024msec 20 14h 131 072msec Figure 4 2 Digital Filter Time and Setting Data CONTEC CO LTD 36 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 4 Function A CAUTION If you set the digital filter time the filter app
47. ted boards are listed Updating the Settings 1 Select Save settings to registry from the File menu You have now finished installing the initial setting of Software CONTEC CO LTD 18 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 2 Setup Step 5 Checking Operations with the Diagnosis Program Use the diagnosis program to check that the board and driver software work normally thereby you can confirm that they have been set up correctly What is the Diagnosis Program The diagnosis program diagnoses the states of the board 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 VO 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 12 to 24 V The Check Mate CM 32 PC E comes in handy when you check digital I O boards Check the board with the factor defaults untouched Connection diagram CM 32 PC E EEE EEE EZ Optional cable PCB37PS xx 12 to 24VDC To connect a device other than the Check Mate see Chapter 3 External Connection CONTEC CO LTD PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 19 2 Setup Using the Diagnosis Program Starting the Diag
48. the user as a result of using this product Trademarks MS Microsoft Windows Windows NT and MS DOS are trademarks of Microsoft Corporation Other brand and product names are trademarks of their respective holder CONTEC CO LTD ii PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH Table of Contents Check Your Package ii Trade MAr ESEE EEE a ii WablezOf COmtenits a araoa a a A ii 1 BEFORE USING THE PRODUCT 1 ADOUt Ihe sB oarda A ni inler 1 IY 1 SUPPOLt SOLOW GEE 0001066 S L N Cable amp Connector Option Accessories OPON in o EEEE EEEE CUSTOMERS UP POENAE AUUE IU AUTON A RE EAEE EES 4 Web Site http Wwww contec co jp enl eee 4 Three Year MALAY dunu aa a S 4 HowtoObtainService 0 4 4 Safety 5 Safety Informati On c cccsczcsesesescscececececeaeseveseededeceaeceseseuaucecetavecexevavausecetacevevevevavazceveravececesevalasrevessaenaiee 5 Handling 5 Enyironmenta raa UY RA 6 nspectionsuuu
49. to 1 an interrupt occurs when the input value to the corresponding bit changes from to 0 at the rise of the input signal from Low to High N CAUTION VVhen the povver is turned on all of the interrupt edge select bits are set to 0 so that an interrupt occurs when the input value changes from 0 to 1 at the fall of the input signal from High to Low 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 status is input the interrupt request signal and the interrupt status are cleared automatically N CAUTION of the interrupt status bits are set to 0 when the power is turned on Ifan interrupt mask bit has been set to disable interrupts the interrupt status bit is not set even when the input signal changes its level CONTEC CO LTD 38 PIO 16 16L PCDH PI 32L PCDH PO 32L PCDH 5 About Software 5 About Software The bundled CD ROM Driver Library Package API PAC W32 contains the functions that provide the following features Digital input output of specified ports Hardware digital input output 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 and FAQs Use them for program development and troubles
50. usaa aa 6 COPA BEN 2 1eicccdssacasscscssasazasscsasacacseasacansnsasasaesaseasanagsnsacasaeseneusanansaeaeasseveusasagansaeaseesdkcnsensssencunenancseseacetadeneeds 6 2 SETUP 7 YVhat s Setup keaient iA eR ikiii 7 Using the Board under Windows Using the Driver Library Package API PAC VV32 7 Using the Board under Windows Using Software Other than the Driver Library Package 7 Using the Board under an OS Other than Windows StepllnstallingtheSoftware 9 StartingthelnstallProgran eee 9 Selecting the Digital 1 O Driyernoo uu YYAR RAYA 10 Executing the installatoncccccc Da L 11 Step 2 12 Parts of the Board and Factory 115 2222 2 12 Setting The WB oar D aaa das 13 Pl ggihs the Boarder iii 14 Step 3 Installing the Hard wares a a aa ays Turmin on the PE esa an Setting with the Add New Hardware Wizard CONTEC CO LTD PIO 16 16L PCI H PI 32L PCI H PO 32L PCI H ili Step4 Initializing the Software eee 18 InvokingAPI TOOLConfiguration eee 18 Upd tine the Settings
Download Pdf Manuals
Related Search
PIO 16/16L(PCI) pio 16 16l pci h
Related Contents
取扱説明書 充電器 DC07SA Marley HP7000 168" thru 240" Samsung MW89MST Korisničko uputstvo Humminbird RF15 User's Manual Indicazioni importanti 1 - Sony Philips DC200/93 User's Manual 2-maximailer tech tips feeder LPC1768 UART programing Pioneer DV-440 DVD Player Copyright © All rights reserved.
Failed to retrieve file