
298
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Appendix C User Interrupts
Creating a User Fault Subroutine
To use the user fault subroutine:
1. Create a POU.
2. In the User Interrupt Configuration window, configure this POU as a User Fault routine.
User Interrupt Instructions
STIS - Selectable Timed Start
STI0 is used in this document to define how STIS works.
Instruction
Used To:
Page
STIS – Selectable Timed Start
Use the STIS (Selectable Timed Interrupt Start) instruction to the
start the STI timer from the control program, rather than starting
automatically.
UID – User Interrupt Disable
Use the User Interrupt Disable (UID) and the User Interrupt Enable
(UIE) instructions to create zones in which user interrupts cannot
occur.
UIE – User Interrupt Enable
UIF – User Interrupt Flush
Use the UIF instruction to remove selected pending interrupts from
the system.
UIC – User Interrupt Clear
Use this function to clear Interrupt Lost bit for the selected User
Interrupt(s).
Table 72 - STIS Parameters
Parameter
Parameter Type Data
Type
Parameter Description
Enable
Input
BOOL
Enable Function.
When Enable = TRUE, function is performed.
When Enable = FALSE, function is not performed.
IRQType
Input
UDINT
Use the STI defined DWORD
IRQ_STI0, IRQ_STI1, IRQ_STI2, IRQ_STI3
SetPoint
Input
UINT
The user timer interrupt interval time value in milliseconds.
When SetPoint = 0, STI is disabled.
When SetPoint = 1…65535, STI is enabled.
STIS or ENO
Output
BOOL
Rung Status (same as Enable)
STIS
STIS
STIS(name or Pin ID)
or ENO(Pin ID)
Enable
IRQType
SetPoint