background image

PCI-1757UP User Manual

20

3.3.4 Interrupt Flag Bit

The "interrupt flag" bit is a flag indicating the status of an interrupt. It is a 
readable and writable bit. Read the bit value to find the status of the inter-
rupt, and write "1" to this bit to clear the interrupt. This bit must be 
cleared in the ISR to service the next incoming interrupt.

3.4  BoardID Switch

Read Base +36 can get the cards BoardID identifier. PCI-1757UP has a 
built-in SMD switch (SW1), which is used to define each card’s unique 
identifier. 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 number. PCI-
1757UP’s BoardID switches have been set to 0 at the factory. If you need 
to adjust it to other numbers, set the SW1 by referring to the jumper and 
SMD switch setting.

ID0: the least significant bit (LSB) of Board ID
ID3: the most significant bit (MSB) of Board ID
X: ignore

Table 3.5: Interrupt Flag Bit Values

F

Interrupt status

Read

1

Interrupt occurred

0

No interrupt

Write

1

Clear interrupt

0

Don't care

Table 3.6: BoardID Register

Bit#

D7

D6

D5

D4

D3

D2

D1

D0

X

X

X

X

ID3

ID2

ID1

ID0

Содержание PCI-1757UP

Страница 1: ...PCI 1757UP 24 channel Digital Input Output Low Profile Universal PCI Card User Manual...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...PCI 1757UP User Manual vi...

Страница 7: ...2 CHAPTER 1 General Information This chapter introduces PCI 1757UP and provides detailed specifications Sections include Introduction Numbering Convention Features Specifications...

Страница 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...

Страница 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...

Страница 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...

Страница 11: ...5 Chapter1...

Страница 12: ...PCI 1757UP User Manual 6...

Страница 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...

Страница 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...

Страница 15: ...9 Chapter2 Figure 2 1 Locations of Connectors and Jumpers...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 21: ...2 CHAPTER 3 Operation This chapter shows how to operate PCI 1757UP Sections include Overview Digital I O Ports Interrupt Function BoardID Switch...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 27: ...2 APPENDIX A Register Format...

Страница 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...

Отзывы: