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

Clearing a fault

Once a controller encounters a major fault, not much can be done with it until the fault has been cleared. You will be unable to download an updated program to your controller until you clear all the major faults. In the following exercise, we will trigger a major fault and then learn how to view and manually clear it. We will trigger a programmatic major fault (type 4) by referencing a value outside of an array's configured range.

We will need to add two more tags—an array and array position tag—to our project in order to trigger the major fault by following these steps:

  1. Create an array tag by right-clicking on the program tags in the Controller Organizer pane, select New Tag (or press Ctrl + W), and then create an array called SmallArray with the following properties:
    • Name: SmallArray
    • Description: A Small Array Used to Trigger a Programmatic Major Fault (Type 4)
    • Data Type: DINT[10]
    • Scope: MainProgram
    • External Access:...
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 $19.99/month. Cancel anytime