158 Rockwell Automation Publication 1756-UM001M-EN-P - February 2012
Chapter 10 Develop Applications
Figure 23 - Elements of a Control Program
Tasks
A Logix5000 controller lets you use multiple tasks to schedule and prioritize the
execution of your programs based on specific criteria. This multitasking allocates
the controller’s processing time among the different operations in your
application:
• The controller executes only one task at a time.
• One task can interrupt another’s execution and take control.
• In any given task, multiple programs may be used. However, only one
program executes at a time.
RSLogix 5000 Control Application
Controller Fault Handler
Task 8
Task 1
Configuration
Status
Watchdog
Program 32
Program 1
Main Routine
Fault Routine
Program
(local) Tags
Other
Routines
Controller (global)
Tag s
I/O Data System-shared Data
Controller Fault Handler