Publication 1762-RM001C-EN-P
Using Interrupts 18-7
User Interrupt
Instructions
INT - Interrupt
Subroutine
Instruction Type: input
The INT instruction is used as a label to identify a user interrupt service
routine (ISR). This instruction is placed as the first instruction on a rung
and is always evaluated as true. Use of the INT instruction is optional.
Instruction Used To: Page
INT - Interrupt Subroutine Use this instruction to identify a program file as an
interrupt subroutine (INT label) versus a regular
subroutine (SBR label). This should be the first
instruction in your interrupt subroutine.
18-7
STS - Selectable Timed
Start
Use the STS (Selectable Timed Interrupt Start)
instruction to the start the STI timer from the control
program, rather than starting automatically.
18-8
UID - User Interrupt Disable Use the User Interrupt Disable (UID) and the User
Interrupt Enable (UIE) instructions to create zones in
which I/O interrupts cannot occur.
18-9
UIE - User Interrupt Enable 18-10
UIF - User Interrupt Flush Use the UIF instruction to remove selected pending
interrupts from the system.
18-11
INT
I/O Interrupt
INT
Table 18.1 Execution Time for the INT Instruction
Controller When Rung Is:
True False
MicroLogix 1200 1.0
µ
s1.0
µ
s
MicroLogix 1500 1.0
µ
s1.0
µ
s