Learning RSLogix 5000 Programming

Book description

Become proficient in building PLC solutions in Integrated Architecture from the ground up using RSLogix 5000

About This Book

  • Introduction to the Logix platform and Rockwell Automation terminology, with resources available online in the literature library
  • Build real-world Rockwell Automation solutions using ControlLogix, CompactLogix, SoftLogix, RSLogix 5000, and Studio 5000
  • Understand the various controllers and form factors available in the ControlLogix and CompactLogix platforms, and the recent changes under the new Studio 5000 Automation Engineering and Design software suite

Who This Book Is For

This book is for PLC programmers, electricians, instrumentation techs, automation professionals with basic PLC programming knowledge, but no knowledge of RSLogix 5000. If you are a student who is familiar with automation and would like to learn about RSLogix 5000 with minimal investment of time, this is the book for you.

What You Will Learn

  • Briefly explore the history of Rockwell Automation and the evolution of the Logix platform
  • Discover the complete range of ControlLogix and ComplactLogix controllers and form factors available today, and the key things you should consider when you are engineering a Rockwell Automation solution
  • Explore the key platform changes introduced with Studio 5000 and Logix Designer version 24 and the latest firmware versions
  • Get to grips with the modules available in the ControLogix, SoftLogix, and CompactLogix platforms
  • Understand writing Ladder Logic (LL) routines, Sequential Function Chart (SFC) routines, and Structured Text routines (ST)
  • Design Function Block Diagrams (FBD) and their easy integration with HMIs

In Detail

RSLogix 5000 and Studio 5000's Logix Designer are user-friendly interfaces used for programming the current generation of Rockwell Automation Controllers including ControlLogix, CompactLogix, and SoftLogix. When engineering automation solutions using Logix, it is important to study the changes to the platform introduced with Studio 5000 and the various controllers, modules, and form factors available today. RSLogix 5000 programming packages help you maximize performance, save project development time, and improve productivity.

This book provides a detailed overview of the Logix platform including ControlLogix, CompactLogix, and SoftLogix and explains the significant changes introduced in Studio 5000. A clear understanding of the recent Logix platform changes is critical for anyone developing a Rockwell Automation solution. It provides an easy-to-follow, step-by-step approach to learning the essential Logix hardware and software components and provides beginners with a solid foundation in the Logix platform features and terminology. By the end of this book, you will have a clear understanding of the capabilities of the Logix platform and the ability to navigate the Rockwell Automation Literature Library Resources.

Style and approach

A step-by-step approach to RSLogix 5000, which is explained in an easy-to-follow style. Each topic is explained sequentially with detailed explanations of the basic and advanced features of Rockwell Automation that appeal to the needs of readers with a wide range of experience.

Table of contents

  1. Learning RSLogix 5000 Programming
    1. Table of Contents
    2. Learning RSLogix 5000 Programming
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. Safety warning – loss of control/view
      3. What you need for this book
      4. Who this book is for
      5. Conventions
      6. Reader feedback
      7. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. ControlLogix and CompactLogix Overview and Firmware
      1. A brief history of Rockwell Automation
      2. Integrated Architecture
      3. ControlLogix controllers
      4. Logix operating cycle
      5. ControlLogix series 6 controllers
      6. ControlLogix series 7 controllers
      7. Selecting a ControlLogix controller
      8. GuardLogix safety controllers
      9. Extreme environment controllers
      10. CompactLogix controllers
      11. CompactLogix 5370 controllers
      12. Selecting a CompactLogix controller
      13. ControlLogix software and firmware
      14. Product Selection Toolbox
        1. Rockwell Automation Product Catalog for iPad
      15. Summary
    9. 2. Industrial Network Communications
      1. Key terms in industrial communications
      2. Network communication technologies
        1. Primary network technologies
          1. DeviceNet
          2. ControlNet
          3. EtherNet/IP
        2. Legacy network technologies
          1. Data Highway Plus
          2. Universal Remote I/O
          3. Serial Real-time Communications System
          4. SynchLink
          5. DH-485 and DF1
        3. A comparison of network communications
      3. EtherNet/IP Capacity Tool
        1. Using EtherNet/IP Capacity Tool
      4. RSLinx
      5. RSLinx communication using ControlLogix and a USB connection
      6. The Rockwell Automation Integrated Architecture Builder mobile app
      7. Summary
    10. 3. Configuring Logix Modules
      1. Module terminology
      2. Module types
        1. Analog modules
        2. Digital modules
        3. Communication modules
        4. Controller modules
        5. Specialty modules
        6. Logix terminal blocks
      3. Configuring a ControlLogix module
      4. Logix module – Catalog Numbers
        1. Special features of a module
        2. Addressing module I/O data
        3. Exploring module addresses
        4. Buffering module I/O data
      5. Configuring remote racks with RSNetWorx
      6. Summary
    11. 4. SoftLogix
      1. SoftLogix system overview
        1. SoftLogix controllers
      2. Components of a SoftLogix solution
        1. SoftLogix 5800 versus RSLogix Emulate 5000
      3. Working with SoftLogix
        1. SoftLogix 5800 Chassis Monitor
        2. Configuring the RSLinx virtual-backplane driver
        3. Creating a Logix Designer SoftLogix project
          1. Configuring the 1789-SIM module in the Logix Designer project
          2. Simulating values using the 1789-SIM module
      4. Summary
    12. 5. Writing Ladder Logic
      1. Ladder logic overview
        1. IEC 61131-3
        2. Understanding programming logic
        3. AND logic in ladder
        4. OR logic in ladder
        5. NOT logic in ladder
      2. How to write ladder logic
        1. Buffering I/O data
        2. Defining tags
        3. Buffering base tags
        4. Buffering using program parameters
      3. Summary
    13. 6. Writing Function Block
      1. Language compilation overview in Logix
        1. The function block overview
        2. Understanding FBD
          1. Function block versus ladder logic
          2. The function block sheets
          3. The function block elements
          4. Function block wiring
        3. Function block logic
          1. The AND logic function block
          2. The OR logic function block
          3. The NOT logic function block
        4. Writing a function block program
        5. Online monitoring and editing
        6. The FBD properties
        7. Adding and naming sheets to a routine
        8. Adding a textbox to a function block routine
        9. Hiding and showing function block pins
        10. Assigning a constant value to a function block
      2. Summary
    14. 7. Writing Structured Text
      1. An introduction to structured text programming
        1. Typical usage of structured text
        2. The structured text editor
      2. Writing structured routines
        1. Simple routine
        2. Structured text syntax
        3. Operators
          1. Assignment operator
          2. Non-retentive assignment operator
          3. Retentive versus non-retentive assignment operators
          4. Buffering structured text I/O module values
          5. Relational operators
          6. Logical operators
          7. Arithmetic operators
        4. Expressions
        5. Instructions
          1. Arithmetic instructions
          2. ORSI instruction
        6. Constructs
          1. The IF THEN construct
          2. The CASE OF construct
          3. The FOR DO construct
      3. Summary
    15. 8. Building Sequential Function Charts
      1. Introducing sequential function charts
        1. Typical usage of SFCs
        2. The SFC editor
        3. Defining the SFC steps
        4. Defining the SFC actions
        5. Defining the SFC transitions and branches
        6. Defining the SFC stop element
        7. A backwash SFC routine
      2. Summary
    16. 9. Using Tasks and Programs for Project Organization
      1. Introducing project organization in Logix
        1. Organizational units in Logix
        2. Controller tasks
        3. Controller programs
        4. Controller routines
      2. Controller task types
        1. Continuous tasks
        2. Periodic tasks
        3. Event tasks
        4. Best practices of Logix task usage
        5. Creating a task
        6. Inhibiting programs and tasks
        7. Setting task priorities
      3. Tuning a Logix controller
        1. System overhead time slice
        2. Setting the system overhead time slice
        3. Monitoring task execution time and overlap
        4. Task watchdog time
        5. Logix5000 Task Monitor tool
      4. Summary
    17. 10. Faults and Troubleshooting in Logix
      1. General troubleshooting and support for Logix
      2. An introduction to troubleshooting faults
      3. Faults
        1. Clearing a fault
        2. Fault handling and recovery
      4. Get System Value and Set System Value
        1. User-defined data types
        2. Trapping a fault
      5. Rockwell troubleshooting application for iPad and iPhone
      6. Summary
    18. A. Rockwell Automation Literature Library Resource
    19. Index

Product information

  • Title: Learning RSLogix 5000 Programming
  • Author(s): Austin Scott
  • Release date: August 2015
  • Publisher(s): Packt Publishing
  • ISBN: 9781784396039