6/30/2025 6:04 AM | |
Joined: 6/14/2023 Last visit: 9/9/2025 Posts: 7 Rating:
|
Hello all, maybe there are others like me who have faced this issue so I am making a post here. I use a S7 1214c PLC V4.6 and a Unified Basic HMI V20.0. In my program I have some timers which I show as values in IO_Field and/or graphically in a Bar Graph. The issue I have is that when I set the scale min max values to bar graph, I need to enter the time in ticks (1 tick = 100 ns) which means I need to convert my scale values to ticks (i.e. 30s = 300000000 … also seconds * 10000000). As you can see this is not conventional as I also do set some limits to the tags that control timers PT value. If I don't write them in ticks, the bad quality triangle overlays the element where this tag is used and I can't change it as im clearly over the limit. The next issue is that when I do write the scale min max in tics, no problem appears using the old editor in tia portal or when they are visible on hmi. If I use the new unified editor or open the WebServer, I do se the number of ticks at min max values. Is there any workaround to this? I would like to evaluate for whatever value the timer has, t#xxs,t#xxm, t#xxh… and not to convert everything to tics because it is not practical and each time you have to open a calculator to make sure the conversion is correct. Thank you everyone who takes the time to read this. Greetings, RH Attachmentpictures.zip (29 Downloads) |
Last edited by: rhsb at: 06/30/2025 06:07:31pictures added |
|
6/30/2025 7:09 AM | |
Joined: 1/21/2013 Last visit: 9/11/2025 Posts: 4102 Rating:
|
Hi RH, The Time data type has a granularity of 100 nanoseconds. Unfortunately, this cannot be changed, and you must enter it as an integer value. Regarding the incorrect output format, I would say this is a bug. Make sure that you have the latest SIMATIC WinCC Unified PC Runtime update installed. Also, make sure the latest image version is installed on your WinCC Unified Basic panel. If the issue persists after updating, please create a support request to inform Siemens. Kind regards |
Follow us on