4/28/2025 5:53 PM | |
Joined: 8/3/2024 Last visit: 5/1/2025 Posts: 5 Rating:
|
Hello I need to monitoring a timer value on Hmi panel in minutes and seconds icant |
4/28/2025 6:05 PM | |
Joined: 12/18/2014 Last visit: 9/2/2025 Posts: 35914 Rating:
|
And which PLC and software? |
4/28/2025 7:17 PM | |
Joined: 8/3/2024 Last visit: 5/1/2025 Posts: 5 Rating:
|
Siemens 1200 program tia portal15.1 |
4/28/2025 7:34 PM | |
Joined: 3/30/2020 Last visit: 9/2/2025 Posts: 5416 Rating:
|
Consider having the HMI send the information to the PLC and have the PLC convert to the TIME datatype. This assumes you intend to use an IEC-Timer. There is an FAQ that may be helpful for your case. Say more about your application if this is not the solution you seek. |
Last edited by: qwazee at: 04/28/2025 19:36:41Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to
1 thankful Users |
4/29/2025 7:11 AM | |
Joined: 3/30/2020 Last visit: 9/2/2025 Posts: 5416 Rating:
|
The example I have given you is enough to make your own code. Here is another example: How, in WinCC (TIA Portal), do you specify the duration for a timer via an operator panel, and how do you output the remaining time? ~ Keep in mind that the TIME datatype is in actual fact a DINT in disguise. TIME is a 32-bit signed number that represents time measured in milliseconds. You can convert TIME to DINT to make calculations. Keep focus on using whole number (integer) division which may look like:
|
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
4/29/2025 9:54 AM | |
Joined: 8/3/2024 Last visit: 5/1/2025 Posts: 5 Rating:
|
I try it thank you |
This contribution was helpful to
1 thankful Users |
Follow us on