Home
PCI-1758UDI PCI-1758UDO User Manual
Contents
1. Address Stored data description Stored data class 0x00 P1_IDO amp PO_IDO Digital output power up values 0x01 P3_IDO amp P2_IDO 0x02 P5_IDO amp P4_IDO 0x03 P7_IDO amp P6_IDO 0x04 P9_IDO amp P8_IDO 0x05 PB_IDO amp PA_IDO 0x06 PD_IDO amp PC_IDO 0x07 PF_IDO amp PE_IDO 0x10 P1_IDO amp PO_IDO Digital output WDT overflow values 0x11 P3_IDO amp P2_IDO 0x12 P5_IDO amp P4_IDO 0x13 P7_IDO amp P6_IDO 0x14 P9_IDO amp P8_IDO 0x15 PB_IDO amp PA_IDO 0x16 PD_IDO amp PC_IDO 0x17 PF_IDO amp PE_IDO PCI 1758U User Manual 48 C 4 Board ID Register For UDO and UDI You can determine the BoardID on the register as shown on table below When there are multiple cards on the same chassis this BoardID setting function is useful for identifying each card s device number through BoardID We set the PCI 1758UDI 1758UDO BoardID as 0 at the fac tory If you need to adjust it to other board ID set the SW1 by referring to the table Board ID register of PCI 1758UDI Base Add 56h 3 2 1 0 Abbreviation ID3 ID2 ID1 IDO Board ID register of PCI 1758UDO Base Add 1Ch 3 2 1 0 Abbreviation ID3 ID2 ID1 IDO IDO the least significant bit LSB of Board ID ID3 the most significant bit MSB of Board ID Board ID Setting SW1 Board ID DEC Switch Position ID3 ID2 ID1 IDO 0 ON ON ON ON 1 ON ON
2. Bit 15 Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Filter interval time preset register low 16 bits Base 0x54 Write Read Bit 15 Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Filter interval time preset register high 16 bits The filter interval time is preset by writing a 32 bit value to the two regis ters The high 16 bits should be written to Filter Interval Time Preset reg ister high 16 bits and the low 16 bits should be written to Filter Interval Time Preset register low 16 bits The value written to the two registers is calculated by the following formula Tinterval Value x 200 ns For example Filter Interval Time Preset register high 16 bits 0x0001 Filter Interval Time Preset register low 16 bits 0x0000 Value 0x00010000 Tinterval Value x 200ns 13107200ns 43 Appendix C C 3 PCI 1758 UDO Register Format Base Register Description Addre ss Write Read 0 Digital Output Port 0 and Port 1 Digital Output Port 0 and port 1 Read Back 2 Digital Output Port 2 and Port 3 Digital Output Port 2 and Port 3 Read Back 4 Digital Output Port 4 and Port 5 D
3. PCI 1758UDI 128 channel Isolated Digital Input Card PCI 1758UDO 128 channel Isolated Digital Output Card User Manual Copyright The documentation and the software included with this product are copy righted 2004 by Advantech Co Ltd All rights are reserved Advantech Co Ltd reserves the right to make improvements in the products described in this manual at any time without notice No part of this man ual may be reproduced copied translated or transmitted in any form or by any means without the prior written permission of Advantech Co Ltd Information provided in this manual is intended to be accurate and reli able However Advantech Co Ltd assumes no responsibility for its use nor for any infringements of the rights of third parties which may result from its use Acknowledgements PC LabCard is a trademark of Advantech Co Ltd IBM and PC are trademarks of International Business Machines Corporation MS DOS Windows Microsoft Visual C and Visual BASIC are trademarks of Microsoft Corporation Intel and Pentium are trademarks of Intel Corporation Delphi and C Builder are trademarks of Inprise Corpora tion Part No 2003175800 Ist Edition Printed in Taiwan June 2004 PCI 1758U User Manual ii Product Warranty 2 years Advantech warrants to you the original purchaser that each of its prod ucts will be free from defects in materials and workmanship for two years from the date of
4. 2 500 VDC e Wide input range 5 25 VDC e Digital Filter function Board ID e Interrupt handling capability Robust Isolation PCI 1758UDI 1758UDO The PCI 1758UDI 1758UDO features a robust isolation protection for applications in industrial lab and machinery automation The PCI 1758UDI 1758UDO can durably withstand a voltage up to 2 500 VDC preventing your host system from any incidental harms Wide Input Output Range PCI 1758UDI 1758UDO The PCI 1758UDI has a wide range of input voltage from 5 to 25 VDC and is suitable for most industrial applications with 12 and 24 VDC input voltage The PCI 1758UDO also features a wide output voltage range from 5 to 40 VDC suitable for most industrial applications with 12 24 VDC output voltage BoardID Switch The PCI 1758UDI 1758UDO has a built in DIP switch that helps define each card s ID when multiple cards have been installed on the same PC chassis The BoardID switch is very useful when you are building a sys tem with multiple PCI 1758UDI 1758UDO cards With correct Board ID settings you can easily identify and access each card during hardware configuration and software programming Programmable Power Up States Function When powering up the output drives on the PCI 1758UDO are disabled All output lines are user configurable for logic high output and logic low output User configurable power up states are useful for ensuring that the PCI 1758UDO powers up in a know
5. blocked Table 4 1 Pulse Width Filtering Filter Pulse Width Passed Pulse Width Blocked Interval Low Pulse High Pulse Low Pulse High Pulse Tinterval Tinterval Tinterval Tinterval 2 Tinterval 2 You can enable or disable filtering on every input channel as is necessary for your application All filtered channels share the same timing interval which ranges from 200 ns to 400 sec There are two clocks in the filter the sample clock and the filter clock The sample clock has a period of 100 ns The filter clock is generated by a counter and has a period equal to one half of the specified timing inter val The input signal is sampled on each rising edge of the sample clock However a change in the input signal is recognized only if it maintains its new state for at least two consecutive rising edges of the filter clock The filter clock is programmable and allows you to control how long a pulse must last to be recognized by write a value to Filter interval time Preset register high 16 bits 29 Chapter 4 4 2 1 Digital Filtering Example The following figure shows a filter configuration with an 800 ns filter interval 400 ns filter clock cee JUL Clock Filter nm M m M Clock External Signal H L LH External Signal HLLH 2 HHHH S l ample 1 3 Filtered Signal Figure 4 2 Digital Filter Example In periods 1 and 2 the filter blocks the glitches because the external
6. 1758UDI 15 Chapter 3 PEF_COMP PEF_COMP PF_IDOO7 PF_IDO06 PF_IDOO5 PF_IDO04 PF_IDO03 PF_IDO02 PF_IDOO1 PF_IDOOO PE_IDOO7 PE_IDO06 PE_IDOO5 PE_IDO04 PE_IDO03 PE_IDO02 PE_IDOO1 PE_IDOO0O PEF_COMM PEF_COMM PEF_COMM PEF_COMM PEF_COMM PEF_COMM NC NC PCD_COMP PCD_COMP PD_IDOO7 PD_IDO06 PD_IDO05 PD_IDO04 PD_IDO03 PD_IDO02 PD_IDOO1 PD_IDOO0O PC_IDOO7 PC_IDO06 PC_IDOO5 PC_IDO04 PC_IDO03 PC_IDO02 PC_IDOO1 PC_IDOO0O PCD_COMM PCD_COMM PCD_COMM PCD_COMM PCD_COMM PCD_COMM 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 del 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 bi CNB NNNNYNNNNNNN WWW ww WWW WER EERE B BP oPFNWES U MIMO 0ORFN WE UNIO EOF NWE UNIO EO PFNWEUM IO OO RFN WE UMO 0 PAB_ COMP PAB_ COMP PB_IDOO7 PB_IDO06 PB_IDOO5 PB_IDO04 PB_IDO03 PB_IDOO2 PB_IDOO1 PB_IDOOO PA_IDOO7 PA_IDO06 PA_IDOO5 PA_IDO04 PA_IDO03 PA_IDO02 PA_IDOO1 PA_IDOOO PAB_COMM PAB_COMM PAB_COMM PAB_COMM PAB_COMM PAB_COMM NC NC P89_COMP P89_COMP P9_IDOO7 P9_IDO06 P9_IDOO5 P9_IDO04 P9_IDO03 P9_IDO02 P9_IDOO1 P9_IDOOO P8_IDOO7 P8_IDO06 P8_IDO05 P8_IDO04 P8_IDO03 P8_IDO02 P8_IDOO1 P8_IDO00 P89_COMM P89_COMM P89_COMM P89_COMM P89_COMM P89_COMM CNA P01_COMM P01_COMM P01_COMM P01_COMM P01_COMM P01_COMM PO_IDOOO PO_IDOO1 PO_IDO02 PO_IDO03 PO_IDO04 PO_IDOO5 PO_IDO06 PO_
7. 4 3 BoardID Setting SWI annen 28 Specifications ss ieiasseccuscsendssconsssevnnssescssonvadsveesss OU Specifications sareren E E Monnens A 1 1 Isolated Digital Input A 1 2 Isolated Digital Output ATI General sicsscsscsvessereceieas asi cts ia e a A AE EE Block Diagram eessesesoossooessossssesssesssoossossse J4 PCI 1758UDI Block Diagram nnen eneen eneen 34 PCI 1758UDO Block Diagram nonnen ennen 34 Register Structure amp Format ee 36 Register Structure ieri o ndeasten eects PCI 1758UDI Register Format C 2 1 Register Format annae on oneenvenvenvenvenvenvennennn C 2 2 Digital Input Register nennen eneen C 2 3 Digital Input Rising Edge Interrupt Register C 2 4 Digital Input Falling Edge Interrupt Register C 2 5 Interrupt State Register nennen nennen C 2 6 Interrupt of Port Identify Register eeeeeeereeee C 2 7 Digital Filter Function Control Register C 2 8 Filter Interval Time Preset Register PCI 1758 UDO Register Format nennen ennen C 3 1 Digital Output Register C 3 2 Watchdog Counter Value Register C 3 3 Watchdog State Control Register C 3 4 Watchdog Timer Clear Register C 3 5 EEPROM Control DO state Register Board ID Register For UDO and UDI eee PCI 1758U User Manual vi CHAPTER General Information This chapter gives background infor mation on the PCI 17
8. Port F Rising Edge Inter rupt Register rupt Register 2E DI Port E and Port F Falling Edge Inter DI Port E and Port F Falling Edge Inter rupt Register rupt Register 30 Port 0 and Port 1 Interrupt State Register Port 0 and Port 1 Interrupt State Regis ter 32 Port 2 and Port 3 Interrupt State Register Port 2 and Port 3 Interrupt State Regis ter 34 Port 4 and Port 5 Interrupt State Register Port 4 and Port 5 Interrupt State Regis ter 36 Port 6 and Port 7 Interrupt State Register Port 6 and Port 7 Interrupt State Regis ter 38 Port 8 and Port 9 Interrupt State Register Port 8 and Port 9 Interrupt State Regis ter 3A Port A and Port B Interrupt State Regis Port A and Port B Interrupt State Regis ter ter 3C Port C and Port D Interrupt State Regis Port C and Port D Interrupt State Regis ter ter 3E Port E and Port F Interrupt State Regis Port E and Port F Interrupt State Regis ter ter 37 Appendix C 40 Port 0 and Port 1 Digital filter Enable Port 0 and Port 1 Digital filter Enable Register Register 42 Port 2 and Port 3 Digital filter Enable Port 2 and Port 3 Digital filter Enable Register Register 44 Port 4 and Port 5 Digital filter Enable Port 4 and Port 5 Digital filter Enable Register Register 46 Port 6 and Port 7 Digital filter Enable Port 6 and Port 7 Digital filter Enable Register Register 48 Port 8 and Port 9 Digital filter
9. n 0 to F is for Port 0 to Port F m 0 to 7 is for IDIO to IDI7 Base 0x00 for Port 0 and Port 1 Base 0x02 for Port 2 and Port 3 Base 0x04 for Port 4 and Port 5 Base 0x06 for Port 6 and Port 7 Base 0x08 for Port 8 and Port 9 Base 0x0A for Port A and Port B Base 0x0C for Port C and Port D Base 0x0E for Port E and Port F C 2 3 Digital Input Rising Edge Interrupt Register Base 0x10 14 18 1C 20 24 28 2C Digital Input Rising Edge Interrupt setting Base 0x10 0x2C Write Read Bit Bit Bit Bit Bt Bt Bit Bit Bit Bit Bt Bt Bit Bit Bit Bit 15 44 13 12 11 Mo J9 8 7 e 15 l4 l3 2 1 Jo Pi P1 P1 P1 P1 P1 P1 P1 Po Po Po Po Po Po Po PO IDI7 fIDI6 IDIS IDI4 IDA IDI2 DIA IDIO IDI7 IDI6 IDI5 IDI4 IDM IDI2 ID IDIO Bit 15 Bit O Write 0 Disable the Pn I DIm Rising Edge interrupt function 1 Enable the Pn IDIm Rising Edge interrupt function n 0 to F is for Port 0 to Port F m 0 to 7 is for IDIO to IDI7 Bit 15 Bit O Read Read back the setting value Base 0x10 for Port 0 and Port 1 Base 0x14 for Port 2 and Port 3 Base 0x18 for Port 4 and Port 5 Base 0x1C for Port 6 and Port 7 39 Appendix C Base 0x20 for Port 8 and Port 9 Base 0x24 for Port A and Port B Base 0x28 for Port C and Port D Base 0x2C for Port E and Port F C 2 4 Digital Input Falling Edge Interrupt Register Base 0x12 16 1A 1E 22 26 2A 2E Digital Inp
10. purchase This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech or which have been subject to misuse abuse accident or improper instal lation Advantech assumes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous test ing most of our customers never need to use our repair service If an Advantech product is defective it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed according to the cost of replacement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any onscreen messages you get when the problem occurs 2 Call your dealer and describe the problem Please have your man ual product and any helpful information readily available 3 _ If your product is diagnosed as defective obtain an RMA return merchandize authorization number from your dealer This allows us to process your return more quickly 4 Carefully pack the defective product a fully completed Repair and Replacement Order Card and a photoc
11. surface of your computer to neutralize the static electricity that might be in your body 9 Chapter 2 Adjust DIP switch SW1 on board to set the card s BoardID 6 Insert the PCI 1758UDI 1758UDO card into a PCI slot Hold the card only by its edges and carefully align it with the slot Insert the card firmly into place Use of excessive force must be avoided or the card might be damaged 7 Fasten the bracket of the PCI card on the back panel rail of the computer with screws 8 Connect appropriate accessories to the PCI card 9 Replace the cover of your computer chassis Re connect the cables you removed in step 2 10 Plug in the power cord and turn on the computer If your card is properly installed you should see the device name of your card listed on the Device Manager tab If you do see your device name listed on it but marked with an exclamation sign Fig 2 1 it means your card has not been correctly installed In this case remove the card device from the Device Manager by selecting its device name and press the remove button Then go through the driver installation process again Action View gt m e a B Advantech DA amp C I O cards Er Advantech PCI1758UDI Device El Computer amp Disk drives Display adapters 23 DVD CD ROM drives Floppy disk controllers Floppy disk drives amp IDE ATA ATAPI controllers Keyboards TA Mice and other pointing devices 3 Monitor
12. 3 General Model Name PCI 1758UDI PCI 1758UDO I O Connector Type MINI SCSI HDRA E100 Female Dimensions 175 x 100 mm 6 9 x 3 9 Power Typical 5V 0 3A 5V 1 1A eae Max 5V 0 6A 5V 2 2A Temperature Operating 0 60 C 32 140 F refer to IEC 68 2 1 2 Storage 20 70 C 4 158 F Relative Humidity 5 95 RH non condensing refer to IEC 68 2 3 31 Appendix A PCI 1758U User Manual 32 Appendix B Block Diagram B 1 PCI 1758UDI Block Diagram PCI BUS Iy i o 2 o Digital IN 3 igita J Een RA Local Bus Control 2 3 N Unit FPGA ae a le a gt RA NZ FPGA Configuration Control plash OSC 10M Unit CPLD B 2 PCI 1758UDO Block Diagram 6 Power up and Watchdog Digital output data storage unit K i PLX Digital Out lt Local Bus Control N ECI9030 Unit FPGA a v Q o FA 2 5 2 8 8 8 5 9 2 8 a 3 T af 8 3 gt rf N FPGA Y Configuration Control i Ful plash OSC 10M gt Unit CPLD 34 PCI 1758U User Manual Appendix C Register Structure amp Format C 1 Register Structure PCI 1758UDI 1758UDO is delivered with an easy to use 32 bit DLL driver for user programming under the Windows 98 2000 XP op
13. 58UDI and PCI 1758UDO It then shows how to con figure the card to match your applica tion and prepare it for installation on your system Sections include e Introduction e Installation Guide e Accessories Chapter 1 General Information 1 1 Introduction Thank you for buying the PCI 1758UDI 1758UDO Digital Input Output card The PCI 1758UDI 1758UDO card enables powerful data acquisi tion DAS card for the PCI bus It features a unique circuit design and complete functions for data acquisition and control The PCI 1758UDI 1758UDO card provides specific functions for differ ent user requirements PCI 1758UDO 128 channel Isolated Digital Output card PCI 1758UDI 128 channel Isolated Digital Input Card The following sections of this chapter will provide further information about features of the DAS cards 1 1 1 Features The PCI 1758UDI UDO DIO card provides the most requested I O and control functions as seen below PCI 1758UDO card 128 isolated digital output channels High voltage isolation on output channels 2 500 VDC Wide output range 5 40 VDC High sink current for isolated output channels 90 mA max Channel Current protection for each port BoardID Output status read back Digital output value retained after hot system reset Programmable Power Up States Watchdog Timer PCI 1758U User Manual 2 PCI 1758UDI card e 128 isolated digital input channels e High voltage isolation for input channels
14. CI 1758UDI DO card 1 x Companion CD ROM DLL driver included 1 x User Manual This manual PCI 1758U User Manual iv Chapter Chapter Chapter 1 1 2 1 3 3 2 3 3 3 4 Contents General Information cccccccscssssssssscssceeee 2 Introduction eens 1 1 1 Features Table 1 1 PCI 1758UDO 1758UDI Features Comparison 5 Installation Guide nnen vennen id Figure 1 1 Installation Flow Chart 1 6 ACCESSOTIES aanne nes e a Eo 13 1 Wiring Cable zen 1 6 1 3 2 Wiring Terminal Board nennen 6 Hardware Configuration ese veeeve vennen S Unpacking eee Hardware Installation Figure 2 1 The Exclamation Mark Indicates Problems 10 Board Layout Dimensions cccceseeseeeteeseeeseeeeeeeeees 11 Figure 2 2 PCI 1758UDI 1758UDO Board Layout Di mensions 11 23 CONNECT 22 ennen a aes 12 Pin Assignments amp Jumper settings 14 Pin Assignments nsi toc ected vii wees etiaai 14 Figure 3 1 Connector nennen ene evenenverenn 14 Figure 3 2 1 O Connector Pin Assignment for PCI 1758UDI 15 Figure 3 3 1 O Connector Pin Assignment for PCI 1758UDO 16 Table 3 1 UDI Connector ennen 17 Table 3 2 PCI 1758UDO I O Connector Signal Descrip tion 18 Location of Jumper and DIP Switch s es 19 Figure 3 4 Location of DIP Switch on PCI 1758UDI 19 Figure 3 5 Location of DIP Switch and Jumper on PCI 1758U
15. DO 19 Isolated Digital Input Connections 3 3 1 Interrupt Function of the DI Signals 3 3 2 Isolated Inputs ananas eneen envenvenven vennen Figure 3 6 Isolated Digital Input Connection 20 Isolated Digital Output Connections 21 3 4 1 Power On Configuration annen venen venen 21 Table 3 3 JP3 Power On Configuration after Hot Reset 21 3 4 2 Isolated Outputs anna nennennen sense ene eneene ennen 21 Figure 3 7 Isolated Digital Output Connection 22 v Table of Contents 3 5 Chapter 4 4 1 4 2 PAF WM BW Appendix A A l Appendix B 1 2 Appendix C DW NOR C C C 3 C 4 Field Wiring Considerations nanne one eneenneeneenn 22 Operati n rsssssessrocseisssisseiss sorozo issoro 2d Interrupt Function PCI 1758UDI nennen 24 4 1 1 Interrupt Modes for Digital Input ce eeeereeee 24 Figure 4 1 Interrupt Mode for Digital Input 24 Digital Filter Function PCI 1758UDD Table 4 1 Pulse Width Filtering 4 2 1 Digital Filtering Example Figure 4 2 Digital Filter Example 4 2 2 Digital Filter Function Control Register 26 Watchdog Timer Function PCI 1758UDO 27 Power Up States Function PCI 1758UDO 27 Board ID PCI 1758UDI UDO eee ecceeseeneeeeeteeeeeee 28 Table 4 2 Board ID Register of PCI 1758UDI 1758UDO 28 Table
16. Enable Port 8 and Port 9 Digital filter Enable Register Register 4A Port A and Port B Digital filter Enable Port A and Port B Digital filter Enable Register Register 4C Port C and Port D Digital filter Enable Port C and Port D Digital filter Enable Register Register 4E Port E and Port F Digital filter Enable Port E and Port F Digital filter Enable Register Register 50 Interrupt of Port Identify Register 52 Filter interval time preset low 16 bits Filter interval time preset low 16 bits 54 Filter interval time preset high 16 bits Filter interval time preset high 16 bits 56 Board ID C 2 2 Digital Input Register Base 0x00 02 04 06 08 0A 0C 0E Digital Input value Base 0x00 0x0E Read Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 15 14 13 12 11 10 9 8 T 6 5 4 3 2 1 0 P4 P1 P4 P1 P1 P1 P1 P1 Po Po Po PO PO PO PO PO IDI IDI IDI IDI IDI IDI IDI IDE IDI IDI IDI IDI IDI IDI IDI IDI 7 6 5 4 1 2 1 0 7 6 5 4 1 2 1 0 Base 0x00 0x0E Write Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 15 14 13 12 14 10 9 8 7 6 5 4 3 2 1 0 N A PCI 1758U User Manual 38 Bit 15 Bit O Read 0 The Pn IDIm input photo couple is inaction 1 The Pn IDIm input photo couple is active
17. IDOO7 P1_IDO00 P1_IDO01 P1_IDO02 P1_IDO03 P1_IDO04 P1_IDO05 P1_IDO06 P1_IDOO7 P01_COMP P01_COMP NC NC P23_COMM P23_COMM P23_COMM P23_COMM P23_COMM P23_COMM P2_IDO00 P2_IDOO1 P2_IDO02 P2_IDO03 P2_IDO04 P2_IDO05 P2_IDO06 P2_IDOO7 P3_IDO00 P3_IDOO1 P3_IDO02 P3_IDO03 P3_IDO04 P3_IDOO5 P3_IDO06 P3_IDOO7 P23_COMP P23_COMP WCOIHORWNPER ANAM BPWNRFO P45_COMM P45_COMM P45_COMM P45_COMM P45_COMM P45_COMM P4_IDO00 P4_IDO01 P4_IDO02 P4_IDO03 P4_IDO04 P4_IDO05 P4_IDO06 P4_IDO07 P5_IDO00 P5_IDO01 P5_IDO02 P5_IDO03 P5_IDO04 P5_IDO05 P5_IDO06 P5_IDO07 P45_COMP P45_COMP NC NC P67_COMM P67_COMM P67_COMM P67_COMM P67_COMM P67_COMM P6_IDO00 P6_IDOO01 P6_IDO02 P6_IDO03 P6_IDO04 P6_IDO05 P6_IDO06 P6_IDOO07 P7_IDO00 P7_IDO01 P7_IDO02 P7_IDO03 P7_IDO04 P7_IDOO05 P7_IDO06 P7_IDOO7 P67_COMP P67_COMP Figure 3 3 I O Connector Pin Assignment for PCI 1758UDO PCI 1758U User Manual 16 Table 3 1 UDI Connector Signal Name Reference Directi Description on PO_IDI00 07 PO1 COMM Input Isolated Digital Input of port 0 P1_IDI00 07 PO1 COMM Input Isolated Digital Input of port 1 P2_IDI00 07 P23 COMM Input Isolated Digital Input of port 2 P3_IDIO0 07 P23 COMM Input Isolated Digital Input of port 3 P4 _IDI00 07 P45 COMM Input Isolated Digital Input of port 4 P5 IDI00 07 P45 COMM Input I
18. ON OFF 2 ON ON OFF ON 3 ON ON OFF OFF 4 ON OFF ON ON 5 ON OFF ON OFF 6 ON OFF OFF ON 7 ON OFF OFF OFF 8 OFF ON ON ON 9 OFF ON ON OFF 10 OFF ON OFF ON 11 OFF ON OFF OFF 12 OFF OFF ON ON 13 OFF OFF ON OFF 14 OFF OFF OFF ON 15 OFF OFF OFF OFF Default 49 Appendix C
19. Table 4 3 Table 4 2 Board ID Register of PCI 1758UDI 1758UDO Board ID register of PCI 1758UDI Base Add 56h 3 2 1 0 Abbreviation ID3 ID2 ID1 IDO Board ID register of PCI 1758UDO Base Add 1Ch 3 2 1 0 Abbreviation ID3 ID2 ID1 IDO IDO the least significant bit LSB of BoardID ID3 the most significant bit MSB of BoardID Table 4 3 BoardID Setting SWL Board ID DEC Switch Position ID3 ID2 ID1 IDO 0 ON ON ON ON 1 ON ON ON OFF 2 ON ON OFF ON 3 ON ON OFF OFF 4 ON OFF ON ON 5 ON OFF ON OFF 6 ON OFF OFF ON 7 ON OFF OFF OFF 8 OFF ON ON ON 9 OFF ON ON OFF 10 OFF ON OFF ON 11 OFF ON OFF OFF 12 OFF OFF ON ON 13 OFF OFF ON OFF 14 OFF OFF OFF ON 15 OFF OFF OFF OFF Default PCI 1758U User Manual 28 Appendix A Specifications A 1 Specifications A 1 1 Isolated Digital Input Input Resistance Model Name PCI 1758UDI Number of Input Channels 128 Interrupt Inputs 128 Optical Isolation 2500 VDC Opto lsolator Response 50 ps Time VIH max 25 V ee VIH min 5V VIL max 2 5V 3 kQ A 1 2 Isolated Digital Output Model Name PCI 1758UDO Number of Input Channels 128 Optical Isolation 2500 VDC Opto lsolator Response 50 us Time Supply Voltage 5 40 V Sink Current 90 mA max Channel PCI 1758U User Manual 30 A 1
20. _ID P9_ID P9_ID P9_ID P8_ID P8_ID P8_ID P8_ID P8_ID P8_ID P8_ID P8_ID NC NC NC NC NC NC 07 06 05 104 103 102 01 00 107 06 105 104 03 102 101 100 NC NC NC NC NC NC PO_ID PO_ID PO_ID PO_ID PO_ID PO_ID PO_ID PO_ID P1_ID P1_ID P1_ID P1_ID P1_ID P1_ID P1_ID P1_ID 00 01 02 03 04 05 06 07 00 01 02 03 04 05 06 07 P01_COMM P01_COMM NC NC NC NC NC NC NC NC P2_ID P2_ID P2_ID P2_ID P2_ID P2_ID P2_ID P2_ID P3_ID P3_ID P3_ID P3_ID P3_ID P3_ID P3_ID 00 01 02 03 04 05 06 07 00 01 02 03 04 05 06 P3_ID 07 P23_COMM P23_COM M CNA 1 51 2 52 3 53 4 54 5 55 6 56 7 57 8 58 9 59 10 60 11 61 12 62 13 63 14 64 15 65 16 66 17 67 18 68 19 69 20 70 21 71 22 72 23 73 24 74 25 75 26 76 27 77 28 78 29 79 30 80 31 81 32 82 33 83 34 84 35 85 36 86 37 87 38 88 39 89 40 90 41 91 42 92 43 93 44 94 45 95 46 96 47 97 48 98 49 99 50 100 NC NC NC NC NC NC P4_IDI00 P4_IDI01 P4_IDI02 P4_IDIO03 P4_IDI04 P4_IDIO5 P4_IDI06 P4_IDI07 P5_IDIOO P5_IDIO1 P5_IDI02 P5_IDIO3 P5_IDI04 P5_IDIO5 P5_IDIO6 P5_IDIO7 P45_COMM P45_COMM NC NC NC NC NC NC NC NC P6_IDIOO P6_IDIO1 P6_IDI02 P6_IDIO3 P6_IDI04 P6_IDIO5 P6_IDIO6 P6_IDIO7 P7_IDI00 P7_IDI01 P7_IDI02 P7_IDIO3 P7_IDI04 P7_IDIO5 P7_IDI06 P7_IDIO7 P67_COMM P67_COMM Figure 3 2 I O Connector Pin Assignment for PCI
21. ately Avoid installing a damaged card into your system PCI 1758U User Manual 8 Also pay extra caution to the following aspects to ensure proper installation e Avoid physical contact with materials that could hold static electricity such as plastic vinyl and Styrofoam Whenever you handle the card grasp it only by its edges DO NOT TOUCH the exposed metal pins of the connector or the electronic com ponents Note Keep the antistatic bag for future use You might need the original bag to store the card if you have to remove the card from the PC or wish to transport it elsewhere 2 2 Hardware Installation Note Make sure you have installed the driver first before you install the card We strongly recommend that you install the software driver first before you install the hardware into your system since this will guarantee a smooth and trouble free installation process When you install the PCI 1758UDI 1758UDO card please make sure the installation of the DLL driver is complete You can then go on to install the PCI 1758UDI 1758UDO card in any PCI slot on your computer It is suggested that you refer to the user manual or related documentation if you have any doubt Please follow the steps below to install the card on your system Turn off your computer and unplug the power cord and cables Remove the cover of your computer Remove the slot cover on the back panel of your computer ee DSE Ae Touch a metal part on the
22. ation This chapter has a package item check list proper instructions about unpack ing and step by step procedures for card installation Sections include e Unpacking e Hardware Installation e Board Layout Dimensions Chapter 2 Hardware Configuration 2 1 Unpacking After receiving your PCI 1758UDI 1758UDO package please inspect its contents first The package should contain the following items e PCI 1758UDI 1758UDO card e Companion CD ROM DLL driver included e User Manual The PCI 1758UDI 1758UDO card harbors certain electronic components that are vulnerable to electrostatic discharge ESD ESD could easily damage the integrated circuits and certain components if preventive mea sures are not carefully paid attention to Before removing the card from the antistatic plastic bag you should take following precautions to ward off possible ESD damage Touch the metal part of your computer chassis with your hand to dis charge static electricity accumulated on your body Or use a grounding strap Touch the antistatic bag to a metal part of your computer chassis before opening the bag Take hold of the card only by the metal bracket when removing it out of the bag After taking out the card first you should e Inspect the card for any possible signs of external damage loose or damaged components etc If the card is visibly damaged please notify our service department or our local sales representative immedi
23. dentify in which port an interrupt occurs from port 0 to port F 1 means an interrupt occurs in this port 0 means no interrupt occurs in this port There are two registers which control the digital filter function and status of each channel Digital Filter Enable Register and Filter Interval Time Preset Register C 2 7 Digital Filter Function Control Register Base 0x40 42 44 46 48 4A 4C 4E Digital Filter Function Control Reg ister Base 0x40 0x4E Write Read Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bt Bit Bit 15 14 13 2 11 J10 j9 8 7 6 15 4 3 2 1 Jo Pi P1 P1 P1 P1 P1 P1 P1 Po Po PO Po Po Po Po Po IDI7 IDI6 JIDIS IDI4 IDM IDI2 ID IDIO IDI7 IDI6 IDI5 IDI4 IDM IDI2 1D11 IDIO Bit 15 Bit O write 0 Disable the Pn DIm digital filter function 1 Enable the Pn IDIm digital filter function Bit 15 Bit O Read 0 Disable the Pn DIm digital filter function 1 Enable the Pn IDIm digital filter function n 0 to F for Port 0 to Port F m 0 to 7 for IDIO to IDI7 Base 0x40 for Port 0 and Port 1 Base 0x42 for Port 2 and Port 3 PCI 1758U User Manual 42 Base 0x44 for Port 4 and Port 5 Base 0x46 for Port 6 and Port 7 Base 0x48 for Port 8 and Port 9 Base 0x4A for Port A and Port B Base 0x4C for Port C and Port D Base 0x4E for Port E and Port F C 2 8 Filter Interval Time Preset Register Base 0x52 Write Read
24. e Pn IDOm output photo couple is active n 0 to F for Port 0 to Port F m 0 to 7 for IDOO to IDO7 Base 0x00 for Port 0 and Port 1 Base 0x02 for Port 2 and Port 3 Base 0x04 for Port 4 and Port 5 Base 0x06 for Port 6 and Port 7 Base 0x08 for Port 8 and Port 9 Base 0x0A for Port A and Port B Base 0x0C for Port C and Port D Base 0x0E for Port E and Port F 45 Appendix C C 3 2 Watchdog Counter Value Register Base 0x10 12 Watchdog Counter Value Register Base 0x10 Write Read Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 15 14 13 12 11 10 J9 8 7 6 5 4 3 2 1 0 Watchdog counter values low 16 bits Base 0x12 Write Read Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Watchdog counter values high 16 bits Watchdog timer Interval WDT x 100ns For example Watchdog timer values high 16 bits Register 0x0001 Watchdog timer values low 16 bits Register 0x0000 WDT 0x00010000 Watchdog timer Interval WDT x 100ns 6553600ns C 3 3 Watchdog State Control Register Base 0x14 WDT function setting Base 0x14 Write Bit 15 Bit 2 Bit 1 Bit 0 N A WDT INT EN WDT En Bit 0 0 Disable WDT function 1 Enable WDT function When the WDT is enable then the watch dog
25. ed Digital Output of port 2 P3_IDO00 07 P23_COMM Output Isolated Digital Output of port 3 P4_IDO00 07 P45_COMM Output Isolated Digital Output of port 4 P5_IDOO0 07 P45_COMM Output Isolated Digital Output of port 5 P6_IDOO0 07 P67_COMM Output Isolated Digital Output of port 6 P7_IDO00 07 P67_COMM Output Isolated Digital Output of port 7 P8_IDOO0 07 P89_COMM Output Isolated Digital Output of port 8 P9_IDO00 07 P89_COMM Output Isolated Digital Output of port 9 PA_IDO00 07 PAB_COMM Output Isolated Digital Output of port A PB_IDO00 07 PAB_COMM Output Isolated Digital Output of port B PC_IDO00 07 PCD_COMM Output Isolated Digital Output of port C PD_IDO00 07 PCD _ COMM Output Isolated Digital Output of port D PE_IDO00 07 PEF_ COMM Output Isolated Digital Output of port E PF_IDO00 07 PEF_ COMM Output Isolated Digital Output of port F P01_COMM Negative external power supply P23_COMM Negative external power supply P45_COMM Negative external power supply P67_COMM Negative external power supply P89_COMM Negative external power supply PAB_COMM Negative external power supply PCD_COMM Negative external power supply PEF_COMM Negative external power supply P01_COMP Positive external power supply P23_COMP Positive external power supply P45_COMP Positive external power supply P67_COMP Positive external power supply P89_COMP Positive external power supply PAB_COMP Positive external power supply PCD_COMM Positive externa
26. erat ing system You are advised to program the PCI 1758UDI 1758UDO using the 32 bit DLL driver provided by Advantech to avoid the com plexity of low level programming by register The most important consideration in programming the PCI 1758UDI 1758UDO at the register level is to understand the function of the card s registers The information in the following sections is provided only for those who would like to do their own low level programming The PCI 1758UDI requires 84 consecutive addresses in the PC s I O space The address of each register is specified as an offset from the card s base address For example BASE 0 is the card s base address and BASE 8 is the base address plus seven bytes Note All registers only support 16 bit data access C 2 PCI 1758UDI Register Format C 2 1 Register Format Address Register Description offset H EX Write Read 0 Digital Input Port 0 and Port 1 2 Digital Input Port 2 and Port 3 4 Digital Input Port 4 and Port 5 6 Digital Input Port 6 and Port 7 8 Digital Input Port 8 and Port 9 A Digital Input Port A and Port B C Digital Input Port C and Port D E Digital Input Port E and Port F PCI 1758U User Manual 36 DI Port 0 and Port1 Rising Edge Inter rupt Register DI Port 0 and Port1 Rising Edge Inter rupt Register 12 DI Port 0 and P
27. igital Output Connections e Field Wiring Considerations Chapter 3 Pin Assignments amp Jumper settings 3 1 Pin Assignments The I O connectors on the PCI 1758UDI 1758UDO are one MINI SCSI HDRA E100 Female connectors Figure 3 1 3 2 shows the pin assign ments for the MINI SCSI HDRA E100 Female connector on the PCI 1758 UDI 1758UDO and Table 3 1 3 2 shows its connector signal descriptions Note The PCL 101100S 1 1m shielded cable is espe cially designed for the PCI 1758UDI UDO to reduce noise in the analog signal lines Please refer to sec tion 1 3 Accessories Interface Connector Oo 0 Figure 3 1 Connector PCI 1758U User Manual 14 PEF_COMM PEF_COMM PFL PF_ PFL IDIO7 IDIO6 IDIOS PF_IDIO4 PF_IDIO3 PFL IDIO2 PF_IDIO1 PF_IDIOO PE_IDIO7 PE_IDIO6 PE_IDI05 PE_IDI04 PE_IDIO3 PE_IDIO2 PE_IDIO1 PE_IDIOO NC NC NC NC NC NC NC NC PCD_COMM PCD_COMM PD_ PD PD_ PD_ PD DI07 DIO6 DIOS DI04 DIO3 PD_IDIO2 PD_ PD_ PC PC PC_ PC PC_ PC_ PC_ DI01 DIOO DIO7 DIO6 DIO5 DI04 DIO3 DI02 DIO1 PC_IDIOO NC NC NC NC NC NC NWAUOMNADO PAB_COMM PAB_COMM PB_ID PB_ID PB_ID PB_ID PB_ID PB_ID PB_ID 107 106 105 104 103 102 101 PB_IDIOO PA_ID PA_ID PA_ID PA_ID PA_ID PA_ID PA_ID 107 106 105 104 103 102 101 PA_IDIOO NC NC NC NC NC NC NC NC P89_COMM P89_COMM P9_ID P9_ID P9_ID P9_ID P9
28. igital Output Port 4 and Port 5 Read Back 6 Digital Output Port 6 and Port 7 Digital Output Port 6 and Port 7 Read Back 8 Digital Output Port 8 and Port 9 Digital Output Port 8 and Port 9 Read Back A Digital Output Port A and Port B Digital Output Port A and Port B Read Back c Digital Output Port C and Port D Digital Output Port C and Port D Read Back E Digital Output Port E and Port F Digital Output Port E and Port F Read Back 10 Watchdog counter values low 16 bits Watchdog counter values low 16 bits 12 Watchdog counter values high 16 bits Watchdog counter values high 16 bits 14 Watchdog timer control Register Watchdog timer state Register 16 Watchdog timer clear Register N A 18 N A N A 1A EEPROM Control Register EEPROM DO Status 1C N A Board ID PCI 1758U User Manual 44 C 3 1 Digital Output Register Base 0x00 02 04 06 08 0A 0C 0E Digital Output Register Base 0x00 0x0E Write Read Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 15 14 13 12 11 410 9 8 7 6 5 4 3 2 1 0 P1 P1 P1 P1 P1 P1 P1 P1 PO PO PO PO PO PO PO PO IDO7 IDO6 IDO5 IDO4 IDO3 IDO2 IDO1 IDOO IDO7 IDO6 IDO5 IDO4 IDO1 IDO2 I2D01 IDOO Bit 15 Bit O Write 0 The Pn IDOm output photo couple is inaction 1 The Pn IDOm output photo couple is active Bit 15 Bit O Read back 0 The Pn IDOm output photo couple is inaction 1 Th
29. in the companion CD ROM Wiring cable 100 pin MINI SCSI HDRA E100 cable Wiring board ADAM 39100 Computer Personal computer or workstation with a PCI bus slot run ning Windows 98 2000 XP After you get the necessary components and maybe some accessories for enhanced operation for your DAS card you can then begin the installa tion procedure Figure 1 1 provides a concise flow chart to give users a broad picture of the software and hardware installation procedure J Chapter 1 Install Driver from CDROM then turn off power Install hardware and turn on the PC Use driver utility to configure hardware Use test utility to test hardware Read examples and driver manual Start to write your own application Figure 1 1 Installation Flow Chart 1 3 Accessories Advantech offers a complete set of accessory products to support the PCI 1758UDI 1758UDO cards These accessories include 1 3 1 Wiring Cable PCL 101100S 1 1m The PCL 101100S 1 1m shielded cable is spe cially designed for the PCI 1758UDI UDO card to provide high resis tance to noise 1 3 2 Wiring Terminal Board ADAM 39100 The ADAM 39100 is a 100 pin SCSI wiring terminal module for DIN rail mounting This terminal module can be readily con nected to Advantech PC LabCard products and allow easy and reliable access to individual pin connections for the PCI 1758UDI UDO card PCI 1758U User Manual 6 CHAPTER Hardware Configur
30. l power supply PEF_COMM Positive external power supply NC Not used Note Each PEF COMM pin can tolerate no more than 300 mA Make sure that every PEF COMM pin is properly connected to the equipment s ground GND PCI 1758U User Manual 18 3 2 Location of Jumper and DIP Switch Figure 3 3 and 3 4 show the names and locations of jumpers and DIP switches on the PCI 1758UDI 1758UDO There is one DIP switch SW1 on PCI 1758UDI There is one DIP switch SW1 and one jumper JP1 on the PCI 1758UDO Figure 3 4 Location of DIP Switch on PCI 1758UDI JP1 REAN Figure 3 5 Location of DIP Switch and Jumper on PCI 1758UDO 19 Chapter 3 3 3 Isolated Digital Input Connections The PCI 1758UDI has 128 isolated digital input channels designated PO_IDI00 07 P1_IDI00 07 P2_IDI00 07 P3_IDI00 07 P4 IDI00 07 P5_IDI00 07 P6_IDI00 07 P7_IDI00 07 P8_IDI00 07 P9_IDI00 07 PA_IDI00 07 PB_IDI00 07 PC_IDI00 07 PD_IDI00 07 PE_IDI00 07 PF_IDI00 07 3 3 1 Interrupt Function of the DI Signals All 128 channels in PCI 1758UDI can be used to generate hardware interrupts Setup the configuration of interrupts by programming the interrupt control register For detailed information please refer to Section 5 1 Interrupt Function 3 3 2 Isolated Inputs Each of the isolated digital input channels accepts 5 25 VDC voltage inputs a
31. n significantly affect a data acquisition system If the cable travels through an area with significant electromagnetic interference you should adopt individually shielded twisted pair wires as the analog input cable This type of cable has its signal wires twisted together and shielded with a metal mesh The metal mesh should only be connected to one point at the signal source ground Avoid running the signal cables through any conduit that might have power lines in it If you have to place your signal cable parallel to a power line that has a high voltage or high current running through it try to keep a safe dis tance between them Or you should place the signal cable at a right angle to the power line to minimize the disturbance PCI 1758U User Manual 22 CHAPTER Operation This chapter describes the operation of PCI 1758UDI and PCI 1758UDO The provided software driver gives you access all of the card s functions with out having to do register level program ming If you prefer to implement your own bit level programming please refer to the following information Sections include Interrupt Function e Digital Filter Function e Watchdog Timer Function e Power Up States Function BoardID Chapter 4 Operation 4 1 Interrupt Function PCI 1758UDI PCI 1758UDI provides an interrupt function for every digital input channel All the isolated digital input channels are connected to the inter rupt circuitry Y
32. n state Power up states are pro grammed in the EEPROM through the driver The default settings are all set to 0 For more details please refer to Appendix C 3 Chapter 1 Watchdog Timer Function The watchdog timer is a software configurable feature used to set critical outputs to safe states in the event of a software failure Reset Protection If the system has undergone a hot reset i e without turning off the sys tem power the PCI 1758UDO can either retain outputs values of each channel or return to its default configuration with power up status depending on its on board jumper setting This function protects the sys tem from causing wrong operations during unexpected system resets PCI 1758U User Manual 4 Table 1 1 PCI 1758UDO 1758UDI Features Comparison PCI BUS Isolated Digital I O card PCI 1758UDO PCI 1758UDI 128 channel IDO Y 128 channel IDI Y BoardID Y Y 2500 VDC Isolation Y Y Wide Input Range 5 25 VDC Y Wide Output Range 5 40 VDC Keep last status after hot reset High Sink current QOmA ch on IDO channels lt lt i lt lt Output status read back Interrupt handling Y 1 2 Installation Guide Before you install your PCI 1758UDI 1758UDO card please make sure you have the following necessary components PCI 1758UDI 1758UDO isolated digital I O card PCI 1758UDI 1758UDO User Manual Driver software Advantech DLL drivers included
33. nd also accept bi directional input This means that you can apply positive or negative voltage to an isolated input pin Each group of 16 channels share one common pin Figure 3 5 shows how to connect an external input source to one of the card s isolated input channels External Internal PC 33V DI channels Protection Circuit VA SS AD vin a COM g Figure 3 6 Isolated Digital Input Connection PCI 1758U User Manual 20 3 4 Isolated Digital Output Connections The PCI 1758UDO has 128 isolated digital output channels designated PO IDO00 7 PI IDO00 7 P2 IDO00 7 P3_IDO00 7 P4 IDO00 7 P5 IDO00 7 P6 IDO00 7 P7 IDO00 7 P8 IDO00 7 P9 IDO00 7 PA IDO00 7 PB IDO00 7 PC IDO00 7 PD IDO00 7 PE IDO00 7 and PF_IDO00 7 3 4 1 Power On Configuration The default configuration will be set after power is turned on The hard ware reset sets all the isolated output channels to off status The current of the load can not be sink mode So you do not need to worry about damaging external devices during system startup or reset When the sys tem is hot reset the status of the isolated digital output channels can be selected by jumper JP1 Table 3 3 shows the configuration of jumper JP1 Table 3 3 JP3 Power On Configuration after Hot Reset PCl 1758UDO JP1 Power on configuration after hot reset Keep the last digital output status after hot reset Load Default configuration
34. opy proof of purchase date such as your sales receipt in a shippable container A product returned without proof of the purchase date is not eligible for war ranty service 5 Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer iii CE The PCI 1758UD and PCI 1758UDO have passed the CE test for envi ronmental specifications when shielded cables are used for external wir ing We recommend the use of shielded cables This kind of cable is available from Advantech Please contact your local supplier for ordering information Technical Support and Assistance Step 1 Visit the Advantech web site at www advantech com support where you can find the latest information about the product Step 2 Contact your distributor sales representative or Advantech s customer service center for technical support if you need addi tional assistance Please have the following information ready before you call Product name and serial number Description of your peripheral attachments Description of your software operating system version appli cation software etc A complete description of the problem The exact wording of any error messages Packing List Before setting up the system check that the items listed below are included and in good condition If any item does not accord with the table please contact your dealer immediately The PCI 1758U include the following items 1 x P
35. ort1 Falling Edge Inter DI Port 0 and Port1 Falling Edge Inter rupt Register rupt Register 14 DI Port2 and Port3 Rising Edge Interrupt DI Port2 and Port3 Rising Edge Inter Register rupt Register 16 DI Port 2 and Port3 Falling Edge Inter DI Port 2 and Port3 Falling Edge Inter rupt Register rupt Register 18 DI Port 4 and Port5 Rising Edge Inter DI Port 4 and Port5 Rising Edge Inter rupt Register rupt Register 1A DI Port4 and Port5 Falling Edge Interrupt DI Port4 and Port5 Falling Edge Inter Register rupt Register 1C DI Port 6 and Port7 Rising Edge Inter DI Port6 and Port7 Rising Edge Inter rupt Register rupt Register 1E DI Port6 and Port7 Falling Edge Interrupt DI Port6 and Port7 Falling Edge Inter Register rupt Register 20 DI Port 8 and Port9 Rising Edge Inter DI Port 8 and Port9 Rising Edge Inter rupt Register rupt Register 22 DI Port8 and Port9 Falling Edge Interrupt DI Port8 and Port9 Falling Edge Inter Register rupt Register 24 DI Port A and Port B Rising Edge Inter DI Port A and Port B Rising Edge Inter rupt Register rupt Register 26 DI Port A and Port B Falling Edge Inter DI Port A and Port B Falling Edge Inter rupt Register rupt Register 28 DI Port C and Port D Rising Edge Inter DI Port C and Port D Rising Edge Inter rupt Register rupt Register 2A DI Port C and Port D Falling Edge Inter DI Port C and Port D Falling Edge Inter rupt Register rupt Register 2C DI Port E and Port F Rising Edge Inter DI Port E and
36. ou can disable enable the interrupt function and select trigger type by setting the Rising Edge Interrupt Registers and Falling Edge Interrupt Registers of the PCI 1758UDI When the interrupt request signals occur the software will service these interrupt requests by ISR The multiple interrupt sources provide the card with more capability and flexibility 4 1 1 Interrupt Modes for Digital Input There are four registers that control the function and status of each input interrupt signal source They give you the ability to select different modes to match different applications The four registers are Interrupt State Register Rising Edge Interrupt Register Falling Edge Interrupt Register and Port Identify Register The detailed functions of these registers are described in Appendix C Input Signal Source N Rising Edge Falling Edge Figure 4 1 Interrupt Mode for Digital Input PCI 1758U User Manual 24 4 2 Digital Filter Function PCI 1758UDI The digital filter function is used to eliminate glitches on input data and reduce the number of changes to examine and process The filter blocks pulses that are shorter than the specified timing interval and passes pulses that are double the length of the specified interval Intermediate length pulses pulses longer than half of the interval but less than the interval may or may not pass the filter The following table lists the pulse widths guaranteed to be passed and
37. rupt flag If an inter rupt occurs users can check the status of 0x50 refer to C 2 1 5 to iden tify in which port the interrupt occurred Then users can read the identified port to the register from 0x30 to 0x3E to know in which bit an interrupt occurs If users want to clear the interrupt flag just identify where the interrupt occurs and then write 1 into that register directly Bit 15 Bit O Read Read the Interrupt Flag Status 1 means an interrupt flag occurs in Pn IDIm 0 means no interrupt flag occurs in Pn IDIm n 0 to F for Port 0 to Port F m 0 to 7 for IDIO to IDI7 To identify in which port an interrupt occurs please refer to the C 2 1 5 Bit 15 Bit O Write Clear the Interrupt Flag 1 Clear the interrupt flag in Pn DIm 0 Keep the interrupt flag status in Pn DIm Base 0x30 for Port 0 and Port 1 Base 0x32 for Port 2 and Port 3 Base 0x34 for Port 4 and Port 5 Base 0x36 for Port 6 and Port 7 Base 0x38 for Port 8 and Port 9 Base 0x3A for Port A and Port B Base 0x3C for Port C and Port D Base 0x3E for Port E and Port F 4 Appendix C C 2 6 Interrupt of Port Identify Register Address base address 50 Base 0x50 Read Bit 15 Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PF PE PD PC PB PA P9 P8 P7 P6 P5 P4 P3 P2 P1 Po BitO Bit15 Read I
38. s B Network adapters Ports COM amp LPT SCSI and RAID controllers Sound video and game controllers System devices Universal Serial Bus controllers DRUSORE ee a ae ae aea a ea a ea a ea aa e aea Figure 2 1 The Exclamation Mark Indicates Problems PCI 1758U User Manual 10 2 3 Board Layout Dimensions Set eT CE HAHAHHAHAHA HH BCD p pb Kk EE EE EEE HH HHH HH HHEBHHHHHHEH HH Hg EN T ES O PR 0 Figure 2 2 PCI 1758UDI 1758UDO Board Layout Dimensions Chapter 2 2 3 1 Connector PCI 1758UDI 1758UDO has one HDRA E100W1LFDT1EC SL Equiv alent female connector For more details about jumpers switches and connectors please see Chapter 3 Pin Assignment amp Jumper Setting and Chapter 4 Operation PCI 1758U User Manual 12 CHAPTER Pin Assignments and Jumper Settings Maintaining signal connections is one of the most important factors in ensur ing that your application system is sending and receiving data correctly A good signal connection can avoid unnecessary and costly damage to your system and other hardware devices This chapter provides useful informa tion about how to connect input and output signals to the PCI 1758UDI 1758UDO via the I O connector Sections include e Pin Assignments e Location of Jumper and DIP Switch e Isolated Digital Input Connections e Isolated D
39. sig nal does not remain steadily high from one filter clock to the next In period 3 the filter passes the transition because the external signal remains steadily high Depending on when the transition occurs the filter may require up to two filter clocks one full filter interval to pass a transition The figure shows a rising 0 to 1 transition The same filtering applies to falling 1 to 0 transitions 4 2 2 Digital Filter Function Control Register There are two registers that control the digital filter function and status of each channel the Digital Filter Function Control Register and the Filter Interval Time Preset Register For details about their functions please refer to Appendix C PCI 1758U User Manual 26 4 3 Watchdog Timer Function PCI 1758UDO This feature is used to set critical outputs to safe states in the event of a software failure When the watchdog timer is enabled PCI 1758UDO has to receive a watchdog clear software command within the interval time specified for the watchdog timer If it doesn t this is considered a loss of communication between the application and PCI 1758UDO and the out puts go to a user defined safe state and remain in that state until the watchdog timer is disabled and new values are written by software After the watchdog timer expires the PCI 1758UDO will ignore any writes until the watchdog timer is disabled You can set the watchdog timer timeout period through the WDT regi
40. solated Digital Input of port 5 P6_IDI00 07 P67_COMM Input Isolated Digital Input of port 6 P7_IDI00 07 P67_COMM Input Isolated Digital Input of port 7 P8_IDIO0 07 P89 COMM Input Isolated Digital Input of port 8 P9 IDI00 07 P89 COMM Input Isolated Digital Input of port 9 PA IDI00 07 PAB COMM Input Isolated Digital Input of port A PB_IDIO0 07 PAB COMM Input Isolated Digital Input of port B PC _IDI00 07 PCD COMM Input Isolated Digital Input of port C PD IDIOO 07 PCD COMM Input Isolated Digital Input of port D PE IDI00 07 PEF COMM Input Isolated Digital Input of port E PF_IDIOO 07 PEF COMM Input Isolated Digital Input of port F PO1 COMM Common port of port 0 and port 1 P23 COMM Common port of port 2 and port 3 P45 COMM Common port of port 4 and port 5 P67_COMM Common port of port 6 and port 7 P89 COMM Common port of port 8 and port 9 PAB_COMM Common port of port A and port B PCD COMM Common port of port C and port D PEF_COMM Common port of port E and port F NC Not Used 17 Chapter 3 Table 3 2 PCI 1758UDO I O Connector Signal Description Signal Name Reference Direction Description P0_IDO00 07 P01_COMM Output Isolated Digital Output of port 0 P1_IDO00 07 P01_COMM Output Isolated Digital Output of port 1 P2_IDO00 07 P23_COMM Output Isolat
41. ster to specify the amount of time that must elapse before the watchdog timer expires The counter on the watchdog timer is configurable up to 23 2 1 x 100 ns approximately seven minutes before it expires For more details about the watchdog timer register operation please refer to Appendix C 4 4 Power Up States Function PCI 1758UDO User configurable power up states are useful for ensuring that the PCI 1758UDO powers up in a known state When the system is powered up all output lines of PCI 1758UDO are user configurable for logic high out put or logic low output So you can predefine the outputs This function ensures the card s output state can be defined at any time Power up states are programmed in the EEPROM with a driver In the EEPROM Control Register you can write the predefined output data to EEPROM The default value from the factory is all set to 0 For more details about register operations please refer to appendix C 27 Chapter 4 4 5 Board ID PCI 1758UDI UDO The PCI 1758UDI 1758UDO has a built in DIP switch SW 1 which is used to define each card s BoardID You can determine the BoardID on the register as shown on Table 4 5 When there are multiple cards on the same chassis this BoardID setting function is useful for identifying each card s device number through BoardID We set the PCI 1758UDI 1758UDO BoardID as 0 at the factory If you need to adjust it to other BoardIDs set SW1 while referring to
42. timer WDT in PCI 1758UDO start count down from the value set in Base 0x10h and Base 0x 12h Bit 1 0 Disable WDT interrupt function when WDT count down to 0 1 Enable WDT interrupt function when WDT count down to 0 PCI 1758U User Manual 46 Base 0x14 Read Bit 15 Bit 3 Bit 2 Bit 1 Bit 0 N A WDT Timeout flag WDT INT EN WDT En Bit 0 Read the status of WDT En Bit 1 Read the status of WDT INT EN Bit 2 0 WDT current value is not 0 1 WDT current value is 0 C 3 4 Watchdog Timer Clear Register Base 0x16 Watchdog timer reset Register Base 0x16 Write Bit 15 Bit 1 Bit 0 N A WDI Bit 0 0 Reset the Watchdog Timer to pre set value 1 Keep the Watchdog Timer current state Note It is recommended that you implement the function in base 0x1A through the driver instead of through this register directly C 3 5 EEPROM Control DO state Register Base 0x1A EEPROM DO state Register Base 0x1A Read Bit 15 Bit 1 Bit 0 N A DO 47 Appendix C Bit 0 EEPROM DO state Base 0x1A Write Bit 15 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 N A cs CLK DI DO Through this register user can set the power up status and watchdog timer overflow states in the eeprom e CS eeprom select e CLK eeprom clk e DI eeprom data in e DO eeprom data out The data format of EEPROM
43. ut Falling Edge Interrupt setting Base 0x12 0x2E Write Read Bit Bit Bt Bit Bit Bit Bit Bt Bit Bit Bit Bit Bt Bit Bit Bit 15 14 13 42 11 lho J9 8 7 e 5 Ja l3 l2 l Jo P1 P1 P1 P1 P1 P1 P1 P1 Po Po Po Po Po Po Po Po IDI7 IDI6 IDIS IDI4 IDA JIDI2 ID Dio IDI7 ipie IDI5 IDI4 HD 1DI2 IDI1 DIO Bit 15 Bit O Write 0 Disable the Pn IDIm Falling Edge interrupt function 1 Enable the Pn IDIm Falling Edge interrupt function n 0 to F for Port 0 to Port F m 0 to 7 for IDIO to IDI7 Bit 15 Bit O Read Read back the setting value Base 0x12 for Port 0 and Port 1 Base 0x16 for Port 2 and Port 3 Base 0x1A for Port 4 and Port 5 Base 0x1E for Port 6 and Port 7 Base 0x22 for Port 8 and Port 9 Base 0x26 for Port A and Port B Base 0x2A for Port C and Port D Base 0x2E for Port E and Port F PCI 1758U User Manual 40 C 2 5 Interrupt State Register Base 0x30 32 34 36 38 3A 3C 3E Interrupt state setting Base 0x30 0x3E Write Read Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit 15 14 13 12 111 10 9 8 7 6 5 4 3 2 1 0 P1 P1 P1 P1 P1 P1 P1 P1 PO PO PO PO PO PO PO PO IDI7 IDIG IDIS IDI4 IDM IDI2 IDI1 IDIO IDI7 IDI6 IDIS IDI4 IDM IDI2 IDM IDIO This register can read and clear the status of the inter
44. while reset 3 4 2 Isolated Outputs Each of the isolated output channels is equipped with a Darlington tran sistor All of the 16 output channels shares common collectors and inte gral suppression diodes for induction coil loads Figure 3 7 on next page shows how to connect an external output load to the card s isolated outputs Note If an external voltage 5 40 VDC is applied to an iso lated output channel while it is being used as an output channel the current will flow from the external voltage source to the card Please be cautious about that the cur rent flowing through each IDO pin can not exceed 90 mA 21 Chapter 3 3 3V ISO 5V Internal External ULN2803AP AFW R Ve LL R DO 5 50V oro Figure 3 7 Isolated Digital Output Connection 3 5 Field Wiring Considerations When you use the PCI 1758UDI to acquire data from outside noises in the environment might significantly affect the accuracy of your measure ments if due cautions are not taken The following measures will be help ful to reduce possible interference in the signal wires between signal sources and the PCI 1758UDI Keep the signal cables away from strong electromagnetic sources such as power lines large electric motors circuit breakers or welding machines since they may cause strong electromagnetic interference Keep the analog signal cables away from any video monitor since it ca
Download Pdf Manuals
Related Search
Related Contents
MANUAL SIGMAIS PORTEIRO 1.7 downloaded - i Mirage Service Manual Tripp Lite Cat6 Gigabit Molded Patch Cable (RJ45 Right Angle Down M to RJ45 M) - Blue, 5-ft. 冬場の凍結を防ぐには User Manual - Arc Suppression Technologies Manuale d`uso IQ 710 System Manual (Rev B) Sollatek SVS Range Voltage Stabilisers User Manual Copyright © All rights reserved.
Failed to retrieve file