Learn Logix Part 3.3. In this article, we learn about programs in a Studio 5000 Logix Designer project and how to create them.
Learn Logix is a series of articles designed to teach you everything you need to know to work with Rockwell Automation’s Studio 5000 Logix Designer and the Logix 5000 series of PLCs.
In the last part of the series, we learned about tasks in a Studio 5000 Logix Designer project. Specifically, we learned about the types of tasks available and how to create a task. You can find that part here or if you’re new to the series, you can find all of the previous parts here.
In this part of the series, we’ll learn about programs in a Studio 5000 Logix Designer project.
A program is a mechanism to organize the routines within a task. It is a folder inside of a task that groups related routines and tags together. Programs are often used to divide areas of a production plant into logical groupings.
When you create a new Studio 5000 Logix Designer project, the default task contains a default program called MainProgram.
Each task in a Studio 5000 Logix Designer project has a Program Schedule tab in its Task Properties dialog box. Using this tab, the programs in a task can be scheduled or unscheduled and the order of execution of programs can be rearranged.
When a task is triggered to execute, the scheduled programs in the task are executed in order, from top to bottom. Unscheduled programs are not executed.
The order of scheduled programs can be modified by selecting a program and using the Up and Down buttons in the Move column to change the program’s scheduled position.
Scheduled programs can be unscheduled by selecting the program and clicking the Remove button. Unscheduled programs can be scheduled by selecting the unscheduled program and clicking the Add button.
Special programs can be created to handle various events that can occur in a control system. For example, the Controller Fault Handler program is executed when a controller fault occurs and the Power Up Handler is executed when a controller is powered on.
These special programs are included in a Studio 5000 Logix Designer project by default outside of the Tasks folder. You can choose to use these programs based on your project’s requirements.
To create a program in a Studio 5000 Logix Designer project, right click on the task where you want to create a program and click Add > New Program.
The New Program dialog appears. Here you can give your program a name and add it to the project by clicking OK.
In this article, we learned about programs in a Studio 5000 Logix Designer project and how to create them.
In the next part of the series, we will learn about routines in a Studio 5000 Logix Designer project. If you haven’t already, be sure to subscribe to the mailing list below to be notified when the next part is available.
Update: You can find the next part of the Learn Logix series, Routines in a Studio 5000 Logix Designer Project, here. In this article, we learn about routines in a Studio 5000 Logix Designer project. Specifically, we learn what routines are, what routines are available to use in a Studio 5000 Logix Designer project, and how to create them.
Learn Logix Part 4.5. In this article, we learn about the various operating modes available for Logix 5000 controllers and the programming operations available in each mode.
Learn Logix Part 4.4. In this article, we learn how to understand and fix abnormal device states in RSLinx Classic.