Back to tutorials
Intermediate

RSLogix 5000 Tag Structure - Creating Alias Tags for PLC Input Output Modules Point IO Studio 5000

By
Vladimir Romanov
Table of Contents

Introduction

Tag aliasing is a concept which is particularly important in RSLogix 5000. The reason is that most RSLogix 5000 based Programmable Logic Controllers (PLCs) aren’t able to save tag descriptions within their memory. If the program is lost & needs to be uploaded from the controller, it will be restored without a single description. However, if you’re working with Studio 5000 v21 or above, your PLC will most likely have the capability to store the descriptions you add into your program.

In short, we’d recommend using tag descriptions in Studio 5000 and tag aliasing in RSLogix 5000. This ensures that you have a meaningful comment about the tag within your program and that whoever is going to work with it going forward is aware of what’s going on.

Tag aliasing isn’t a complicated concept, but it still surprises PLC programmers who are learning RSLogix 5000 for the first time or simply haven’t encountered this practice in other software packages such as RSLogix 500.

Default Tag Names for Input & Output Modules in RSLogix 5000

Input and Output modules are a critical component of every control system. No matter how small your system is, you’ll have at least a few local input or output cards which will receive feedback from field devices. Adding one of these modules is very simple in RSLogix and can be done by right-clicking the appropriate communications medium (EX: EtherNet, ControlNet, DeviceNet) and selecting “Add New Device…”. A prompt will be presented and allow the user to find the appropriate device from the Allen Bradley catalog. Once it’s selected, you will be prompted to enter the parameters of the module: give it a name, configure options, etc.

RSLogix 5000 Tag Structure - Creating Alias Tags for PLC Input Output Modules Point IO Studio 5000

The software will automatically populate the PLC scoped tags with ones necessary for the module we’ve just added. The image above is showing a PointIO rack which has a 1734-IB8 input card. This input card has been created with the title “PointIO_Rack”. Therefore, the tags generated by Studio 5000 for this card are as follows:

  • PointIO_Rack1:1:I – All the inputs will be sent here.
  • PointIO_Rack1:1:C – All the control bits are sent here.

The tags above will be the ones we will need to alias once we create our references.

Automatic Tag Aliasing

Certain modules will be created with tags which are already aliased to an internal tag within the PLC. This is common with remote input & output modules within families like PointIO & FlexIO. In most cases, local tags will not have such an alias.

Here’s an example of tag aliasing which was done by the PLC for the module we’ve created above. Notice that the tag we saw in the description is in black font while the alias tag is displayed in blue. Note that this can be changed through the options in RSLogix 5000 & Studio 5000.

RSLogix 5000 Tag Structure - Creating Alias Tags for PLC Input Output Modules Point IO Studio 5000 Programming

Creating a Tag Alias in RSLogix 5000

As mentioned before, it’s not very difficult to create a tag alias. Start by right-clicking a new tag name and selecting “Create New Tag…”. Within the prompt which is presented, type in the name for the new tag, select “Alias” within the Type dropdown menu & select or type the name of the tag which your new tag should alias.

RSLogix 5000 Tag Structure - Creating Alias Tags for PLC Input Output Modules Point IO Studio 5000 Creation Software

The alias will work as a pointer. Wherever you use an alias tag, the base will be modified.

Note that you may alias multiple tag names to a single base tag. This isn’t a recommended practice as it may quickly become confusing what’s happening within the program. Create a habit of aliasing a single tag to a single base tag. This will avoid confusion within the program.

Conclusion

Alias tags have been heavily utilized within RSLogix 5000 programs due to the fact that descriptions are lost if the program needs to be uploaded. In Studio 5000 v21 and higher, most PLCs are capable of storing the comments as well as tag descriptions on the controller. This prevents the loss of tag descriptions during an upload. Although we don’t see a lot of value to alias tags when the descriptions are stored, they still play a big role in many programs found in the field.

Creating an alias tag is simple. Follow the same procedure as you would with a normal tag, but specify the type to be an “alias” and provide a base tag to reference.

Video Tutorial

Back to tutorials

Related Tutorials

Intermediate

MicroLogix 1100 RSLogix 500 External IO PLC Programming Tutorial

The MicroLogix 1100 PLC is still heavily used in the industry and is one of the most recommended PLCs for learning PLC programming. The MicroLogix 1100 PLC is compact, offers a variety of I/O configurations and is inexpensive relative to other Rockwell options. Furthermore, the MicroLogix 1100 PLC is programmable using the free version of RSLogix 500 that can be downloaded from the official Rockwell website.

By
Vladimir Romanov
Beginner

PLC Simulator - PLC Programming & Testing within a Simulated Environment

A PLC Simulator is an excellent avenue to practice PLC ladder logic programming. Although the software environment is not the perfect substitute for hands on experience on an actual PLC, the simulation delivers a very accurate representation of ladder logic execution.

By
Vladimir Romanov
Intermediate

HMI Software - Different Tools, Applications and Solutions to Meet Your Needs

HMI Software is commonly referred to as the development application that will be used to create the runtime application for an HMI terminal. It’s important to understand this distinction as we will be going over the HMI development environments used by PLC and HMI programmers to create the screens rather than the end-user applications you will see at the plant level.Numerous HMI programming software solutions are found on the market. Although they aim to achieve the same result, different packages have a distinct advantage over others in terms of price, reliability, ease-of-use and technical capability. It is therefore possible to find the right solution that will fit your specific application if you spend the time to research all options.

By
Vladimir Romanov