Tasks – Rockwell Automation 1756-L6x_L7x ControlLogix System User Manual User Manual

Page 148

Advertising
background image

148

Rockwell Automation Publication 1756-UM001O-EN-P - October 2014

Chapter 10

Develop Applications

Figure 27 - 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 criteria. This multitasking allocates the
controller’s processin time of the controller among the operations in your
application:

The controller executes only one task at a time.

One task can interrupt the execution of another and take control.

In any given task, multiple programs can be used. However, only one
program executes at a time.

You can display tasks in the Controller or Logical Organizer views, as
necessary.

Task 32

Task 1

Configuration

Status

Watchdog

Program 1000

Program 1

Main Routine

Fault Routine

Program (Local

Tags and

Parameters)

Other

Routines

I/O Data

System-shared Data

Controller Fault Handler

Controller (global) Tags

40012

Advertising