12/2/2013 8:57 AM | |
Joined: 1/28/2009 Last visit: 9/10/2024 Posts: 6849 Rating: (1365) |
Hello, One possible approach is to convert the value stored in MD0 to a TIME equivalent variable.To do so, you can use "MD0 *60.0*60.0*1000.0" and the outcome would be the number of milliseconds in the floating point format.Simple successive conversions will get the TIME data type.There is a function to get the number of milliseconds and return the components: How do you convert an available millisecond value into days, hours, minutes and seconds in STEP 7 (TIA Portal)?
Best regards, Hamid Hosseini |
This contribution was helpful to5 thankful Users |
3/9/2021 2:08 AM | |
Joined: 8/18/2020 Last visit: 4/9/2024 Posts: 9 Rating: (1) |
|
3/9/2021 8:34 AM | |
Joined: 9/21/2012 Last visit: 9/10/2024 Posts: 4131 Rating: (463) |
If you click on the link above, you will find it... |
Follow us on