Book Image

Learning RSLogix 5000 Programming, - Second Edition

By : Austin Scott, Austin Scott
Book Image

Learning RSLogix 5000 Programming, - Second Edition

By: Austin Scott, Austin Scott

Overview of this book

Understanding programmable logic controller (PLC) programming with Rockwell Software’s Logix Designer and the Studio 5000 platform, which includes ControlLogix, CompactLogix, and SoftLogix, is key to building robust PLC solutions. RSLogix 5000/Studio 5000’s Logix Designer are user-friendly IEC 61131-3-compliant interfaces for programming the current generation of Rockwell Automation Controllers using Ladder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), and Sequential Function Chart (SFC). This second edition of Learning RSLogix 5000 Programming guides you through the technicalities and comes packed with the latest features of Studio 5000, industrial networking fundamentals, and industrial cybersecurity best practices. You’ll go through the essential hardware and software components of Logix, before learning all about the new L8 processor model and the latest Studio 5000 architecture to build effective integrated solutions. Entirely new for this edition, you’ll discover a chapter on cybersecurity concepts with RSLogix 5000. The book even gets you hands-on with building a robot bartender control system from start to finish. By the end of this Logix 5000 book, you’ll have a clear understanding of the capabilities of the Logix platform and be able to confidently navigate Rockwell Automation Literature Library resources.
Table of Contents (21 chapters)
1
Section 1: Introduction to RSLogix
7
Section 2: Logix Programming Basics
14
Section 3: Advanced Logix Programming

Creating a task

As we have learned so far in this chapter, organizational units within RSLogix and Studio 5000 provide a much-needed logical structure to our projects. They also allow us to prioritize critical tasks within our project.

In the following exercise, we will create a task that periodically monitors an important alarm condition within our application:

  1. In the Controller Organizer pane, right-click on the Tasks icon, and then click on New Task...:

In our project, there is no need to check for non-critical alarms by the default periodic task time of 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.

  1. 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...