Show the runningtime (ET value) of a TON functionblock in a linear gauge in WebHmi

I want to add data from a TON functionblock in in a linear gauge running from 0s to 20s. The TON function has the “ET” output and I have named that “counter_second” Format “TIME”. When I put the variable in my “linear Gauge” in the WebHMI I got this errormessage: “Building HMI page ‘Styring1’: Date and time data si not supported in HMI other than in text dynamics for read-only display; text display; in this case, expressions must be simple variable references.” How can i correct it so I can see the time that the TON function is running in a graphical linear gauge?

Hi ,

i had the same need to my project, i must used this quick and dirty solution. The time in TIME type i split into DAY, HOUR, MINUTE, SECOND and MILISECOND(and some stupid dummy bool output). Then i concat value of SECOND and MILISECOND in temp variable to visualize. regards