Home

PIO-32/32L(PCI) Digital I/O Board with Opto

image

Contents

1. 41 Output Data Monitor eeeeeeennnnn 42 Input from an HO POE iine vertere enaa 42 Confirm an Output Bit 42 Monitor Output Data by Port Number 42 Handshake of Input Channel 0 to 15 43 Interrupt Control Function sseeeeeeeeeeeee 45 Set Interr pt EVENS ctv tinc tise irr rrr Rr Er hr 46 Interrupt Event Masking eeeeeeenneees 47 Interrupt Status Register eeeeeeeeeeeees 47 Check Interrupt Setting eeeeeeeee 47 Clear Interrupt Request Signal 48 System REfEEN CE iscsi erence 49 Block DIAGF alls siio td t eder at ce erties 49 SDecITI CAML ONS ik sited ovn oddbode aoro sedsi S eo dectreunud 50 Troubleshooting cscs 51 iv PIO 32 32L PCI Figure 2 1 Figure 2 2 Figure 2 3 Figure 3 1 Figure 4 1 Figure 4 2 Figure 4 3 Figure 4 4 Figure 4 5 Figure 4 6 Figure 4 7 Figure 4 8 Figure 4 9 Figure 4 10 Figure 4 11 Figure 4 12 Figure 5 1 Figure 5 2 Figure 5 3 Figure 5 4 Figure 5 5 Figure 5 6 List of Figures Component Locations eeeeeeeeeeeeeennen 5 Board ID Settings SWI1 seseeeeeee 6 Setting the Interrupt Use ii ees 7 Sample Programs on FD eee 19 Connecting the Interface Connector 21 Connector Used ie
2. By using these STB and ACK signals you can then handshake the input actions with external circuits Outputting a hexadecimal data FOH to I O address 8H port will reset initial the handshake function D7 D6 D5 D4 D3 D2 D1 DO Input Ports 1 0 Address 48H Handshake Status Input Output Ports D7 D6 D5 D4 D3 D2 D1 DO I O Address 48H ACK Signal Setting Pp o of of of of of o fack Figure 5 13 I O Port Assignment of Handshake Function STB IBF tA Input Data X XX IOR Y y ACK Y y INT MO Interrupt generated Figure 5 14 Timing of Handshake Function PIO 32 32L PCI 43 I O Ports and Registers 44 Programming examples The following programming examples input a latched data by checking the INT status of the handshake status register The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT WH WE DAT NP PORT OUT PORT amp H08 0 amp H08 amp HFO LE INP PORT9 amp H08 AND amp H08 OUT PORT amp H08 1 Microsoft C or Ctt MS DOS version 0 gt V i nclude lt std oid main void int dat outp port 0x08 Oxf0 initial while data inp port 0x00 outp port 0x08 0 outp port 0x08 1 PIO 32 32L PCI ENETLALIZE HANDSHAKEFUNCTI ON 0 INPUT STATUSREGI STER D CHECK INT STATUS I NPUT DATA OUTPUT ACK SIGNAL ize handshake functio
3. For details refer to Chapter 5 I O Ports and Registers PIO 32 32L PCI 1 Introduction 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 No product will be accepted by CONTEC group without the RMA number Liability The obligation of the warrantor is solely to repair or replace the product In no event will the warrantor be liable for any incidental or consequential damages due to such defect or consequences that
4. Input Groupl n 117 110 15 8 9H 577 126 7 125 I21 T 120 22 21 17 16 Group icis 136 T 135 133 I31 T 130 30 29 27 24 Input Group4 tn 046 045 044 043 042 38 37 36 35 34 Input Group 5 b 054 053 44 43 Input Group 6 T 52 51 Input Group 7 WH 076 075 074 073 60 59 4CH Group Data PD7 Pbe PDS PD4 PD3 PD2 PD1 PDO xx represents an input signal Oxx represents an output signal that will be read back here Figure 5 7 Input Port I O Address 40H 7H and I O Address CH 36 PIO 32 32L PCI I O Ports and Registers The following figure shows group numbers and their corresponding output ports Output Ports b7 I O Address 40H HH 42H 43H 34H 9 i 47 46H 63 PD7 PD6 PD5 PD4 PD3 PD2 PDI D6 D5 067 066 065 5 54 53 Output G D4 D3 D2 D1 DO put Group 0 Not Used put Group 1 Not Used put Group 2 Not Used put Group 3 Not Used Output Group4 047 046 045 044 043 042 04 3 37 36 3 34 33 5 UJ N oup 5 5 7 43 Group 1 5 5 BO xO OY Un Eg Eg uo x Eg Group Data Group Select p of of of op o PS2 PSi Oxx represents an output signal PSO to PS2 specify an input or output group number Figure 5 8 Output Port I O Address 0H 7H and I O Address CH DH PIO 32 32L PCI 37 I O Ports and Registers 38 Input a Group Data
5. dialog box check that CONTEC Co Ltd Board Name and DIO PIO INF in the Location of driver has been listed then click Next gt to continue In the next dialog box you will find a message of Windows has finished installing the software that your new hardware device requires Then you click Finish to complete the installation of the board After completed the board installation you are supposed to confirm the registered board information from Windows 98 registers The Checking resources part of this section explains you how to do it PIO 32 32L PCI 11 Board Setup 12 Method of installing two or more boards 1 2 3 4 5 6 7 8 9 Install the first board correctly Be sure to complete installation of the first board before attempting to install a second one Exit Windows 98 and turn the personal computer off Set the board ID of the second board that should be different from the first one Then plug the board into a PCI bus slot Turn the personal computer on and start the Windows 98 again Windows 98 will display a massage of New Hardware on the screen and start run an Add New Hardware Wizard program After you find a massage of CONTEC Co Ltd Board Name from the program window click Next gt to continue In the next dialog box select a radio button of Display a list of all the drivers in a specific location so you can select the driver you want then cl
6. program 8 List AUTOEXEC BAT 9 List CONFIG SYS PIO 32 32L PCI 8 Index B Block Diagram 49 C Checking resources 13 18 Component Locations 5 Connector used 21 D Digital Filter 39 F Features 1 H Handling Precautions 3 Handshake 43 I I O Address Map 29 Input circuit 24 Input Port Assignments 29 Interface Connector 22 Interrupt Control 45 Index O Obtain Service 2 Optional cable 23 Output circuit 25 Output Data Monitor 42 Output Port Assignments 30 P Pin Assignment 22 S Setting the Board ID 6 Setting the Interrupt Use 7 Specifications 50 Surge Protection 28 T Troubleshooting 51 W Warranty 2 PIO 32 32L PCI 53 A 41 771 LZC6621 021018 980213 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 31 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 8
7. the board might not be recognized properly 20 PIO 32 32L PCI External Connection 4 External Connection Interface Connector Connecting the Interface Connector To connect an external device to this board plug the cable from the device into the interface connector CN1 CN1 E d go IN g aL i Figure 4 1 Connecting the Interface Connector Connector used PCR E96LMD mfd by HONDA Applicable connector PCR E96FA mfd by HONDA Optional cable PCB96WS e Connector 17 E 23370 02 D8C mfd by DDK E or equivalent Connector PCR E96FA mfd by HONDA Connector cover PCS E96LKPA mfd by HONDA Optional cable PCB 96PS connector conversion board CCB 96 Connector DCLC J 37SAF 20L 9 mfd by J AE or equivalent 4 On board connector name PCR E 96LMD mfd by HONDA CCB 96 Connector PCR E96FA mfd by HONDA Connector cover PCS E96LKPA mfd by HONDA represents the cable length 1 5 3 or 5m Figure 4 2 Connector Used PIO 32 32L PCI 21 External Connection Interface Connector Pin Assignment To connect an external device to this interface board plug the device into the on board 96 pin connector shown below in Figure 4 3 Common plus pin for i r OP 6 7 Common plus pin for 32 43 input ports 46 47 output prts OP 6 7 r O77 0 76 075 O74 7 port Output O 73
8. the system will automatically assign usable resources to the board Refer the following procedure to confirm the assigned resources Procedure 1 Set the board ID 2 Be sure that the personal computer is off then plug the board into a PCI bus slot in the personal computer 3 Tum the personal computer ON to start up MS DOS 4 Copy the programs that are under the DOS directory of the attached FD to a directory of your HDD 5 Execute the PIOPCI EXE resource confirmation program 6 Check the I O addresses and interrupt level IRQ displayed on the screen Sample programs for MS DOS The sample programs to use the board under MS DOS are written in Microsoft C The attached FD contains following sample programs DOS Samples i PIOPCI C Resource check program PIOPCI E XE ii P103232 C Input Output data Pl O 32 32 PCI series P103232 E XE iii P164 C Input data P1 64 PCI series PI64 EXE iv PO64 C Output data PO 64 PCI series PO64 E XE v INTPC C Input data by interrupt for PC INTPC EXE vi INT98 C Input data by interrupt for PC 9800 INT98 EXE Figure 3 1 Sample Programs on FD PIO 32 32L PCI 19 Board Setup For details on I O addresses see Chapter 5 I O Ports and Registers Note When you use the board under a non plug and play OS like MS DOS be sure that PnP OS is either disabled or set to not to use in the PC s BIOS setup If this is set to Windows 95 for example
9. 1 Select the group number that you are going to input by outputting this group number to an I O address DH output port the Group Select port The group numbers are from 0 to 7 2 Input this group data from an I O address CH input port the Group Data port The PDO to PD7 represent the status of the specified group signals Programming examples The following programming examples input data from input group 0 The PORT and port are variables of I O addresses BASIC MS DOS version OUT PORT amp HOD amp H00 GDT I NP PORT amp HOC Me C or C MS Dys version outp port 0x0d 0x0 group data inp port 0x0c Output a Group Data Note 1 Select the group number that you are going to output by outputting this group number to an I O address DH output port the Group Select port The group numbers are from 4 to 7 2 Output this group data to an I O address CH output port the Group Data port The PDO to PD7 are output data of the specified group which represent the related output channels Programming examples The following programming examples output FFH to group 4 The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT amp HOD amp H04 OUT PORT amp HOC amp HFF Microsoft C or C MS no version outp port Ox0d 0x outp port 0x0c nes After the PC is turned ON all output bits are reset to 0 PIO 32 32L PCI I O Ports and Regis
10. E Common plus pin for 4 5 output port OP 4 5 OP 6 7 077 7 6 7 output port ose E 076 O55 Ore 5 port 54 L O74 7 port Output aR O73 Output O 53 us o52 QUT O 51 o 10 L O 50 e r 047 e O 66 O 46 Ore O 45 O64 6 port O63 Output O 62 n O61 060 ONG6 7 Common minus pin for 6 7 output port 4 port O 44 Output 43 4 m dM Co Ot O 3 00 0o Common minus pin ON A 5 L for 4 5 output port Figure 4 4 PCB96WS and CCB 96 Signal Assignments Note Not support signals for handshaking PIO 32 32L PCI 23 External Connection Input Circuit and Output Circuit Input circuit The input circuit of this board is illustrated in Figure 4 5 The on board photocouplers isolate internal input circuits from outside devices The input channels are to be connected with current sinking output signals Driving these opto isolated circuits require an additional power supply isolated from the PC system Whena 12 VDC external power is used each input channel will consume about 4mA current when a 24 VDC external power supply is selected each input channel will consume about 8 mA current 1 External Board i Device vcc i i 5 1kQ i Plus 3ko Common WWO Y External UU H U eps 7r Power Ld o input O O L Supply RR Photocoupler Pin d ed VCC 5 1kQ Input Photocoupler Pin zu d Figure 4 5 Input Circuit 24
11. INTc I03 input signal can be connected to internal signal INTd only The handshake event however can be connected to any of the internal signals INTa to INTd Interrupt Settin o o imi ivo 0 i8 i1 iso Interrupt Events 1S1 ISO Interrupt Events oj 0 Input Signal 100 103 Handshake Prohibited Setting 0 1 1 0 1 1 Prohibited Setting Interrupt E vent Edge IR External Signal 0 High Low 01 1 Low High 1 0 This Setting is for Interrupt Pin IN1 INO Interrupt Pin 0 0 INTa 0 1 INTb 1 0 INTC 1 1 INTd 00 e S 1NTa 101 Fe 4 NTb Interrupt 102 F INTc Contro 103 qd 1 INTd Circuit Handshake o d LINTA y ToPCI BUS Interrupt Event Setting Figure 5 17 Explanation of Interrupt Setting Register 46 PIO 32 32L PCI I O Ports and Registers Interrupt Event Masking Note This board uses I O address 10H output port for masking Setting a bit to 1 will mask the related event from generating an unwanted interrupt request For example if you set the I01 input signal as an interrupt event and you set INTMI to 1 from I O address 10H then I01 input signal will not generate an interrupt request but it will still set the INTS1 of interrupt status register The relationship of interrupt events
12. O 72 071 43 port Input O 66 46 port Output S e 063 O62 O61 L O60 Common minus pin for ON 6 7 6 7 output ports ON 6 7 42 port Input l B A 1 Unconnected Unconnected ACK signal for handshaking STB signal for handshaking Unconnected Common plus pin for 0 1 input ports and handshaking zoana NNNANANNAN Common plus pin for 34 45 output ports L en pd 35 port Output O54 3H port Input 4 port Output 044 043 042 O4l i O40 Common minus pin for ON 4 57 44 45 output ports ON 4 5 40 Port Input Common minus pin for handshaking Figure 4 3 Interface Connector Pin Assignment Notes 100 103 can be used as interrupt signal The numbers in brackets are pin numbers defined by the connector manufacturer 22 PIO 32 32L PCI External Connection PCB96WS and CCB 96 Signal Assignments Optional cable connectors and their corresponding signals are shown in Figure 4 4 below PCB96WS CNA CCB96 CN3 CNA Common plus pin for 0 1 input port Common plus pin for c orien prs gor rl 2 3 input port 136 135 134 3 port 133 Input 132 131 130 127 4 126 L25 24 2 port 123 Input 122 121 120 JC handshaking 1 port Input 0 port Input BAEK e b Co 4x Ot O 3 00 cO Common minus pin for handshaking PCB96WS CNB CCB96 CN4 CNB Common plus pin for N C
13. PIO 32 32L PCI Output circuit Notes External Connection The output circuit of this illustrated in Figure 4 6 The output channel is a photocoupler insulated open collector type sink type Driving these opto isolated circuits require an additional power supply isolated from the PC system The maximum output current rating is 100mA per channel The board has no voltage surge protection circuits for protecting output transistors To drive inductive loads such as relays and lamps by this board consequently a measure against voltage surge must be taken on the load side When the PC is turned on all output are reset to OFF Board lt zd External Device oVCC 12kQ k iko E ij E d el W a onmin 5 External y h D S Q T Power po H i i Output Supply i i Pin 5 DO12V EN i 94V 1kQ 1 i LI Load ANN v C Output e IBN Common F H gt Figure 4 6 Output Circuit PIO 32 32L PCI 25 External Connection STB and ACK input and output circuits Board lt External VCC 5 1kQ i T i External Q v Power t Plus Supply X A4 Common DC12V Oo O 24V T Input T E yy Photocoupler Pin mih des Figure 4 7 STB Input Circuit Device Board External vec 10ko 1kQ we Plus i AW Comet teed External 14 zd
14. repeatedly To avoid this kind of malfunctioning in your interrupt handler program you must clear the interrupt request signal before you enable the interrupt For this board you can use the Interrupt Clear output port for this purpose For example if the INTS2 is 1 in the Interrupt Status register of your interrupt handler program INTc will generate an interrupt request Setting the INTC2 to 1 by output to the Interrupt Clear port will clear this INTS2 interrupt request to enable the next interrupt INTa INTCO INTb INTCI INTc INTC2 INTd INTC3 Programming example The following sample program is part of a sample interrupt handler program The port is sample I O address Microsoft C or C MS DOS version _disabl e n inp port 0x11 amp OxOf Find out which event s has have requested interrupt out port 0x11 n Clear interrupt request signal Service the interrupt request enable 48 PIO 32 32L PCI System Reference 6 System Reference Block Diagram Input Port O E Bacu 8ch Groupo Input Port 1 E meae 8ch Group1 Input Port 2 E mene 8ch Group2 AD31 ADO Input Port 3 C BE3 C BEO Praca 8ch Groups v CLK 2 FRAME H Ine IRDY i K 9 IDSEL CHO Photocouplers i Output Port 0 TRDY i eiris amp p 8ch Group4 Transistors DEVSEL RST EE Output Port 1 Transistors 8ch Gr
15. voltage of the transistor the transistor performance may be degraded or the transistor may be damaged To prevent this be sure to connect a surge absorption element when driving an inductive load including arelay coil Example of measures against voltage surge are shown in Figure 4 12 below H Examples of use of relay coil Plus Common Relay coil 3 Output Pin Zener Y diode Minus External power voltage Zener diode voltage E Examples of use of lamp Plus Plus Common Common ourm Output Surge current n ish Minus prevention resistoy Minus ESOS Common Ge Common Figure 4 12 Samples of Voltage Surge Protection The protection circuit must be installed less than 50 cm from the load and contact to provide effective protection PIO 32 32L PCI I O Ports and Registers 5 I O Ports and Registers I O Address Map Board 1 O Address D7 D6 D5 D4 D3 D2 D1 DO Input Group 0 du 705 103 102 101 100 7 6 5 4 3 2 1 0 4H Input Groupl 117 116 115 114 113 112 111 110 15 14 13 10 9 8 9H F377 126 7 125 122 T 121 120 23 22 21 18 17 16 Group 3 9H FST 136 135 133 132 131 130 31 30 29 27 26 25 24 44H Group4 047 046 045 043 042 04 040 39 38 37 35 34 33 32 45H Input Group 5 057 056 O55 054 053 052 O5 050 47 46 45 44 43 42 41 40 46H Input Group 6 067 066 0
16. 055 054 053 052 47 46 45 44 43 42 t Group pir 067 O65 064 063 062 55 53 52 1 50 t Group YH Foy 073 072 070 63 59 58 56 Oxx represents an output signal of CN1 connector Figure 5 4 Output Port I O Address 4H 7H Programming examples The following programming examples turn the O47 output transistor to ON The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT amp H04 amp H80 Microsoft C or C MS DOS version outp port 0x04 0x80 When the PC is turned ON all output ports are reset to 0 PIO 32 32L PCI I O Ports and Registers Input Output Data by Bit Number This board supports bit input output function Under this function you can specify a bit number and then input this bit status or output to this bit The following figure shows the relations of bit numbers and their corresponding input ports D7 D6 D5 D4 D3 D2 D1 DO Input Ports Input Group 0 NUES 7 6 5 4 3 2 1 0 Input Groupl n 117 116 115 114 113 112 111 110 14 13 12 11 10 9 8 Input Group 2 PH PTT 175 24 123 121 120 221 rz gor n9 17 16 N ol UJ ul Input Group 3 31 30 29 28 27 44H Input Group4 047 046 045 044 043 s 45H Input Group 5 057 056 055 054 053 O52 Group 6 E 55 53 52 51 Group 7 63 59 Bit Data AH Pp o f of of of of of o BDT Ixx represents an in
17. 2 2 2636 4277 8 Fax 82 2 2636 4279 E mail product conteck com INTERNATIONAL CONTEC TECHNOLOGY 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 0330 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 8F 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
18. 65 064 063 062 06 060 55 54 53 52 51 50 49 48 Input Group 7 YH Por 070 63 56 48H Handshake Status Input 49H Not Allowed 4AH Bit Data Input po f of of of of o o BDT BH Not Allowed 4CH Group Data Input PD7 PD6 PD5 PD4 PD3 PD2 PD1 PDO DH Not Allowed 4EH Interrupt Setting X x iN1 ino x IR isi SO 4FH Digital Filter Setting 10H Not Allowed 41H Interrupt Status o o 0 o iNTS3 INTSZ2INTSI INTSO Ixx represents an input signal Oxx represents an output signal 12H Not Allowed that will be read back here a Numbers in brackets represent 1FH input bit numbers Notes All access except to input group 0 to 7 port 0 to 7 should be byte access Input by word access to input group 0 to 7 should be to I O addresses that are multiples of 2 0 2 4 46 Input by double word access to input group 0 to 7 should be to 1 O addresses that are multiples of 4 40 4 Figure 5 1 Input Port Assignments PIO 32 32L PCI 29 I O Ports and Registers Board I O Address 40H Notes All access except to output group 0 to 7 port 40 to 7 should be byte access Output by word access from output group 4 7 should be from I O addresses that are multiples of 2 44 46 Output by double word access from output group 4 7 should be from I O addresses that are multiples of 4 30 1H 42H 43H 4H 5H 6H 7H H 4FH 10H 11H 12H 1FH D4 D3 Output
19. Group 0 Not Allowed Output Groupl Not Allowed Output Group 2 Not Allowed Output Group 3 Not Allowed Output Group 4 Output Group 5 Output Group 6 Output Group 7 ACK Signal Setting po of oj oj o o o J ACK Not Allowed Bit Data o o f of of o o o BDT Bit Select o o sss ss4 sss Bs2 gs1 sso Group Data PD7 PD6 PD5 PD4 PD3 PD2 PD1 PDO Group Select o o o o o ps2 Psi PSO Interrupt Setting oT 0 Tiwi wot 9 R isi 150 ToT o 0 st sia siz smi sto Col o o 0o NTM3 NTMZIINTMI INTMO 45 44 43 4 Interrupt Clear Register o o o o INTC3 INTC2 INTCI INTCO Not Allowed O51 41 043 042 041 35 34 33 2 6 0 O66 065 064 063 O62 O61 54 53 52 51 5l 49 040 070 Figure 5 2 Output Port Assignments PIO 32 32L PCI Oxx represents an output signal Numbers in brackets represent output bit numbers 4 I O Ports and Registers Input Output Data by Direct Access to I O Ports Data Input T O address OH to 3H input ports are used to read input channel data The following table shows input channels and their corresponding input ports If an input channel is ON a driving current is running through the photo diode and the corresponding bit of the input port contains 1 For example if channel I07 is ON bit D7 of the I O address 0 port is re
20. INTa to INTd and interrupt masking bits is as following INTa INTMO INTb INTMI INTc INTM2 INTd INTM3 After power on this 10H output port is reset as all 1 Interrupt Status Register This board connects only one interrupt request signal to the PCI bus the INTA bus signal The board combines these four interrupt requests into one signal Before setting more than two interrupt events for generating interrupt requests in your interrupt handler program you must first determine which event has requested this interrupt service The Interrupt Status input port is designed for this purpose For example if you have set the I00 to I03 as interrupt events and the active logic is from low to high a change of I00 from low to high will set the interrupt status INTSO to 1 and generate an interrupt request Interrupt events and their corresponding interrupt status are shown below INTa INTSO INTb INTS1 INTc INTS2 INTd INTS3 Check Interrupt Setting You can check what you have set for the interrupt setting register by reading the I O address OEH input port PIO 32 32L PCI 47 I O Ports and Registers Clear Interrupt Request Signal The interrupt of the PCI bus uses a level trigger instead an edge trigger which is used by the ISA bus Therefore the arrival of an interrupt request means that the INTA has been assigned to low If you do not clear this request signal the CPU will respond to this interrupt request
21. PIO 32 32L PCI Digital I O Board with Opto Isolation for PCI User s Guide CONTEC Copyright Copyright 1998 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 the user as a result of using this product Trademarks MS Microsoft MS DOS and Windows are trademarks of Microsoft Corporation Other brand and product names are trademarks of their respective holder PIO 32 32L PCI i Product Configuration Notes PIO 32 32L PCI Board 1 Setup Program Diskette 3 5 inch 1 44MB 1 User s Guide this booklet 1 Unpacking This board is specially packed in an anti static bag to prevent damage in shipping Check the contents to make sure that you have everything listed above If you do not have all the items contact your distributor or CONTEC group office where you purchased Do
22. Setup The second 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 second board first determine what PC resources are free The resources used for 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 re mount one of them on the computer it is unknown which one of the sets of resources previously assigned to the two boards is assigned to the re mounted board In this case re check the resource settings Method of installing two or more Boards For Windows 95 version 4 00 950B or 4 00 950C systems 1 Install the first board correctly 2 Besure to complete installation of the first board before attempting to install the second one 3 Exit Windows 95 and turn the personal computer OFF 4 Check the board ID of the second board then plug it into a PCI bus slot Assign to the second board a board ID different from the ID assigned to the first board 5 Turn the personal computer on again to start up Windows 95 6 The OS will then automatically install the second board When the installation has been completed check the assigned resources again For installing the third board and any additional boards follow the same steps as those for installing a second board Before you can install a third board or addit
23. T Rower c H Supply Qutput T CV 24V Photocoupler O _O Minus Common Figure 4 8 ACK Output Circuit 26 PIO 32 32L PCI External Connection Connection examples Common plus for input CN1 A19pin Board External Power Supply DC12 24V 100 CN 1 AO3pin OO Figure 4 9 An Example to use Input I00 Common puls for output CN 1 B19pin smo e O40 CN1 BO3pin Common minus for output CN 1 BOlpin External Power Supply DC12 24V Board Figure 4 10 An Example to use Output O40 External Power Supply DC12 24V 5 Output Board Input Board Common plus for output Common plus for input O Q Output sinking type Q O m tC Input for sinking output Common minus for output Figure 4 11 Connection Example of Output and Input Signal PIO 32 32L PCI 27 External Connection Surge Protection 28 Note When connecting to digital outputs a load that may generate a voltage surge or current for example an inductive load such as a relay coil or incandescent lamp suitable protection measures are required to prevent damage to the output stage or malfunction owing to noise The instantaneous interruption of current flowing through a coil including a relay results in the sudden generation of a high voltage pulse If the voltage exceeds the withstand
24. ad 1 If an input channel is OFF no driving current is running through the photo diode and the corresponding bit of the input port is read 0 Input Ports Input Group 0 NU 7 6 5 6 LBD 2 1 0 4H usi oa 23 22 nj uo t91 ts pa Input Group 2s Input Group 2 23 22 21 H Dol 18 17 16 31 30 29 28 27 26 25 24 Ixx represents an input signal of CN 1 connector 42H 43H Figure 5 3 Input Port I O Address 40H 3H Programming examples The following programming examples check the input channel 107 If this channel is ON then program will continue The PORT and port are sample I O addresses BASIC MS DOS version DAT LNP UTE OR T F DAT AND amp H80 amp H80 THEN Microsoft C or C S DOS version data in i np port while data in amp Ae PIO 32 32L PCI 31 I O Ports and Registers Data Output Note 32 T O address 4H to 7H output ports are used to output data The following table shows the relationship of output channels and output ports Setting an output bit of output ports to 1 will switch the corresponding output transistor to ON Resetting an output bit of output ports to 0 will switch the corresponding output transistor to OFF D7 D6 D5 D4 D3 D2 D1 al SE 047 046 045 044 043 042 04 39 38 37 36 35 34 45H Output Group 057 056
25. 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 Checking resources Follow the steps below to check the assigned resources managed by the OS 1 Double click on the System option in Control Panel to open the System Properties property sheet Select the Device Manager tab 2 Click Multi function adapters folder 3 Click CONTEC Co Ltd Board Name folder to display its properties 4 Select the Resources tab to check the device type resource settings and the conflicting device list PIO 32 32L PCI 13 Board Setup For Windows 95 Systems Every PCI bus board device will be automatically assigned required system resources such as I O address range and interrupt level by the system whenever the system is turned on Under Windows 95 OS before using the board you should register the board information such as assigned resources to the OS This procedure is called hardware installation After the hardware installation is done Windows 95 can then manage the board information from its registers Following is hardware installation steps After finished the installation you are supposed to confirm the registered board information from Windows 95 registers This procedure does not install board driver s Lately
26. are products optional Examples of CONTEC software products for Windows Driver Software Package Option API PAC W32 ActiveX Component Package Option ACX PAC W32 Please follow the setup instructions of the User s manual shipped with the software products and or the help files of the package to setup our interface board s to your system For details of CONTEC software products please contact our sales agencies PIO 32 32L PCI 9 Board Setup Without CONTEC Software Product The board setup method varies according to the operating system being used For MS Windows OS systems we recommend you to use our optional Windows software products But if you are going to program the board s yourself for MS Windows 95 98 systems you should follow the instructions bellow to setup the board s before you program the board s We do not support other Windows OSs without a Contec software product For other OSs we give a setup example by using MS DOS system You are supposed to refer our example and setup the board s to your system yourself For Windows 98 Systems Every PCI bus board device will be automatically assigned required system resources such as I O address range and interrupt level by the system whenever the system is turned on Under Windows 98 OS before using the board you should register the board information such as assigned resources to the OS This procedure is called hardware installation After the ha
27. arise from inexperienced usage misuse or malfunction of this device 2 PIO 32 32L PCI Introduction Handling Precautions Take the following precautions when handling this board Do not modify the board CONTEC will bear no responsibility for any problems etc resulting from modifying this board Do not strike or bend the board Doing so could damage the board Do not touch the board s metal plated terminals edge connector with your hands Doing so could cause connection malfunctions If the terminals are touched by someone s hands clean the terminals with industrial alcohol There are switches on the board that need to be set in advance Be sure to check these before installing the board Only set the switches and jumpers on the board to the specified settings Doing otherwise would cause trouble Install the board in the computer s PCI expansion slot Do not install or remove the board to or from the slot while the computer s power is turned on Doing so could cause trouble Be sure that the personal computer or the I O expansion unit power is turned off The sum of the power consumed by the boards installed in the personal computer s PCI bus expansion slots cannot be larger than the personal computer s allowable power supply capacity If the boards power sum is larger than this capacity trouble could occur PIO 32 32L PCI 3 Introduction About the Manual This manual consists of the following chapter
28. ersion TI MX I NP PORT9 amp HOF Microsoft C or C MS DOS yep inp port Ox0f PIO 32 32L PCI 41 I O Ports and Registers Output Data Monitor This function allows you to read the last output data without affecting that data Input Ports 1 O Address D4 Input Group4 044 043 o gt Figure 5 12 Input Port ddress 4H 7H Input from an I O Port To monitor output data you can read it as it is being output from the output port Programming examples The following programming examples output data AAH to I O address 4H output port and then read it from I O address 4H input port to confirm the output data The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT amp H04 amp HAA MDT I NP PORT amp H04 Microsoft C or C MS DOS version outp port 0x04 Oxaa m data inp port 0x04 Confirm an Output Bit Refer to the section Input Output Data by Bit Number Monitor Output Data by Port Number Refer to the section Input Output Data by Group Number 42 PIO 32 32L PCI I O Ports and Registers Handshake of Input Channel 0 to 15 Note Under this function an external STB signal will latch channel 0 to 15 input data into input registers This STB signal can also issue an interrupt request signal if you set the interrupt event for it An ACK signal can be issued through software commands
29. examples input the bit 31 1FH The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT amp HOB amp HIF BDT I NP PORT amp HOA Meo C or C MS pos version outp port 0x0b 0x1 bit data inp port T A Output a Bit Data Note 1 Select the bit number that you are going to output by outputting this bit number to an I O address BH output port the Bit Select port The bit numbers are from 32 20H to 63 3FH 2 Output this bit data to an I O address AH output port the Bit Data port The BDT is the output data of the specified bit signal Programming examples The following programming examples output 1 to bit 63 3FH The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT amp HOB amp H3F OUT PORT amp HOA amp H01 Microsoft C or C MS pe version outp port Ox0b 0x outp port 0x0a ae After the PC is turned ON all output bits are reset to 0 PIO 32 32L PCI 35 I O Ports and Registers Input Output Data by Group Number This board supports group input output function Under this function you can specify a group number instead of the I O port and then input from this port or output to this port The following figure shows group numbers and their corresponding input ports D7 D6 D5 D4 D3 D2 D1 DO Input Ports Input Group 0 7 6 5 4 3 2 1 0
30. f installing two or more boards For Windows 95 version 4 00 950 or 4 00 950a system 1 Install the first board correctly 2 Be sure to complete installation of the first board before attempting to install the second one 3 Exit Windows 95 and turn the personal computer off 4 Check the board ID of the second board that should be different from the first one Then plug the board into a PCI bus slot 5 Turn the personal computer on again to start up Windows 95 6 Windows 95 will come up with the New Hardware detection dialog box In Multimedia Device Select which driver you want to install for your new hardware select Select from List 7 The Select Hardware Type dialog box will then appear In Select Hardware Type to Install windows select Other Devices 8 In the Select Device dialog box select CONTEC from Manufacturers window and select CONTEC Co Ltd Board Name from Models window 9 A Change System Settings dialog box appears Follow the messages to restart the computer 10 When Windows 95 is restarted installation of the second board is completed Check the assigned resources again For installing the third board and any additional boards follow the same steps as those for installing a second board Before you can install a third board or additional boards all the boards that are already installed must be in PCI bus slots PIO 32 32L PCI Notes Notes Board
31. he main power switch and the power supply Did the system boot up If the board is installed and the system did not boot up check the following Make sure that the board is plugged in firmly Can you boot up if you chose not to use the interrupt Does your program work If the system booted and your program does not work check the following Try one of the programs provided on disk and see if it works Check the board address of your program Check your interrupt handler program Does the sample program work Check the following Try it with only the PIO 32 32L PCI board installed Make sure that input signals are connected to the right pins Make sure that output signals are recalled back correctly Pin connections on the I O cables are secure Still have a problem Contact CONTEC group office where you purchased as shown in the last page of this manual PIO 32 32L PCI 51 Troubleshooting 52 Note Before you call please make a list of the following information Our technical representatives will need the following information to help you 1 Your name company and phone number 2 The brand and type of computer you are using 3 OS and Version e g DOS Ver 6 2 4 Name of the CONTEC board that you are using 5 Names of other boards in the computer 6 The programming language that you are using and the version number 7 Are you using your own program or a CONTEC sample
32. ick Next gt to continue From the Models window select CONTEC Co Ltd Board Name and click Next gt to continue In the Windows driver file search for the device dialog box there should be the message of CONTEC Co Ltd Board Name and CONTEC INF in the Location of driver window after confirmed this message click Next gt to continue A number which is assigned by the OS will replace the mark 10 In the next dialog box you will find a message of Windows has finished installing the software that your new hardware device requires Then you click Finish to complete the installation of the board After completed the board installation you are supposed to confirm the registered board information from Windows 98 registers again For installing the third board and any additional boards follow the same steps as those for installing a second board Before you can install a third board or additional boards all the boards that are already installed must be in their PCI bus slots PIO 32 32L PCI Notes Board Setup The second 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 second 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
33. ional boards all the boards that are already installed must be in PCI bus slots The second board cannot be properly installed unless the resources I O addresses and interrupt level for the board can be allocated Before attempting to install a second board first determine which PC resources are free The resources used for each board do not depend on the location of the PCI bus slot or the board itself If you remove two or PIO 32 32L PCI 17 Board Setup 18 more boards that have already been installed and then re mount one of them on the computer it is unknown which one of the sets of resources previously assigned to the two boards is assigned to the re mounted board In this case re check the resource settings Checking resources Follow the steps below to check the assigned resources managed by the OS 1 Double click on the System option in Control Panel to open the System Properties property sheet Select the Device Manager tab 2 Click on the Multi function adapters folder 3 Click on the CONTEC Co Ltd Board Name folder to display its properties 4 Select the Resources tab to check the device type resource settings and the conflicting device list PIO 32 32L PCI Board Setup For other OS systems We use MS DOS as an example to show how to use the board under other operation systems in addition of the Windows OS Refer the MS DOS programs in the attached FD For a PCI bus board
34. n inp port 0x08 amp 0x08 Cheching INT status input data output ACK signa I O Ports and Registers Interrupt Control Function If the No 1 2 pins of JP1 is jumped as Using Interrupt up to 4 interrupt events either I00 to I03 input signals or three of the four input signals and the handshake signal STB signal can generate an interrupt request signal Input ports D7 D6 D5 D4 D3 _ D2 D1 DO I O Address EH Interrupt Setting x x iN1 iNOJ x iR f ist i50 D7 D6 D5 D4 D3 D2 D1 DO 1 0 Address 11H Interrupt Status o o o 0 INTS3 INTS2 INTS1 INTS0 Figure 5 15 Input Port Assignment of Interrupt Function Output ports D7 D6 D5 D4 D3 _ D2 D1 DO 1 0 Add 4EH Interrupt Setting TU o o in j iNOJ o f IR f isi ISO D7 D6 D5 D4 D3 D2 D1 DO I O Address 10H Interrupt Mask Resister o o oO o NNTM3INTM2 INTM1 INTMO D7 D6 D5 D4 D3 D2 D1 DO I O Address 11H Interrupt Clear Resister o o o o INTC3 INTC2 INTCI INTCO Figure 5 16 Output Port Assignment of Interrupt Function PIO 32 32L PCI 45 I O Ports and Registers Set Interrupt Events You use the Interrupt Setting output port to set interrupt events and the active logic of these events When you set the interrupt events 100 input signal can be connected only to internal signal INTa 101 input signal can be connected only to internal signal INTb 102 input signal can be connected only to internal signal
35. not remove the board from its protective packaging until the computer case is open and ready for installation Electrical static can cause damage to electronic components PIO 32 32L PCI Table of Contents ENARE g RARER RR o DLE DUAL A M EU EE i Tadema KS roots iet Baebes e aana Gt tust etu dates i Product Configuration sssssssssssserrrrssssserrrrrrrrrssseerrrrrrrnn ii Introduction iiio iiL EEEEEEE EE ERE E EE ERE SEDE LEES EEEED 1 About the PIO 32 32L PCI Board 1 FIN ates cT 1 Limited Three Year Warranty eeeeeeeee 2 How to Obtain Service essseeennnneen 2 Ital VEY coss ege coe o eode pes Ae rat ese ctt M SR Uds 2 Handling Precautions eeeeeeeeennnnnnnnnnne 3 About the Manual eese nenne 4 Component Locations and Setting sssss 5 Component L OCAEOMS uio pate E SE USES FR FER rS SE eS Pipes 5 Setting the Board ID eeeeeeeeeeeeeennnnnnnnns 6 Seating Procedul Sun Dar erae rorem com im ete c m verc ede 6 Setting the Interrupt Use sseeeeeeennnnn 7 Board Setup icis d ei i a a RE RR 9 Use CONTEC Windows Software Products 9 Without CONTEC Software Product 10 For Windows 98 Systems sseeeeeeennne 10 For Windows 95 Systems esseeeeeeenneee 14 For other OS sy
36. onent Locations and Setting Setting the Board ID If you install two or more PIO 32 32L PCI boards on one personal computer assign a different ID value to each of the boards to distinguish them The board IDs from 0 to F can be set 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 SW1 BOARD ID o 2 4 i Factory default BOARD ID 0 Figure 2 2 Board ID Settings SW1 6 PIO 32 32L PCI Component Locations and Setting Setting the Interrupt Use If you don t use the Interrupt function you can let your PC recognize the PIO 32 32L PCT board as a no interrupt function board in order to save the Interrupt resources of PC When the interrupt is used this board is assigned the interrupt level from your PC Setup when interrupt is used Setup when interrupt is not used JP1 JP1 INT INT USE bo o Nor USE USE ojo NOT USE 123 123 Factory setting Figure 2 3 Setting the Interrupt Use PIO 32 32L PCI 7 Component Locations and Setting 8 PIO 32 32L PCI Board Setup 3 Board Setup The board setup method varies according to the operating system being used Use CONTEC Windows Software Products For MS Windows OS systems we recommend you to use our Windows softw
37. oup5 Photocouplers Output Port 2 amp 8ch Group6 Transistors INTA Se interrupt oniro Photocouplers Output Port 3 Circuit amp P ose Transistors PIO 32 32L PCI Figure 6 1 Block Diagram PIO 32 32L PCI 49 System Reference Specifications Table 6 1 lists the chief specifications of this board Table 6 1 Specifications Input Type Opto Isolated Input for current sinking output Negative logic pe 16 channels share a positive common Current required 3 4mA Min to turn ON Current required 0 16mA Max to turn OFF Interrupts Combine four interrupt signals to one interrupt request signal as the INTA Either rising edge or falling edge of input signal can generate interrupt Output Type Opto Isolated Open Collector Output current sinking type Negative logic 16 channels share a positive common and a negative common External power supply 12 to 24 VDC 15 Note 4mA 12V to 8mA 24V per input channel Operating condition 0 to 50 20 to 90 not condensing Connecting distance 50m Typical depending on wiring environment Weight 2159 50 PIO 32 32L PCI Troubleshooting 7 Troubleshooting If you are having trouble with your board or program first answer the following questions to see if you can find the problem QUESTIONS STEPS TO TAKE Is the pilot light on The system must be turned on and the power supply must be working Check t
38. port is reset to 0 Writing a setting data other than a 0 will apply this filter function to all input channels This function cannot be applied to particular pins only but is applied to all input channels Do not set a data more than 20 14H Doing so may cause the board malfunctioning The following table shows digital filter times and their corresponding setting data Digital Filter Time sec 2 16 x 10 n setting data 0 to 20 guess a Dighal ier ime n Pista terme n Trenne naon snaue o me 7 ime 14 oxmec i tose 8 209m 5 ozuse 2 xe aooe 15 E ux faf ume a isse 28 x SP suns 2 05526meec 20 Figure 5 11 Digital Filter Time and Setting Data For example to set a 1msec filter time the setting data should be 14 0EH because 0 001 2 16000000 PIO 32 32L PCI I O Ports and Registers Programming examples The following programming examples set the filter time for 1msec The PORT and port are sample I O addresses BASIC MS DOS version OUT PORT amp HOF amp HOE Mieres C or C MS P Versi outp port 0x0f 0x0 Confirm the Digital Filter Setting Data Read the I O address OFH input port the Digital Filter Setting port will get the filter setting data that you have set The following programming examples input the filter setting data The PORT and port are sample I O addresses Programming examples BASIC MS DOS v
39. put signal Oxx represents an output signal that will be read back here Numbers in brackets represent input bit numbers BDT is input data Figure 5 5 Input Port I O Address 40H 7H and I O Address AH PIO 32 32L PCI 33 I O Ports and Registers The following figure shows bit numbers and their corresponding output ports D7 D6 D5 D4 D3 D2 D1 DO Output Ports I O Address 40H Output Group 0 Not Used 4H Output Group 1 Not Used 42H Output Group 2 Not Used 43H Output Group 3 Not Used 44H Output Group4 047 046 045 044 043 042 04 39 38 35 34 33 32 put G Ph 057 O56 O55 O54 O50 47 46 45 44 40 ae 060 5 48 TH O70 63 56 Bit Data ECCE OT Bit Select 0o o jBS5 BS4 BS3 BS2 BS1 Oxx represents an output signal Numbers in brackets represent output bit numbers BDT is output data BSO to BS5 specify an input or output bit number Figure 5 6 Output Port I O Address 0H 7H and I O Address AH BH 34 PIO 32 32L PCI I O Ports and Registers Input a Bit Data 1 Select the bit number that you are going to input by outputting this bit number to an I O address BH output port the Bit Select port The bit numbers are from 0 to 63 3FH 2 Input this bit data from I O address AH input port the Bit Data port The BDT indicates the status of the specified bit signal Programming examples The following programming
40. r Time and Setting Data Input Port I O Address 4H 7H I O Port Assignment of Handshake Function Timing of Handshake Function Input Port Assignment of Interrupt Function Output Port Assignment of Interrupt Function Explanation of Interrupt Setting Register Block Drasrditizs sides aie ive tls iiss List of Tables SPECILICALIONS s dd e CAN d assa mus PIO 32 32L PCI Introduction 1 Introduction About the PIO 32 32L PCI Board PIO 32 32L PCI is a PCI bus compatible add on interface board designed for isolated digital input output Plugged in a PCI bus expansion slot on the motherboard of a personal computer the board can input and output up to 32 channels Features PCI bus compatible interface board is available to IBM PC compatibles PC in which PCI bus slots have been installed Opto isolated input output providing improved noise resistance Up to 32 8 signals x 4 groups input signals Up to 32 8 signals x 4 groups output signals Four input signals can also generate interrupt requests Up to 35 VDC 100mA per signal max output In addition to its general purpose input output function this board also supports Digital filter for input signals Output data monitor Handshake function for input signals of channels 0 to 15 Bit input output function Group input output function
41. rdware installation is done Windows 98 can then manage the board information from its registers Following is hardware installation steps After finished the installation you are supposed to confirm the registered board information from Windows 98 registers This procedure does not install board driver s Lately you should install driver program s yourself 10 PIO 32 32L PCI Board Setup Hardware Installation Steps 1 Q 3 4 G 6 7 8 Set the board ID Be sure the power of the personal computer is turned off then plug the board into a PCI bus slot in the system Turn the personal computer ON to start up Windows 98 Because this is the first time Windows 98 detected the board from the system Windows 98 will display a message of New Hardware on the screen and start run an Add New Hardware Wizard program After you find a massage of PCI Multimedia Device from the program window click Next gt to continue In the next dialog box select a radio button of Search for the best driver for your device Recommended then click Next gt to continue In the next dialog box select both of the Floppy disk drives F and Specify Location L check boxes then enter the drive name such as A and the directory name WIN95 into the Location field Insert the attached FD into the disk drive then click Next gt to continue In the Windows driver file search for the device
42. s Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Introduction Component Locations and Setting This chapter explains the names of major parts on the board and its switch setting Board Setup This chapter describes the procedures for setting up the board External Connection This chapter explains how to connect external devices to the board I O Ports and Registers This chapter provides the assignment and definition of each I O port bit used for the board System Reference This chapter summarizes hardware specifications of the board and provides circuit block diagrams Troubleshooting This chapter asks a set of questions you need to answer when you are in trouble with your board It also includes a checklist to fill out before calling CONTEC group office for help PIO 32 32L PCI Component Locations and Setting 2 Component Locations and Setting Component Locations Figure 2 1 shows the names of major parts on the PIO 32 32L PCT board Note that the switch setting shown below is the factory default jumper for interrupt signal resource settings JP1 INT USE O O NOT USE 123 ED PIO 32 32L PCI INE BOARD ID I1 Q Interface connector BOARD ID Setting Switch CN 1 Sw1 BOARD ID QO 97 ee OIRO 0 Figure 2 1 Component Locations PIO 32 32L PCI 5 Comp
43. stems eese 19 External Connection enne 21 Interface COT TeCEOE uae rt keel Eee crate rat nd xn orate vat rete rE 21 Connecting the Interface Connector 21 Interface Connector Pin Assignment 22 PCB96WS and CCB 96 Signal Assignments 23 Input Circuit and Output Circuit sessssses 24 aisle ao G0 ied 24 OUEBUE CHP GUIs ood n a aan a aiaa aa aa Eaa 25 STB and ACK input and output circuits 26 Connection examples eeenen 27 PIO 32 32L PCI iii S rge Protectio ANE CP 28 I O Ports and Registers eene 29 I O Address M dps tis uei roe ura piana ieu muera ea nde 29 Input Output Data by Direct Access to l O Ports 31 Dba OU oodd aac hod odia a SE DEEP Hoe 31 Data QUEDULU S is erit patei D d retur ERE RR DES 32 Input Output Data by Bit Number 33 imputa Bit Dat aia ere tethers hare E E E ak 35 Output a Bit Data S25 ode atia o he odeur ss 35 Input Output Data by Group Number 36 Input a Group Data sss 38 Output a Group Datd rh el 38 Digital Filter Function of Input Channels 39 Digital Filter Function Principle 39 Set Digital Filter Time eeereneenenennnnne 40 Confirm the Digital Filter Setting Data
44. t reti e Seco tiers s 21 Interface Connector Pin Assignment 22 PCB96WS and CCB 96 Signal Assignments 23 Input Circuit eii Genet aided 24 Output Circuit ecce deett dade 25 STBJnput CIECUIL ie orm e enoras 26 ACK Output Circuit 2 e re re pere ps 26 An Example to use Input I00 27 An Example to use Output 040 27 Connection Example of Output and Input Signal 27 Samples of Voltage Surge Protection 28 Input Port Assignments cec 29 Output Port Assignment ee eee 30 Input Port I O Address 0H 3H 31 Output Port I O Address 4H 7H 32 Input Port I O Address 0H 7H and I O Address AED see Sas ss casas na dace vues vanes deen eves 33 Output Port I O Address 0H 7H and I O Address AH BH opienie ar READ Een IPS 34 PIO 32 32L PCI V Figure 5 7 Figure 5 8 Figure 5 9 Figure 5 10 Figure 5 11 Figure 5 12 Figure 5 13 Figure 5 14 Figure 5 15 Figure 5 16 Figure 5 17 Figure 6 1 Table 6 1 vi Input Port I O Address 0H 7H and I O Address t C EL Les esee agus esed etia esaet Output Port I O Address OH 7H and I O Address FCH DEN ceeeesie nes ee tinis error Digital Filter Operation Principle I O Ports of Digital Filter Function Digital Filte
45. ters Digital Filter Function of Input Channels This board is equipped with a digital filter function for input signals This function provides all input channels with a means of cutting chattering and noise Digital Filter Function Principle To use this function you must set a filter time The function circuits will then check all input signals synchronizing with the clock A signal level low or high will be input only if the signal level remains stable during the filter set time Therefore if a signal level changes faster than the filter set time this level change will be ignored and the previous signal level will be input Input Signal Digital Inputto PC Filter Filter Setting Time Input Signal I pA Invalid i Valid i Input to PC m o Figure 5 9 Digital Filter Operation Principle Lnput Ports r E em Be BS TURNUS p Pl po I O Address H 9 g Output Ports D7 D6 D5 D4 D3 D2 D1 DO 1 0 Add 4FH Digital Filter Setting m o o f o j srajsrajsrjsri sto Figure 5 10 I O Ports of Digital Filter Function PIO 32 32L PCI 39 I O Ports and Registers Set Digital Filter Time Notes 40 To set the digital filter time write a five digit setting data to the I O address OFH output port the Digital Filter Setting port The setting data should be 0 to 20 14H Writing a 0 to this port will disable the digital filter function After power on this
46. the instructions on the screen to complete installation of the board After completed the board installation you are supposed to confirm the registered board information from Windows 95 registers The Checking resources part of this section explains you how to do it For Windows 95 version 4 00 950B or 4 00 950C systems 1 Q 3 4 5 6 Set the board ID Be sure to check that the personal computer is off then plug the board into a PCI bus slot in the system Turn the personal computer on to start up Windows 95 Because this is the first time Windows 95 detected the board from the system Windows 95 will display a message of New Hardware on the screen and start run an Device Driver Wizard program After you find a massage of PCI Multimedia Device from the program window click Next gt to continue In the next dialog box select Specify Location Insert the attached FD into a drive enter the drive name and directory name WIN95 in the Location field then click OK In the next dialog box there should be a message of Updated driver found for this device After confirmed this message you PIO 32 32L PCI 15 Board Setup 16 click End This completes installation of the board After completed the board installation you are supposed to confirm the registered board information from Windows 95 registers The Checking resources part of this section explains you how to do it Method o
47. you should install driver program s yourself Procedure of Hard ware Installation Checking the OS version The procedure of installing the board is different from the Windows 95 versions Before any installation you must check the version of Windows 95 that you are using 1 Open Control Panel from My Computer 2 Double click on the System option to open the System Properties property sheet 3 Check the System number displayed on the General page System Microsoft Windows 95 4 00 950 The versions of Windows 95 include 4 00 950 4 00 950a 4 00 950B and 4 00 950C The board setup method depends on the version of Windows 95 that is being used 14 PIO 32 32L PCI Board Setup For Windows 95 version 4 00 950 or 4 00 950a systems 1 Q 3 4 G 6 Set the board ID Be sure the power of the personal computer is turned off then plug the board into a PCI bus slot in the system Turn the personal computer ON to start up Windows 95 Windows 95 will come up with the New Hardware detection dialog box Select Multimedia Device Select which driver you want to install for your new hardware and then Driver from disk provided by hardware manufacturer In the Install From Disk dialog box insert the attached FD into the disk drive enter the drive name and directory name in the Copy Distributed File From field then click OK This completes installation of the board Follow

Download Pdf Manuals

image

Related Search

Related Contents

Operating Manual Manuel d`utilisation Manual de operación  Impensa Employee User Guide (March 2011)  Programme - Célestins  Coleman Fan 2000006895 User's Manual  NI PXIe-4339 and RM-4339 User Guide and Terminal Block  User Manual  GDM-834x Series Dual Measurement Multimeter New  

Copyright © All rights reserved.
Failed to retrieve file