268 Rockwell Automation Publication 1769-UM021G-EN-P - October 2015
Chapter 10 Develop Applications
Programs
The controller operating system is a preemptive multitasking system that is in
compliance with IEC 1131-3. This system provides the following:
• Programs to group data and logic
• Routines to encapsulate executable code that is written in one
programming language
Each program contains the following:
• Local Tags
• Parameters
• A main executable routine
• Other routines
• An optional fault routine
Figure 44 - Program in a Control Application
Control Application
Controller Fault Handler
Task 32
Task 1
Configuration
Status
Watchdog
Program 1000
Program 1
Main Routine
Fault Routine
Program (Local
Tags and
Parameters)
Other Routines
Controller (global) Tags I/O Data System-shared Data
Program 1
Contains the following:
• Main Routine
• Fault Routine
• Other Routines
• Program Tags