Rockwell Automation Publication 2080-UM002N-EN-E - November 2022 299
Appendix C User Interrupts
The STIS instruction can be used to start and stop the STI function or to change the time
interval between STI user interrupts. The STI instruction has two operands:
• IRQType — This is the STI ID that a user wants to drive.
• SetPoint — This is the amount of time (in milliseconds) which must expire prior to
executing the selectable timed user interrupt. A value of zero disables the STI function.
The time range is from 0…65,535 milliseconds.
The STIS instruction applies the specified set point to the STI function as follows (STI0 is used
here as an example):
• If a zero set point is specified, the STI is disabled and STI0.Enable is cleared (0).
• If the STI is disabled (not timing) and a value greater than 0 is entered into the set point,
the STI starts timing to the new set point and STI0.Enable is set (1).
• If the STI is currently timing and the set point is changed, the new setting takes effect
immediately, restarting from zero. The STI continues to time until it reaches the new set
point.
UID - User Interrupt Disable
The UID instruction is used to disable selected user interrupts. The table below shows the
types of interrupts with their corresponding disable bits:
Table 73 - Types of Interrupts Disabled by the UID Instruction
Interrupt Type Element Decimal Value Corresponding Bit
Plug-In Module UPM4 8388608 bit 23
Plug-In Module UPM3 4194304 bit 22
Plug-In Module UPM2 2097152 bit 21
Plug-In Module UPM1 1048576 bit 20
Plug-In Module UPM0 524288 bit 19
STI - Selectable Timed Interrupt STI3 262144 bit 18
STI - Selectable Timed Interrupt STI2 131072 bit 17
STI - Selectable Timed Interrupt STI1 65536 bit 16
STI - Selectable Timed Interrupt STI0 32768 bit 15
EII - Event Input Interrupt Event 7 16384 bit 14
EII - Event Input Interrupt Event 6 8192 bit 13
EII - Event Input Interrupt Event 5 4096 bit 12
EII - Event Input Interrupt Event 4 2048 bit 11
HSC - High-Speed Counter HSC5 1024 bit 10
HSC - High-Speed Counter HSC4 512 bit 9
HSC - High-Speed Counter HSC3 256 bit 8
HSC - High-Speed Counter HSC2 128 bit 7
HSC - High-Speed Counter HSC1 64 bit 6
HSC - High-Speed Counter HSC0 32 bit 5
EII - Event Input Interrupt Event 3 16 bit 4
EII - Event Input Interrupt Event 2 8 bit 3
EII - Event Input Interrupt Event 1 4 bit 2
EII - Event Input Interrupt Event 0 2 bit 1
UFR - User Fault Routine Interrupt UFR 1 bit 0 (reserved)
UIDUID
UID (name or Pin ID)
or ENO(Pin ID)
Enable
IRQType