While many times underutilized in an HMI, everyone involved in a manufacturing process benefits from trended data, or at least, they would benefit if they used it.
Operators can monitor the direction of their process and better understand how things are controlling and operating, maintenance personnel can use trends to detect and troubleshoot problems and engineers can use them to tune controls and stabilize operations, just to name a few.
In today's article, I'll take a look at setting up a Trend Chart in Studio 5000 View Designer.
Adding a Trend to a View Designer Screen
In my simulation project that I have covered for several weeks, I have now added another user-defined graphic page called “TrendData” in which I will add a Trend Chart to view at runtime.
In the following screenshot, you can see the toolbox has a section called “TrendCharts” and a “Trend Chart” object that I will add to my blank screen.
Here I add the “Trend Chart” to my HMI Screen called “TrendData”
Under the Properties tab on the right side of View Designer, I set my trend background colors, widths of lines and other basic properties to get my trend chart looking the way that I wish for it to display at runtime.
Traces are what would also be called “pens” in trending terminology. They are the values that are to be trended at runtime.
On the “Traces” tab, click on the “Add Trace” button to begin adding values to the Trend Chart.
Here, I have added four traces and assigned tags from my Compact Logix Controller tags.
Normally I would download my Trend Chart additions to my PanelView 5510, but here I want to make use of a feature in View Designer – the Project Emulator.
The emulator will allow you to test your View Designer project without having to download to physical Panelview hardware. This is only a testing solution, because the maximum runtime for the emulator is two hours.
The only setup to running the emulator is found in the project properties, under the references tab. Here I set the path for my emulator to reach my controller as shown below.
Next, under “Project” select “Emulate Project” to start the Emulator.
Here my emulator is running and I view my “TrendData” screen. When I am happy with all of my changes, then I can download to my Panelview 5510.
Building trends and traces in View Designer is about as simple to figure out as any other graphical addition, but putting forth the forethought and adding the needed trends to your project can make all the difference.
Testing with the emulator is a great feature because it allows you to see your changes at runtime without having to download to your Panelview hardware each time. My best to you in trending your valuable data.
Written by Brandon Cooper
Senior Controls Engineer and Freelance Writer
- PanelView 800 – Datalogging and Trending - August 10, 2021
- PanelView 800 – Using the Recipe Feature - August 3, 2021
- SIMATIC HMI Basic Panel – Using the Recipe Feature - July 27, 2021