O'Reilly logo

Instant PLC Programming with RSLogix 5000 by Austin Scott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Organizing your project code (Advanced)

In this recipe, we will explore the way RSLogix organizes its controller into Scope, Tasks, Programs, and Routines.

Getting ready

To complete this recipe, you should have completed the previous exercises.

How to do it...

  1. In Controller Organizer, right-click on the Tasks icon and click on New Task.
  2. In our project, there is no need to check for our non-critical alarms every 10 ms. We will create a new periodic task for processing alarms every 250 ms and give it low priority in order to reduce the load on our processor.
  3. In the New Task form that appears, enter the following values:
    • Name: AlarmTask
    • Description: Task for Calculating Alarm Conditions
    • Type: Periodic
    • Period: 250.000 ms
    • Priority: 11
    • Watch Dog: 500 ms
  4. Next, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required