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

Buffering module I/O data

One important issue we must address prior to starting the development of our program is the buffering of module I/O data. In Chapter 2, Understanding ControlLogix, we briefly looked at the Logix operating cycle and the differences between asynchronous and synchronous execution. Traditionally, PLCs have been synchronous, which means that everything happens in a predictable order every single time a program executes. Synchronous controllers read from inputs, process logic, and finally, write to outputs. In modern asynchronous operating cycles, there are many activities that appear to be happening at the same time. The input and output values could change in the middle of a program scan and put the program in an unpredictable state if the program was written with synchronous operation in mind.

Imagine a program starting a pump in one line of code, and then closing a valve directly in front of that pump in the next line of code because it detected...