About Logix Designer project components

A
Logix Designer
application project includes the following basic components:
These components work together as follows:
Project Component
Definition
Task
Provides scheduling and priority information for a set of one or more programs.
When you create a new project, the software automatically creates a continuous task. When this task completes a full scan, it immediately restarts.
Program
Each task requires at least one program.
  • Depending on the specific platform/controller, a task can have as many as 100 separate programs, each with its own program tags, main routine, other routines, and an optional fault routine. Note that some platforms/controllers are limited to 32 programs per task.
  • Once a task is triggered (activated), all the programs assigned to the task execute in the order in which they are displayed in the controller organizer.
  • You schedule a program in only one task, and cannot share a program across multiple tasks.
Routine
Provides the executable code for the project in a controller (similar to a program file in a PLC or <SLC> controller). Each routine uses a specific programming language (e.g., ladder logic, function block diagram, sequential function chart, or structured text).
MainRoutine
When a program executes, its main routine executes first. Use the main routine to call other routines (subroutines), using the Jump to Subroutine (JSR) instruction.
Subroutine
Any routine other than the main routine or fault routine. To execute a subroutine, use a Jump to Subroutine (JSR) instruction in another routine, such as the main routine.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.