Introduction to RSLogix 5000

Introduction to RSLogix 5000

This should have been the first practice, a brief introduction to RSLogix 5000 and the organization of a project, how it is structured. I will be updating it and adding content little by little; to visualize the description of each section, click on each of the directories.

RSLogix5000 Controller



1.-RSLogix5000 Controller (Right click -> Properties) Here we will access the properties of our CPU that we will analyze later.

Controller Tags Within this section is where we will declare the variables that will be globally scoped; here they are called Controller tags. All the variables we declare here will be accessible from any program, Task, or event that we develop in our project.

There are 4 types of Tags that we can create: Base, Alias, Produced, and Consumed. The first one, Base, could be said to be the type we use by default when creating a new Tag.

The Alias type are variables that point to another variable, and as its description states, an alias to refer to the same variable; these are usually used when we refer to the inputs/outputs of our controller.

The Produced and Consumed types are the variables we declare when we want to exchange information between two or more Controllers, whether in the same BackPlane or in a ControlNet or Ethernet/IP network. An example can be seen in the next practice

Once we have defined the type of tag it will be, we need to select the data type; here we can use the ones that are already defined by default, or we can use the ones we have defined ourselves, which will be seen in the Data Types section.

If we have two controllers in the same BackPlane, we must select in Scope which Controller it refers to.

External Access: How the variable will be, whether for reading, writing, or reading and writing. In Style, we will select the display format, whether Decimal, Hexadecimal, etc...

With this, we have made a brief description of declaring a Controller variable and its characteristics.

Controller Fault Handler This directory is empty by default, and it is where we will declare a new Program that will execute in case a fault occurs in our Controller. For it to execute, it must be a major fault. Types of Faults

Power-Up Handler Like the previous one, this directory is empty by default; if we want to execute a program after a power loss of our Controller while it is in Run mode, the program we have defined will be the one that executes.

The next image shows a small example of declaring a program for the Controller Fault Handler and Power-Up Handler.

Once we have created our programs, we have one last step to configure them; we need to go to the properties of the Controller and in the Advanced tab, we must specify the program we are interested in for both possible cases.