5/22/2021 1:01 PM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating: (207) |
Here is a splitter from seconds to seconds and minutes. The splitting from minutes to hours and minutes is the same. Regard, Scorp AttachmentSec to Min_Sec.zip (548 Downloads) |
5/22/2021 2:39 PM | |
Joined: 12/18/2014 Last visit: 8/7/2024 Posts: 33498 Rating: (4162)
|
You can also use my attached UDF for splitting. AttachmentTime_splitter_0BA7.zip (573 Downloads) |
5/22/2021 9:30 PM | |
Joined: 11/16/2019 Last visit: 6/27/2024 Posts: 32 Rating: (0) |
Many tnks to both of you. How do I set the timer from hmi in hours and minuttes? |
5/23/2021 5:43 AM | |
Joined: 12/18/2014 Last visit: 8/7/2024 Posts: 33498 Rating: (4162)
|
To do both, you need a total of four number fields in TIA: 1 x input / output field for setting the hours 1 x input / output field for setting the minutes 1 x output field for displaying the remaining hours 1 x output field for displaying the remaining minutes An example file and the UDF are attached.
AttachmentTime_split.zip (561 Downloads) |
5/23/2021 6:25 PM | |
Joined: 11/16/2019 Last visit: 6/27/2024 Posts: 32 Rating: (0) |
Many tnx. ✌️✌️ |
3/9/2024 10:01 AM | |
Joined: 12/18/2014 Last visit: 8/7/2024 Posts: 33498 Rating: (4162)
|
This is only possible if the maximum of the minutes is under 32768. |
Last edited by: ixo65 at: 03/09/2024 10:03:04 |
|
Follow us on