Back to tutorials
Beginner

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

By
Vladimir Romanov
|
November 19, 2018
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

Got a question or comment?

Related Tutorials

Beginner

Opto 22 groov RIO Getting Started

The groov RIO module from Opto 22 has been released only a few months ago. The groov RIO is a feature packed piece of hardware that is easy to install, configure and deploy for many different field applications. The module comes pre-loaded with an array of software tools used across the industry and is ready to hit the floor running out of the box. Furthermore, the module is equipped with user configurable input and output nodes that have the capability unlike anything else on the market.

August 2, 2020
|
By
Vladimir Romanov
Beginner

Micro800 PLC Programming Getting Started

The Micro800 Control Systems by Rockwell Automation provide a cost effective solution for small to medium automation systems. The controllers within this family are typically used on stand alone machines or small process applications. The family offers five distinct controller types that are further customizable through add-on modules: Micro810, Micro820, Micro830, Micro850 and Micro870.Micro800 Programmable Logic Controllers Getting StartedUnlike the other Rockwell Automation controllers, this line of PLCs is programmed through a dedicated software: Connected Components Workbench. From within this tool, the programmer can flash the firmware, load the program and monitor the state of the controller. Furthermore, Connected Components Workbench (CCW) is often used to program other non-PLC Rockwell Automation devices such as Variable Frequency Drives (VFDs) and certain Safety Relays.

July 26, 2020
|
By
Vladimir Romanov
Beginner

An Introduction to DeviceNet Industrial Networks

In this tutorial you will learn about the DeviceNet industrial network, go over a basic offline configuration, and explore some advanced features.

July 24, 2020
|
By
Jacques Venter