RSLogix usage and training examples

By  | 

Nowadays, when everything is automated, programmable logic controllers (PLCs) are close to mosteffective and reliable means of controlling any electro-mechanical process. One of the programs which are used to set actions for this device is RSLogix 5000.

RSLogix 5000 is Allen-Bradley’s most recent PLC software. It is using one software compound consisting of four styles of programming languages:structured text, ladder logic,sequential function charts, and function block diagrams.They can be used for many needs like control process, sequential, drives, and motion control. There are a lot of RSLogix 5000 tutorials you can practice on, you need to invest some time to become good at it.

First step

Because it can use a wide vary of programming languages, they are usually specified for determined action. This doesn’t mean it is limited to certain action, but some suits them the most. For example, ladder logic, which was the sole programming option with the RSLogix 500 software, is best suited for binary operations, execution of continuous or parallel operations, the logical operation that are complex, processing of messages and other communications.

The function block diagram programming language can be used for circuit flow calculations, control loops, drive control and continuous processes. The sequential function chart (SFC) programming language works well in managingprocesses that are batched, also, multiple operations at a high level, sequential machine operations, motion control. With so many operations it can handle, there are many tricks you can use to handle RSLogix 5000.

Get more information here:


Emulator example

When you start the program use the version 20 for setting the emulate controller. You want to open the RSLinx to configure a new driver. You could right-click and add a new driver but there is also a shortcut icon underneath the taskbar. There will be a drop-down list and you are going to pick a virtual backplane since we are going to be using the emulator, click on the add-new and also you can change the name if you want. The last part at the start is to set the slot 0 as the backplane.

You will see the driver appear in the RSLinx. It can be expanded and there you can see the workstation RSLinx server and RSLinx Enterprise. Now you can start the emulator and you are ready to go.


When you are starting the emulator it automatically comes with a backplane. You can right click on the empty slot and click on create. The window will pop out showing which module type you want to choose, usually out of two, and we are choosing the emulator controller. Everything should be set as default, so just click next and finish.

When you finish creating your emulator you can see it has been placed in the backplane. So, we can connect now using our RSLogix software. You want to create a new project. When picking a type usually you will pick the first thing on the drop menu. If you scroll down the list you can see your emulator at the bottom. Pick the emulator and set the version to 20. Then you can name the project as you like.

Everything else when making a new project can stay the same. You can also change it later if you want. There is something you can look out for and that is the slot. When creating the emulator your slot can be 2 and when creating a project it’s automatically set to 1. So, the smart thing is to change it, so it will be in the same slot. Another option is to set the file where you want to put the project.

In the controller organizer you will find your emulator at the bottom, and there you can change the setting if it needs to be changed. The first part of the controller is the controller tags where all your tags will generate.

Source protection decrypted

If the company is closed and you can’t get anybody from the company to change the bad code, you can find a way to make a change besides doing the whole code again.

When you can make any change to the code it means that it is source protected. First, you should do is to go offline. Then in the taskbar click on tools, security and Configure Source Protection. When you open it up the window will pop up saying that there is a source key, so just click on yes and set the location, for example on the desktop, and create a new file. Now we have a new file set on the desktop with nothing in it, so the source key is unknown.

Next step is to go on the routine you want to crack and in the controller organizer, right-click on the main routine and export routine. When you exported the routine on the desktop you can use any source protection decrypt, you can ask a friend that is familiar to decrypting to help. It isn’t a difficult thing to find because you don’t need a lot effort to decrypt.  Read more about it on this link.

Something like a password will come up when you finish decrypting. There isn’t any waiting time for it. Next thing you should do is to go to tools, security, configure source protection, expand the main program, select the routine and click on protect. Even if it is protected the window will pop up where you can put in the source key you got from decrypting. Name the source key and check the “Allow viewing of components”.

 Now you can close that window. At the first glance, you can notice the change. If you have your descriptions highlighted or they changed colors, it is a sign you can make edits. Now you can go back online and make changes.

You can find the details, meaning the key code and the name you set, in the document you made on y our desktop, so everything is done automatically. This shouldn’t be used for any other purpose unless it is a “must”.

You must be logged in to post a comment Login

Leave a Reply