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.
298
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.
299
UIE – User Interrupt Enable 300
UIF – User Interrupt Flush
Use the UIF instruction to remove selected pending interrupts from
the system.
301
UIC – User Interrupt Clear
Use this function to clear Interrupt Lost bit for the selected User
Interrupt(s).
302
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)
STISSTIS
STIS(name or Pin ID)
or ENO(Pin ID)
Enable
IRQType
SetPoint