Book Image

Instant PLC Programming with RSLogix 5000

Book Image

Instant PLC Programming with RSLogix 5000

Overview of this book

RSLogix5000 is a user friendly IEC61131-3-compliant interface for programming the current generation of Rockwell Automation PLCs, which includes Ladder Diagrams (LD), Graphical Function Block Diagrams (FBD), Graphical Structured Text (ST), and Sequential Function Charts (SFC). Instant PLC Programming with RSLogix 5000 captures the core elements of PLC programming with RSLogix 5000 with a minimal investment of time. We will avoid getting into control theory and focus on condensing the information specific to RSLogix 5000. We have selected the key areas of RSLogix and provide a step-by-step approach to teaching them. This book start by follows the steps involved in creating a new RSLogix 5000 project and configuring racks, slots, and channels. Next, we will create routines using the various languages available in RSLogix 5000, troubleshooting and resolving issues we encounter along the way. Finally, we will dive into the advanced features, such as online changes, code generation, task management, and user-defined structures. You will also learn object-oriented PLC programming techniques using advanced features like user-defined types (UDTs) that improve the maintainability, uniformity, and readability of our routines. We also highlight the strengths and limitations of online changes and demonstrate techniques to maximize flexibility. You will learn everything you need to get up and running with RSLogix 5000 as well as best practices used by industry experts.
Table of Contents (7 chapters)

Troubleshooting techniques (Intermediate)


The ability to troubleshoot and properly diagnose faults in Logix 5000 is extremely valuable. This recipe will demonstrate a typical troubleshooting process when things go awry.

Getting ready

This recipe will cover the fundamentals of troubleshooting issues in RSLogix 5000. When there are troubleshooting issues in RSLogix 5000, there are a few places where you can start.

How to do it...

  1. Open Controller Organizer in RSLogix 5000 and find the Controller Module (or modules for your project). Right-click on the Controller module and select Properties (or press Alt + Enter).

  2. In the Controller Properties window, navigate to the Major Faults tab and check for any faults that may have occurred.

  3. Now, click on the Minor Faults tab and check for any faults that may have occurred.

  4. You can also check to see if there are any errors with the PLC program itself by navigating to Logic | Verify | Controller.

  5. If any errors occur, they will be listed in the Errors Pane that is displayed.

How it works...

RSLogix 5000 allows you to resolve errors in your PLC program quickly and easily. Often, you can click on the error messages that appear and you will be taken directly to the area you need to fix.

There's more...

  • More information on troubleshooting faults in RSLogix 5000 can be found in the Rockwell publication Logix5000 Controllers Major, Minor, and I/O Faults available at http://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm014_-en-p.pdf

  • And in the Rockwell publication Logix5000 Controllers Information and Status available at http://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm015_-en-p.pdf