background image

19

Chapter 3  

3.3.2 Interrupt Source Control

The "mode bits" in the interrupt control register determine the allowable 
sources of signals generating an interrupt. Bit 0 and bit 1 determine the 
interrupt source, as indicated in Figure 3-1. Table 3-3 shows the relation-
ship between an interrupt source and the values in the mode bits.

Figure 3.1: Interrupt Sources

3.3.3 Interrupt Triggering Edge Control

The interrupt can be triggered by a rising edge or a falling edge of the 
interrupt signal, selectable by the value written in the "triggering edge 
control" bit in the interrupt control register, as shown in Table 3.4.

Table 3.3: Interrupt Mode Bit Values

M1

M0

Description

0

0

Disable interrupt

0

1

Source  =  PC00

1

0

Source = PC00 & PC04

1

1

No used

Table 3.4: Triggering Edge Control Bit Values

E

Triggering edge of interrupt signal

1

Rising edge trigger

0

Falling edge trigger

Summary of Contents for PCI-1757UP

Page 1: ...PCI 1757UP 24 channel Digital Input Output Low Profile Universal PCI Card User Manual...

Page 2: ...ibility 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 I...

Page 3: ...lacement 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 enc...

Page 4: ...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 co...

Page 5: ...n Pin24 JP2 12 2 4 Pin Assignments 13 2 5 Installation Instructions 14 Chapter 3 Operation 16 3 1 Overview 16 3 2 Digital I O Ports 16 3 2 1 Introduction 16 3 2 2 8255 Mode 0 16 3 2 3 Input Output Con...

Page 6: ...PCI 1757UP User Manual vi...

Page 7: ...2 CHAPTER 1 General Information This chapter introduces PCI 1757UP and provides detailed specifications Sections include Introduction Numbering Convention Features Specifications...

Page 8: ...he connector can output a digital signal simultaneously with the card s generating an interrupt This card uses a DB 25 pin connector for easy and reliable connections to field devices One feature give...

Page 9: ...0 of 8255 PPI Buffered circuits provide higher driving capability Output status read back I O configured by software or onboard DIP switch Hot reset output memory keeps I O settings and digital output...

Page 10: ...urce Logic Low Voltage 0 5 V max 24 mA sink Interrupt Source PC0 PC4 General Connector One D SUB 25 pin female connector Power Consumption 5 V 200 mA Typical Operating Temperature 0 70 C 32 158 F Stor...

Page 11: ...5 Chapter1...

Page 12: ...PCI 1757UP User Manual 6...

Page 13: ...ation This chapter provides information on installing your card and making jumper switch configurations Sections include Initial Inspection Unpacking Jumper and Switch Settings Pin Assignments Install...

Page 14: ...lectricity on your body to ground by touching the back of the system unit grounded metal before you touch the board Remove the PCI 1757UP card from its protective packaging by grasping the card s rear...

Page 15: ...9 Chapter2 Figure 2 1 Locations of Connectors and Jumpers...

Page 16: ...ting is 0 2 3 2 Set Ports as Input or Output SW2 Figure 2 2 SW2 Settings Default setting is all positions off Table 2 1 BoardID Setting SW1 Position1 Position2 Position3 Position4 Board ID ID3 ID2 ID1...

Page 17: ...IO CF position is Off you can set the ports by the switch SW2 directly The position setting is ON the corresponding port is input port else position is OFF the corresponding port is output port 2 3 3...

Page 18: ...PCI 1757UP User Manual 12 2 3 4 Select PC7 or 5V on Pin24 JP2 5 V output can be output by setting JP2 JP2 Power on configuration after hot reset Pin 24 is connected to 5V Pin 24 is for PC7 Default...

Page 19: ...3 Chapter2 2 4 Pin Assignments Description of pin use Mode Description Pin PA0 PA7 I O pins of Port A Pin 1 8 PB0 PB7 I O pins of Port B Pin 9 16 PC0 PC7 I O pins of Port C Pin 17 24 GND Ground Pin 25...

Page 20: ...unit Save the screw to secure the interface card with the retaining bracket 5 Carefully grasp the upper edge of PCI 1757UP Align the hole in the retaining bracket with the hole on the expansion slot a...

Page 21: ...2 CHAPTER 3 Operation This chapter shows how to operate PCI 1757UP Sections include Overview Digital I O Ports Interrupt Function BoardID Switch...

Page 22: ...grammable peripheral interface PPI chip in mode 0 but with higher driving capability than a standard 8255 chip Each of the 8255 chips has 24 programmable I O pins that are divided into three 8 bit por...

Page 23: ...effect if the correspond ing port is set as an output port by the SMD switch SW2 D7 is a read only bit for identifying the SMD switch SW2 position 1 is ON or OFF D7 0 means the I O configuration is se...

Page 24: ...ts The interrupt control register can be programmed Base 32 to select the interrupt sources The Interrupt Control Register Base 32 controls the interrupt signal source edge and flag Table 3 2 shows th...

Page 25: ...re 3 1 Interrupt Sources 3 3 3 Interrupt Triggering Edge Control The interrupt can be triggered by a rising edge or a falling edge of the interrupt signal selectable by the value written in the trigge...

Page 26: ...dentifier You can determine this identity number in the register as shown in Table 3 6 If there are multiple cards in the same chassis this BoardID setting is useful for identifying each card s device...

Page 27: ...2 APPENDIX A Register Format...

Page 28: ...dix A Register Format Base Address n Decimal Function Read Write 0 Port A Port A 1 Port B Port B 2 Port C Port C 3 Configuration Register Configuration Register 32 Interrupt Status Register Interrupt...

Reviews: