Book Image

Learning RSLogix 5000 Programming

Book Image

Learning RSLogix 5000 Programming

Overview of this book

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.
Table of Contents (18 chapters)
Learning RSLogix 5000 Programming
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Rockwell Automation Literature Library Resource
Index

Controller task types


Tasks are the most configurable organization unit and are at the trunk of a Logix project. They provide a means of optimizing the execution of our project. It is important to remember that the Logix controllers are only capable of running one task at a time. However, tasks can interrupt the execution of other tasks if they are triggered and have a higher priority value. Tasks that are interrupted will start again where they left off in the execution of their code.

Note

It is important to keep in mind that other tasks can change the data your routine's code is executing on. Care should be taken to buffer tags in order to avoid the code from entering a state that was not accounted for. Buffering has been covered in detail in Chapter 5, Writing Ladder Logic.

There are three types of tasks in Studio 5000 Logix Designer (RsLogix 5000):

  • Continuous

  • Periodic

  • Event

Continuous tasks

Continuous tasks will execute as quickly as they can and will always be running on the controller when...