8/4/2024 5:15 PM | |
Joined: 6/20/2017 Last visit: 11/1/2024 Posts: 441 Rating: (40) |
The 300 series CPUs return the date and time in a BCD data structure. I would start by creating a time data structure in decimal format, perhaps compatible with IEC formats, and then do the relevant calculations. Maybe there is already something ready in the standard libraries. If there is nothing, you could check if there is some free library, for example from OSCAT. |
Gustavo Antonio Banchetti Brucatori. |
|
8/5/2024 5:57 AM | |
Joined: 7/9/2015 Last visit: 11/1/2024 Posts: 4016 Rating: (600)
|
Hi, this FAQ can help you: How can you convert a number value of the data type INT into a string in S5TIME, or into the data types BCD and REAL?Regards, Towome |
|
|
Follow us on