beautypg.com

Rpi instruction – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 439

background image

5/02 Processor Only

Chapter 31
Understanding I/O Interrupts –

31–9

The RPI instruction is used to purge unwanted I/O interrupt requests. This
instruction is not required to configure a basic I/O interrupt application.

RPI Reset Pending Interrupt – When true, this instruction clears the I/O
pending bits (S:25/1 through S:26/14) corresponding to the slots parameter
of the instruction. In addition, the processor notifies the specialty I/O
modules in those slots that their interrupt request was aborted. Following
this notice, the slot may once again request interrupt service. This
instruction does not affect the I/O slot interrupt enable bits (S:27/1 through
S:28/14).

Parameter: Enter a 0 (reset) in a slot position to indicate that the pending
status of an I/O interrupt is reset (aborted).

Reset Pending Interrupt

RPI

Output Instruction

(RPI)

HHT Ladder Display:

HHT Zoom Display:

F1

F2

F3

F4

F5

ZOOM on RPI –(RPI)– 2.0.0.0.1
NAME: RESET PENDING INTERRUPT
1 2 3
0 0 0 0
0000 0000 0000 0000 0000 0000 0000 0001

EDT_DAT

RPI

RESET PENDING INTERRUPT
Slots:

1–30

Ladder Diagrams and APS Displays:

] [

RUN

MODE FORCE EDT DAT SEARCH

F1

F2

F3

F4

F5

RPI:0000 0000... 2.0.0.0.2

(RPI)

( )

When the cursor is on the RPI instruction, the
slots having reset Pending I/O Interrupt bits are
indicated here by 0s.

HHT Ladder Display:

(online monitor mode)

RPI Instruction