Back to tutorials
HMI Development

HMI / PLC Fundamentals - Linking Studio 5000 Tags to a PanelView Plus 1000 HMI Terminal Tutorial

By
Vladimir Romanov
Table of Contents

Introduction

Today, we will be covering the process of establishing a link between a PLC running v30.11 firmware and a PanelView Plus 1000 HMI Terminal running v5.10 firmware. This is a very important process in creating an HMI application and allowing the engineer to control PLC based tags from the HMI terminal.

The tutorial is broken down in several sections, but we will be going back and forth between the Studio 5000 and FactoryTalk View Studio ME interfaces as we move forward.

At the end of this tutorial, you should have a connection between the two software packages mentioned above and as they are downloaded to their respective hardware, a connection will be established and the user may use the HMI to control a process established by the PLC.

FactortTalk View Studio ME – Communication Setup

At the start of every FactoryTalk View Studio application, we need to specify the link which specifies the IP address of the PLC to which we will be talking. This configuration can be found through FactoryTalk Linx within the “Explorer” window in a new or existing application.

Note: FactoryTalk View Studio will configure FactoryTalk Linx which will be running on the terminal. This instance of Linx is separate from the RSLinx running on your personal computer. Do not confuse the two.

FactoryTalk View Studio Linx Setup

Within the Communication Setup, you will need to add your PLC to the communications tree and specify a name which will be used for tags.

  1. Verify that your PLC is displayed under a communications driver. If that’s the case, you can select it.
  2. If the PLC is not listed, you will need to right-click the appropriate driver and create a new PLC instance based on what you’re working with. In the example we’re working with today, a 1769-L24ER-QB1B CompactLogix PLC is used.
  3. Once you can locate the PLC in the tree, highlight it.
  4. Within the “Device Shortcuts” window, click on “Add”.
  5. Give your PLC a short name. In the example we’re working with, the name given to the PLC is “TestPLC”.
  6. Click on “Apply”.
  7. Click on “Copy from Design to Runtime”.
FactoryTalk View Studio 5000 Linx PLC Configuration Tags Communication

Note 1: For a CompactLogix PLC you should select the top level PLC instead of the drilled down version through the backplane. For a ControlLogix PLC, the opposite should be selected. Drill down through the backplane and select the PLC unit.

Note 2: The “Copy from Design to Runtime” button applies the same settings to the “Runtime” tab. This feature is used when the test PLC is located on a different network than it will be in the production environment. In most cases, the networks will be the same.

Studio 5000 – Creating PLC to HMI Tag Structures

On the PLC side, we will be using Studio 5000, as previously mentioned, to create our program. We need to have a tag structure before we start linking from the HMI. It’s possible to pre-link the tags prior to having the program, but you won’t be able to link them through the “online” feature in FactoryTalk View Studio.

The tag structure shown in the example is straightforward; it’s an array of booleans and is labeled as HMI_BOOL[0]… The HMI application will toggle these bits and read some of them back for display purposes.

Studio 5000 PLC Tags to HMI Link Communication Tutorial

FTView Studio ME – Adding the Tag to the Momentary Push Button

Now that we have created our tags, we need to populate them within a push button Connection window. Here’s the procedure to do just that:

  1. Create a new push button object (or anything else you’d like to link).
  2. Launch the “Properties” menu of the object.
  3. Navigate to the “Connections” tab.
  4. Click on the “…” under the Tag column for the “Value” modifier.
FTView Studio ME Tag Configuration Example Value Push Button Properties

At this point, you should have a “Tag Browser” window appear on your screen. This window allows one to select the appropriate tag for the Value property as well as many others for the objects within FactoryTalk View Studio. The “Tag Browser” can also be found on the left-hand side Explorer window without being linked to any specific tag.

At the top level, you should notice the HMI. Right-clicking the object and selecting “Refresh All Folders” should display a section labeled as the name of the PLC. Expanding this section will reveal another folder labeled “online”. Within this folder, one should be able to find the appropriate tags we had previously configured.

  1. Navigate to the proper tag.
  2. Verify that the string within the “Selected Tag” is what you’d expect.
  3. Click on “Apply”
FactoryTalk View Studio Tag Browser Selectrion tutorial

Note 1: If you don’t see the “online” folder, you may have a problem with your communication setup. Make sure that the PLC, as well as the computer, are on the same network, all the network cables are working, etc.

FTView Studio ME – Reading REAL Data from the PLC

Sending data from the PLC to the HMI requires the same setup as the above. The only difference is that we’re using an output object, numeric display, as the target.

Add a new object to the screen and follow the same procedure as we did before to set up the tag links.

Numeric Display FactoryTalk View Studio Tag Browser Tutorial

Conclusion

Knowing how to establish communications over EtherNet from your PLC to the HMI is critical. The method outlined above is used in plants all over the world to send data in a reliable fashion for operator controls. Once learned, the same procedure can be reapplied to all the subsequent PanelView monitors you’re working with.

Video Tutorial

Back to tutorials

Related Tutorials

Advanced

PowerFlex 525 Parameter, Input and Output Programming Tutorial in RSLogix Studio 5000

The PowerFlex 525 series of Variable Frequency Drives from Allen Bradley is highly utilized and respected within the automation field. The drives are compact, versatile and easy to use. We’ve written an extensive tutorial on how to get started with these drives in a previous tutorial; it covers how to initialize the drive, connect it to an EtherNet/IP based PLC and how to set the right parameters. In this tutorial, we’re looking to expand on the concepts and demonstrate a way to access and utilize the multiple Input and Output options available on the drive. The reason you may want to utilize the IO is to save money on purchasing external components, integrate instrumentation into your drive and save floor space, wiring and cost. We’ve seen the need to integrate closely related sensors into a PowerFlex 525 application; this would be the right way to do it.

By
Vladimir Romanov
Advanced

Publishing MQTT Data Using Opto 22 groov EPIC PAC

MQTT is a communication protocol that has taken off in the IIoT community. It’s a light-weight, efficient protocol that works through a publisher / broker / subscriber model. It creates an easy way for field devices to communicate and retrieve data from a single location. In this article, we’ll go over MQTT and dive into an example of how you can publish data using a groov EPIC PAC and retrieve the data using a MQTT client.

By
Vladimir Romanov
Intermediate

HMI Design - Best Practices for Effective HMI Screens

HMI Design is the practice of building HMI screens that are intuitive to the end user, pleasing to the eye and are efficient to operate. As control systems within manufacturing are migrated from traditional push button designs to primarily operated from HMI displays, HMI Design has become trivial to any new installation.Although there is a wide range of HMI based systems, the basic principles of good design remain the same. Different industries may dictate different patterns of layout for their systems, but the good practices remain.

By
Vladimir Romanov