
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
303
Appendix C User Interrupts
The Selectable Timed Interrupt (STI) provides a mechanism to solve time critical control
requirements. The STI is a trigger mechanism that allows you to scan or solve control program
logic that is time sensitive.
Example of where you would use the STI are:
• PID type applications, where a calculation must be performed at a specific time
interval.
• A block of logic that needs to be scanned more often.
How an STI is used is typically driven by the demands/requirements of the application. It
operates using the following sequence:
1. The user selects a time interval.
2. When a valid interval is set and the STI is properly configured, the controller monitors
the STI value.
3. When the time period has elapsed, the controller’s normal operation is interrupted.
4. The controller then scans the logic in the STI POU.
5. When the STI POU is completed, the controller returns to where it was prior to the
interrupt and continues normal operation.
Selectable Time Interrupt
(STI) Function
Configuration and Status
This section covers the configuration and status management of the STI function.
STI Function Configuration
STI Program POU
This is the name of the Program Organizational Unit (POU) which is executed immediately
when this STI Interrupt occurs. You can choose any pre-programmed POU from the drop-down
list.
STI Auto Start (STI0.AS)
The AS (Auto Start) is a control bit that can be used in the control program. The auto start bit is
configured with the programming device and stored as part of the user program. The auto
start bit automatically sets the STI Timed Interrupt Enable (STI0.Enabled) bit when the
controller enters any executing mode.
STI Set Point Milliseconds Between Interrupts (STI0.SP)
When the controller transitions to an executing mode, the SP (set point in milliseconds) value
is loaded into the STI. If the STI is configured correctly, and enabled, the POU in the STI
configuration is executed at this interval. This value can be changed from the control program
by using the STIS instruction.
Sub-Element Description
Data Format
User Program Access
AS - Auto Start
binary (bit)
read only
Sub-Element Description
Data Format
Range
User Program Access
SP - Set Point Msec
word (INT)
0…65,535
read/write
The minimum value cannot be less than the time required to scan the
STI POUplus the Interrupt Latency.
Содержание 2080-L50E-24AWB
Страница 14: ...14 Rockwell Automation Publication 2080 UM002N EN E November 2022 Notes ...
Страница 54: ...54 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 4 Wire Your Controller Notes ...
Страница 128: ...128 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 7 Program Execution in Micro800 Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 8 EtherNet IP Network Notes ...
Страница 198: ...198 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 9 Motion Control Notes ...
Страница 232: ...232 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 11 Controller Security Notes ...
Страница 260: ...260 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 12 Using microSD Cards Notes ...
Страница 266: ...266 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix A Modbus Mapping for Micro800 Notes ...
Страница 275: ...Rockwell Automation Publication 2080 UM002N EN E November 2022 275 Appendix B Quickstarts 10 Click Finish to complete ...
Страница 332: ...332 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix E PID Function Blocks Notes ...
Страница 352: ...352 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix G Connect to Networks using DF1 Notes ...
Страница 388: ...388 Rockwell Automation Publication 2080 UM002N EN E November 2022 Index Notes ...