background image

Chapter 

4

– 35 –

PCI-1752/54/56 User’s Manual

Advantech Co., Ltd.
www.advantech.com

frozen into its last valid value before the 

Channel-Freeze

. Since the

value transmitted (from the host PC) to the card is also stored in the
buffers on PC, thus when user calls the 

DRV_DioGet CurrentDOByte ( )

function to read back the DO channel value, this function will deter-
mine that:

If Channel-Freeze function is disabled, it will return the DO value
on the port;

If Channel-Freeze function is enabled, it will return the value from
the buffers on host PC.

The PCI-1752 provides digital input channel (CH_FRZ_IN) to enable
channel-freeze function, and PCI-1756 provides one input channel. The
channel-freeze function acts when the pin CH_FRZ_IN is activated.
Moreover, you can setup the input mode of channel-freeze function
input channel  CH_FRZ_IN as dry contact input mode or wet contact
input mode selected by on-board jumper JP2, as shown in Table 4-8.
The wiring in wet contact and dry contact input mode are shown in
Figure 4-2. Otherwise, you also can enable the function through
software by writing “1” to CFC (Channel-Freeze Function Control) bit
on channel-freeze function register, as shown in Table 4-9 and Table 4-
10. It’s useful in software simulation and testing program.

The CFS (Channel-Freeze Function Status) bit shows the status of
Channel-Freeze function:

A value of 1 for the CFS bit indicates an active Channel-Freeze
Function; whereas a value of 0 indicates a non-active Channel-Freeze
Function.

Table 4-8  JP2: Channel-Freeze function input mode

PCI-1752 JP2

PCI-1756 JP2

Input mode

Dry contact input mode

Wet contact input mode(Default setting)

1

1

1

1

Summary of Contents for PCI-1752

Page 1: ...he slot cover on the back panel of your computer Step 4 Touch the metal part of your computer chassis to discharge static electricity on your body Step 5 Adjust DIP switch SW1 on board ti set the card...

Page 2: ...vices box to find the device that you wish to configure then click the Install button to bring up the Device Found s dialog box as shown below Step 5 After selecting a device and click OK the Device S...

Page 3: ...use Acknowledgments 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 tradem...

Page 4: ...tion 12 2 5 Device Testing 16 3 Signal Connections 19 3 1 I O Connector Pin Assignment 19 3 2 Location of Jumpers and DIP switch 19 3 3 Isolated Digital Input Connections 27 3 4 Isolated Digital Outpu...

Page 5: ...Register Structure and Format 43 C 1 Overview 43 C 2 I O Port Address Map 43 C 3 PCI 1752 Register Format 44 C 4 PCI 1754 Register Format 45 C 5 PCI 1756 Register Format 46 Appendix D ADAM 3951 Pin As...

Page 6: ...alog box 13 Figure 2 7 Selecting the device you want to install 13 Figure 2 8 The Device s Found dialog box 14 Figure 2 9 The Device Setting dialog box of PCI 1752 14 Figure 2 10 The Device Setting di...

Page 7: ...set 28 Table 4 1 Interrupt control register bit map 31 Table 4 2 Latch port data disable enable control bit 32 Table 4 3 Interrupt disable enable control bit values 32 Table 4 4 Interrupt triggering e...

Page 8: ...s of the DAS cards a Quick Start for installation together with some brief information on software and accessories for the PCI 1752 1754 1756DAScard 1 1 Features The Advantech PCI 1752 1754 1756 DAS c...

Page 9: ...r input channels q High ESD protection 2 000 VDC for input channels q Board ID q Output status read back for output channels q Digital output value retained after hot system reset q Channel Freeze fun...

Page 10: ...54 1756 The PCI 1752 1754 1756 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 board ID setting function is very useful wh...

Page 11: ...CI 1754 PCI 1756 64 IDO Channels 64 IDI Channels 32 IDI 32 IDO Channels Board ID 2 500 VDC Isolation Wide Input Range 10 50VDC Wide Output Range 5 40VDC Keep last status after hot reset High Sink Curr...

Page 12: ...advantech com Install Driver from CD ROM then power off PC Install Hardware and power on PC Use driver utility to configure hardware Use test utility to test hardware Read examples driver manual Start...

Page 13: ...on the next page provides a concise flow chart to give users a broad picture of the software and hardware installation procedures 1 3 Accessories Advantech offers a complete set of accessory products...

Page 14: ...ecau tions to ward off possible ESD damage l Touch the metal part of your computer chassis with your hand to discharge static electricity accumulated on your body Or one can also use a grounding strap...

Page 15: ...Setup program for the PCI 1752 1754 1756 card is included on the companion CD ROM that is shipped with your DAS card package Please follow the steps below to install the driver software Step 1 Insert...

Page 16: ...for 95 and 98 or for NT Driver Manual 2 3 Hardware Installation Note Make sure you have installed the driver first before you install the card please refer to Section 2 2 Driver Installation After th...

Page 17: ...es 100 pin cable wiring terminals etc if necessary to the PCI card Step 9 Replace the cover of your computer chassis Re connect the cables you removed in step 2 Step10 Plug in the power cord and turn...

Page 18: ...he Device Manager tab If you do see your device name listed on it but marked with an exclamation sign Fig 2 4 it means your card has not been correctly installed In this case remove the card device fr...

Page 19: ...evice and later stores your settings on the system registry These settings will be used when you call the APIs of Advantech 32 bit DLL drivers Setting Up the Device Step 1 To install the I O device fo...

Page 20: ...ice you want to install Step 4 Scroll down the List of Devices box to find the device that you wish to install then click the Install button to evoke the Device s Found dialog box such as one shown in...

Page 21: ...guring the Device Step 5 On the Device Setting dialog box Fig 2 9 2 10 you can enable disable the Channel Freeze function of PCI 1752 1756 or configure the interrupt functions of each digital input gr...

Page 22: ...list of devices box Note As we have noted the device name 000 PCI 1754 No 2 I O 6500H begins with a device number 000 which is specifically assigned to each card specifically The device number is pas...

Page 23: ...box On the Device Test dialog box users are free to test various functions of PCI 1754 1756 on the Digital input tab and of PCI 1752 1756 on the Digital output tab Note You can access the Device Test...

Page 24: ...as seen on the next page By pressing the buttons on each tab users can easily set each digital output channel as high or low for the corresponding port Fig 2 14 PCI 1752 Digital Output tab on the Dev...

Page 25: ...18 Chapter 2 PCI 1752 54 56 User s Manual Advantech Co Ltd www advantech com...

Page 26: ...or that enable you to connect to accessories with the PCL 10250 shielded cable Figure 3 1 3 2 and 3 3 show the pin assignments for the 100 pin I O connector on the PCI 1752 1754 1756 and Table 3 1 3 2...

Page 27: ...73 74 75 77 76 78 79 80 81 82 83 85 84 86 87 88 89 90 91 93 92 94 95 96 97 98 99 100 51 IDO03 IDO05 IDO07 IDO09 IDO11 IDO13 IDO15 PCOM0 PCOM0 IGND IGND IDO17 IDO19 IDO21 IDO23 IDO27 IDO25 IDO29 IDO31...

Page 28: ...ital output of group 1 IDO 32 47 PCOM2 Output Isolated digital output of group 2 IDO 48 63 PCOM3 Output Isolated digital output of group 3 PCOM0 Input External common output of group 0 PCOM1 Input Ext...

Page 29: ...58 60 59 61 62 63 64 65 66 68 67 69 70 71 72 73 74 75 77 76 78 79 80 81 82 83 85 84 86 87 88 89 90 91 93 92 94 95 96 97 98 99 100 51 IDI03 IDI05 IDI07 IDI09 IDI11 IDI13 IDI15 ECOM0 ECOM0 NC NC IDI17...

Page 30: ...olated digital input of group 0 IDI 16 31 ECOM1 Input Isolated digital input of group 1 IDI 32 47 ECOM2 Input Isolated digital input of group 2 IDI 48 63 ECOM3 Input Isolated digital input of group 3...

Page 31: ...5 77 76 78 79 80 81 82 83 85 84 86 87 88 89 90 91 93 92 94 95 96 97 98 99 100 51 IDI03 IDI05 IDI07 IDI09 IDI11 IDI13 IDI15 ECOM0 ECOM0 NC NC IDI17 IDI19 IDI21 IDI23 IDI27 IDI25 IDI29 IDI31 PCOM1 PCOM1...

Page 32: ...Output Isolated digital output of group 2 IDO 16 31 PCOM1 Output Isolated digital output of group 3 ECOM0 Input External common input of group 0 ECOM1 Input External common input of group 1 PCOM0 Inp...

Page 33: ...Chapter 3 26 PCI 1752 54 56 User s Manual Advantech Co Ltd www advantech com Fig 3 5 Location of DIP switch on PCI 1754 Fig 3 6 Location of Jumpers and DIP switch on PCI 1756 CN1 SW1 JP1 JP2 1 1 SW 1...

Page 34: ...s A user can setup the configuration of interrupts by programing the interrupt control register For detailed information please refer to Section 4 1 Interrupt Function Isolated Inputs Each of isolated...

Page 35: ...hannels are selected by jumper JP1 Table 3 4 shows the configura tion of jumper JP1 Table 3 4 JP1 Power on configuration after hot reset Isolated Outputs Each of isolated output channels comes equippe...

Page 36: ...the analog signal cables away from any video monitor since it can significantly affect a data acquisition system If the cable travels through an area with significant electromag netic interference yo...

Page 37: ...s Manual Advantech Co Ltd www advantech com The signals transmitted on the cable will be directly affected by the quality of the cable In order to ensure better signal quality we recommend that you u...

Page 38: ...requests by ISR The multiple interrupt sources provide the card with more capability and flexibility IRQ Level The IRQ level is set automatically by the PCI plug and play BIOS and is saved in the PCI...

Page 39: ...ata disable enable control bit Interrupt Enable Control Function The user can choose to enable or disable the interrupt function by writing its corresponding value to the interrupt disable enable cont...

Page 40: ...which is used to define each card s board ID You can determine the board ID on the register as shown on Table 4 6 When there are multiple cards on the same chassis this board ID setting function is u...

Page 41: ...nd way is to determine the board ID by its device number through DLL function DRV_DeviceGetFeatures For detailed information please refer to software manual on CD ROM Fig 4 1 The device No and board I...

Page 42: ...s activated Moreover you can setup the input mode of channel freeze function input channel CH_FRZ_IN as dry contact input mode or wet contact input mode selected by on board jumper JP2 as shown in Tab...

Page 43: ...ister Table 4 10 Channel Freeze function bit value Channel Freeze function register Base Add 12h 3 2 1 0 Abbreviation CFS CFC CFC Channel Freeze function control 0 Disable 1 Enable CFS Channel Freeze...

Page 44: ...756 2 IDI0 IDI16 Optical Isolation 2500 VDC Opto isolator response time 25 s Over voltage Protect 70 VDC ESD 2 000 VDC Input Voltage VIH max 50 VDC VIH min 10 VDC VIL max 3 VDC Input Current 10 VDC 1...

Page 45: ...Power Consumption PCI 1752 5V 230 mA typical 5V 500 mA max PCI 1754 5V 340 mA typical 5V 450 mA max PCI 1756 5V 285 mA typical 5V 475 mA max Temperature Operation 0 60 C 32 140 F refer to IEC 68 2 1 2...

Page 46: ...s Manual Advantech Co Ltd www advantech com APPENDIX Block Diagram PCI 1752 Block Diagram PLX PCI 9052 2 1 75 Data Bus SCSI 100 Pin Connector Address Bus Control Logic IDO00 IDO15 IDO16 IDO31 IDO32 ID...

Page 47: ...Advantech Co Ltd www advantech com Data Bus PLX PCI 9052 SCSI 100 Pin Connector Interrupt Control Logic 2 1 75 Address Bus Control Logic IDI00 IDI16 IDI32 IDI48 Isolation IDI00 IDI15 IDI32 IDI47 IDI4...

Page 48: ...l Advantech Co Ltd www advantech com Data Bus PLX PCI 9052 SCSI 100 Pin Connector Interrupt Control Logic 2 1 75 Address Bus Control Logic IDI00 IDI15 IDI16 IDI31 IDO00 IDO15 IDO16 IDO31 IDI00 IDI16 C...

Page 49: ...42 APPENDIX B PCI 1752 54 56 User s Manual Advantech Co Ltd www advantech com...

Page 50: ...ty of low level programming by register The most important consideration in programming the PCI 1752 1754 1756 at the register level is to understand the function of the card s registers The informati...

Page 51: ...utput Group 1 DO31 DO30 DO29 DO28 DO27 DO26 DO25 DO24 DO23 DO22 DO21 DO20 DO19 DO18 DO17 DO16 4 R Digital Output Group 2 Read Back DO47 DO46 DO45 DO44 DO43 DO42 DO41 DO40 DO39 DO38 DO37 DO36 DO35 DO34...

Page 52: ...Group 3 DI63 DI62 DI61 DI60 DI59 DI58 DI57 DI56 DI55 DI54 DI53 DI52 DI51 DI50 DI49 DI48 W N A 8 R Group 0 Interrupt Control Register F0 E0 INT0 E L0 E W Group 0 Interrupt Control Register F0 E0 INT0...

Page 53: ...8 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 6 R Digital Output Group 1 Read Back DO31 DO30 DO29 DO28 DO27 DO26 DO25 DO24 DO23 DO22 DO21 DO20 DO19 DO18 DO17 DO16 W Digital Output Group 1 DO31 DO30 DO29 DO28 DO27...

Page 54: ...IDI O 15 COM0 COM0 IDI O 17 IDI O 19 IDI O 21 IDI O 23 IDI O 27 IDI O 25 IDI O 29 IDI O 31 COM1 COM1 IDI O 01 IGND IGND IGND IGND IGND IGND IGND IDI O 02 IDI O 04 IDI O 06 IDI O 08 IDI O 10 IDI O 12...

Page 55: ...DO 11 IDO 13 IDO 15 PCOM0 PCOM0 IDO 01 IGND IGND IGND IGND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 CH_FRZ_IN IDO 18 IDO 20 IDO 22 IDO 24 IDO 26 IDO 28 IDO 30 PCOM1 PCOM1 IDO...

Page 56: ...47 PCOM2 PCOM2 IDO 33 IGND IGND IGND IGND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 CH_FRZ_IN IDO 50 IDO 52 IDO 54 IDO 56 IDO 58 IDO 60 IDO 62 PCOM3 PCOM3 IDO 48 IDO 51 IDO 53...

Page 57: ...IDI 07 IDI 09 IDI 11 IDI 13 IDI 15 ECOM0 ECOM0 IDI 01 NC NC NC NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 NC IDI 18 IDI 20 IDI 22 IDI 24 IDI 26 IDI 28 IDI 30 ECOM1 ECOM1 IDI...

Page 58: ...I 43 IDI 45 IDI 47 ECOM2 ECOM2 IDI 33 NC NC NC NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 NC IDI 50 IDI 52 IDI 54 IDI 56 IDI 58 IDI 60 IDI 62 ECOM3 ECOM3 IDI 48 IDI 51 IDI 53...

Page 59: ...IDI 07 IDI 09 IDI 11 IDI 13 IDI 15 ECOM0 ECOM0 IDI 01 NC NC NC NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 NC IDI 18 IDI 20 IDI 22 IDI 24 IDI 26 IDI 28 IDI 30 ECOM1 ECOM1 IDI...

Page 60: ...15 PCOM0 PCOM0 IDO 01 IGND IGND IGND IGND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 CH_FRZ_IN IDO 18 IDO 20 IDO 22 IDO 24 IDO 26 IDO 28 IDO 30 PCOM1 PCOM1 IDO 16 IDO 19 IDO 21...

Page 61: ...APPENDIX C PCI 1711 1731 User s Manual Advantech Co Ltd www advantech com 47...

Page 62: ...48 APPENDIX C PCI 1752 54 56 User s Manual Advantech Co Ltd www advantech com...

Reviews: