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

Understanding language compilation in Logix

Logix Designer, like most IEC 61131-3-compliant applications, takes any program you create in any IEC-compatible language, converts it into Instruction List (IL)—a low-level language that resembles assembly—and compiles it down to bytecode (the binary language used internally by the controller) in order for the controller to execute it.

The following diagram illustrates the ways that various languages are compiled down into the same bytecode language:

Ultimately, the controller is not aware of which language you created your program in (Ladder Logic, Function Block, or Sequential Function Chart); it always ends up as the same bytecode language that is executed on the controller. Within Logix Designer, you can create the exact same program using Ladder Logic that you would create using Function Block Diagrams (FBDs), and it would (in theory) translate down to the same Structured...