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 Function Block program

Now that we have covered the basic elements and logic functionality of FBDs, let's start to build our first Function Block routine. The following exercise will create a simple digital alarm routine using the Alarm Digital (ALMD) function block:

  1. Open the Controller Organizer pane, expand the tree by navigating to Tasks | Main Tasks | Main Program, and then right-click and select New Routine:

  1. Configure a new functional block diagram routine by setting the following values:
    • Name:DIGITAL_ALARMS
    • Description:Digital Alarms
    • Type: Function Block Diagram

The following screenshot shows the New Routine form with the necessary fields completed:

  1. In order for our newly created routine to be executed with each scan of the Programmable Logic Controller (PLC), we need to add a reference to it in the MainRoutine program...