Organizing your project code (Advanced)
In this recipe, we will explore the way RSLogix organizes its controller into Scope, Tasks, Programs, and Routines.
To complete this recipe, you should have completed the previous exercises.
- In Controller Organizer, right-click on the Tasks icon and click on New Task.
- 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.
- In the New Task form that appears, enter the following values:
Task for Calculating Alarm Conditions
- Type: Periodic
- Watch Dog:
- Next, we ...