Trend configuration and setting for Siemens HMI using Siemens TIA portal wincc

Published on Dec10, 2024 | Category: wincc tia
Share this article:

trend in industrial application describe the changes in a variable with time. siemens wincc flexible is used for design graphical user interface with multiple graphical tools like button, numerical input, label, slider, alarm, trend etc. Trend is used in industrial control system to know variation of variable values over time. you can use real time and historical trend to shows variation of value over time. real time trend shows variable variation on present time and historical trend shows values past time. you can also take backup of these trend. if the value of variable is increasing it is called upward trend, if the value is decreasing it is called downward trend. in wincc flexible trend is very easy to configure. in this article we see how to configure trend for Siemens HMI.

types of trend view in wincc tia portal

trend view is used To display tag values graphically over time and value axis or x and y axis. trend view are used when they are inserted in screen from control. wincc have following two types of trend view in Runtime

img/siemens wincc trend/types of trend view in wincc tia portal.webp

add tag and component for trend

trend view configured for tags so first make a tag to add tag goto tag table and add two tag (tag1 and tag2) and both are numerical data type(INT). these tags we used in this article for trend visually representation. next add two slider to change value of tag1 and tag2 and assign both slider tag as tag1 and tag2. slider is not directly available in some basic panel in this article use HMI runtime.

img/siemens wincc trend/add tag and component for trend.webp

insert trend view on screen of Siemens hmi

f(x) trend view make trend of tag over x and y axis. to add f(x) trend view in hmi goto toolbox and than controls and select f(x) trend view and than insert it into screen. select f(t) trend view for time axis trend from component

img/siemens wincc trend/insert trend view on screen of Siemens hmi.webp

configuration of value axis trend view (f(x) trend view) for Siemens hmi

after inserting f(x) trend view change some property from property tab of tab view. you can change X axis, y axis, background color, font color axis color, set tag for trend etc. to configuration value axis trend make following changes in property tab

above is the important property setting for value axis trend you can make change as per your requrment

img/siemens wincc trend/configuration of value axis trend view (f(x) trend view) for Siemens hmi.webp

configure time axis trend view in wincc hmi

time axis trend view plot a graph over time axis and value axis. it is very useful to check variation of trend over time. f(t) trend view is a time axis trend, to insert trend on screen goto toolbox and select f(t) trend view and insert it on screen. after inserting make following changes in property

img/siemens wincc trend/configure time axis trend view in wincc hmi.webp

test trend view in wincc simulation

simulation help to test your program without downloading program to real hmi. for simulation first build compile your project from menu if any error occurred than remove error if zero error comes than start simulation of trend. this program make a two trend first time axis trend and value axis trend. so when slider 1 and slider 2 value changes same changed display on trend view. in time axis trend view trend is developed over time and in value axis trend over values of x axis and y axis.