Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning RSLogix 5000 Programming

You're reading from   Learning RSLogix 5000 Programming Build robust PLC solutions with ControlLogix, CompactLogix, and Studio 5000/RSLogix 5000

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781789532463
Length 384 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Austin Scott Austin Scott
Author Profile Icon Austin Scott
Austin Scott
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Section 1: Introduction to RSLogix
2. The History of Rockwell Automation Technologies FREE CHAPTER 3. Understanding ControlLogix 4. Understanding CompactLogix 5. Understanding SoftLogix 6. Understanding Logix Emulate 5000 7. Section 2: Logix Programming Basics
8. Industrial Network Communications 9. Configuring Logix Modules 10. Writing Ladder Logic 11. Writing Function Block 12. Writing Structured Text 13. Building Sequential Function Charts 14. Section 3: Advanced Logix Programming
15. Using Tasks and Programs for Project Organization 16. Faults and Troubleshooting in Logix 17. Understanding Cybersecurity Practices in Logix 18. Building a Robot Bartender in Logix 19. Assessments 20. Other Book You May Enjoy

What this book covers

Chapter 1, History of the Rockwell Automation Technologies,provides a history of industrial control systems and the Rockwell Automation ecosystem. It is important to understand the legacy systems provided by Rockwell Automation because some of them can still be found operating in the field today. Also, it is important to understand the overall Rockwell Automation offering, terminology, and how the platforms we focus on in the book fit into that world. Rockwell Automation's Integrated Architecture system is outlined, as is where ControlLogix fits into their larger strategy.

Chapter 2, Understanding ControlLogix, introduces the flagship controllers available within Rockwell Automation's Integrated Architecture system. We cover the controller solutions available within the Integrated Architecture system and learn how to make solution architecture decisions. We explore the physical features and diagnostic information available on the ControlLogix cards and investigate the evolution of the platform's firmware. Finally, we learn the differences between the traditional synchronous PLC scan and the Logix asynchronous operating cycle.

Chapter 3, Understanding CompactLogix, introduces the full line of CompactLogix controllers available within Rockwell's Integrated Architecture system. We learn about the CompactLogix 5480 hybrid controllers, and their unique position in the industrial marketplace. We gain an understanding of the controller solutions available within Integrated Architecture and learn to make CompactLogix architecture decisions. We also learn how to use Rockwell's online resources to identify the modules that are compatible with our solution.

Chapter 4, Understanding SoftLogix, teaches us about the SoftLogix 5800 controllers, which enable us to create a PC-based Logix controller rack. We learn how to create a virtual rack that houses our virtual controllers and virtual communication modules. We also learn that SoftLogix is another component of Rockwell Automation's Integrated Architecture system and can interface with the other Logix controllers, communication modules, and I/O modules. We also learn that by taking advantage of the computing power of modern PCs, the SoftLogix controllers are capable of processing larger volumes of data and at a higher speed than even the most powerful Logix controller.

Chapter 5, Understanding the Logix Emulate 5000, teaches us how to leverage a virtual Logix controller and rack to facilitate debugging Logix program code using features such as breakpoints and tracepoints. In this chapter, we create a virtual test rack using similar modules to a physical rack and create a simple test. We learn the critical differences between Emulate 5000 and SoftLogix 5800. We learn how to create a RSLogix Emulate 5000 solution containing modules that are configured in a virtual Logix rack to mimic the end solution.

Chapter 6, Industrial Network Communications, introduces the various communication technologies available for the Logix platform. The focus of this book is the current state of Rockwell Automation's ControlLogix and CompactLogix controllers; however, we will touch on some legacy communication protocols that you may still find running in the field today. Communications allow us to interface with controllers, racks, and devices on our network. Establishing communications is an important step that enables us to connect with a device and transfer configuration changes and programs. In completing this chapter, you will be familiar with all the Rockwell Automation communication technologies that have been used in the past and that are actively used in the field today.

Chapter 7, Configuring Logix Modules, enumerates the available modules for the Logix platform, how to configure them, and their usage in a Logix project. We will also include methods for identifying module features by their Logix module catalog numbers and introduce the address tree that a typical I/O module creates. After completing this chapter, you will be able to select and add I/O modules to your projects, modify the module configurations, and reference their real-time values using the recommended best practices.

Chapter 8, Writing Ladder Logic, looks at the history of ladder logic and the development of the IEC standard programming languages. Then, it jumps into ladder logic programming by creating a simple pump control program. We demonstrate how to buffer inputs and outputs in our ladder logic code and discuss the importance of this process. At the end of the chapter, you will be able to read and write IEC ladder logic for the Logix platform and for multiple other vendors that support IEC standard programming languages.

Chapter 9, Writing Function Blocks, explores the origins of Function Block Diagrams (FBDs) in systems engineering and introduces the basic concepts of IEC FBD programming. We learn how to create FBDs by dragging and dropping elements into a sheet in a routine. The way Logix compiles IEC languages down to bytecode is also explored in this chapter. We learn how to wire input and output references to Function Block pins and identify digital and analog connections before monitoring their values online. By the end of the chapter, you will understand how to read and write Function Blocks and be able to apply this knowledge to Rockwell products or products from other industrial automation vendors that conform with the IEC standards.

Chapter 10, Writing Structured Text, introduces you to the best uses for Structured Text (ST) within an automation solution. We start by exploring the ST editing environment and then introduce some of the new editing features available in Studio 5000 version 31 and higher. We create a simple ST routine and learn about the powerful syntax of ST code. Then we explore the full range of operators, expressions, instructions, and constructs available in the ST language. You will gain a solid foundation to help you read and write ST code within Logix and within other products that implement the IEC standard ST language.

Chapter 11, Building Sequential Function Charts, introduces you to Sequential Function Charts (SFCs) and typical usages within an automation solution. The core elements that make up an SFC are covered, and you will create a simple backwash process routine. We will learn how the usage of SFC varies from industry to industry. You are also shown that there are certain cases where leveraging the IEC SFC construct can greatly simplify the creation and debugging of a program. As with the previous IEC languages covered in this book, we will learn that selecting the appropriate language for your application is like selecting the correct tool to solve the problem you are facing. Although some programmers will only ever write in ladder logic, we learn that there are many advantages of using the full range of IEC languages where appropriate.

Chapter 12, Using Tasks and Programs for Project Organization, investigates the project organizational units used throughout this book. It details the way a Logix controller executes tasks and how the CPU divides its time based on priority. It introduces the overhead time slice and emphasizes its importance when optimizing a Logix application. Finally, it investigates methods within the Logix platform to monitor and troubleshoot performance issues. By the end of the chapter, you will be able to troubleshoot and optimize Logix project performance on larger solutions.

Chapter 13, Faults and Troubleshooting in Logix, provides recommendations for improving your troubleshooting capabilities in the Logix platform. It teaches us how to identify and troubleshoot the various types of faults that can occur in a Logix solution. In this chapter, we will use ladder logic to trigger a major fault, and then learn how to trap the major fault and prevent the controller from stopping when it occurs. Finally, we will highlight the FactoryTalk TeamONE app provided by Rockwell Automation for troubleshooting the Logix issues while in the field from a mobile device. By the end of the chapter, you will be comfortable investigating issues and will know where to find additional support if required.

Chapter 14, Understanding Cybersecurity Practices in Logix, introduces some of the industrial control system cybersecurity resources provided by Rockwell Automation and the tools that can be used to prevent unauthorized views or edits of projects. Rockwell has invested heavily in its cybersecurity practice over the past decade and has come to the table with numerous products, services, and guidance to help protect their customers from cyber threats. By the end of the chapter, you will be familiar with the Rockwell cybersecurity solution landscape and the features that can be enabled in a Logix solution to protect the process and code base.

Chapter 15, Building a Robot Bartender in Logix, combines the skills we have learned throughout this book into a sample application. This chapter steps through building a complete robot bartender control system from scratch, including configuring the modules, writing the code, and downloading it into our PLC. At the end of this chapter, you will understand how to select the components required for a simple ControlLogix industrial control solution. You will also learn how to wire digital input and output cards for a small control system project. After completing this project, you will gain a deeper understanding of the entire industrial control system building, tuning, and troubleshooting process and will be able to apply this knowledge to real-world control environments.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime