papouchka Posted October 31, 2022 Report Share Posted October 31, 2022 Hello, I just realized that the RTC time of the unistream automaton had changed with the time change. I am surprised because the FAQ from PL-System, the French distributor of Unitronics, says that the PLC does not change the time automatically. I don't mind but I would like to be sure because I need to display the current time to the user and keep a universal timestamp for saved data. So I'm thinking of using RTC for the user time if it changes automatically according to the season and I'll use UTC for the timestamp of my data. Do you have any info on this time change thing? Translated with www.DeepL.com/Translator (free version) Quote Link to comment Share on other sites More sharing options...
Elad S Posted November 8, 2022 Report Share Posted November 8, 2022 Unistream PLC now supports automatic time syncronization. On the PLC in System -> Date & Time you will see Auto-Sync. If it's on the PLC will sync with "http://worldtimeapi.org/api/ip" and get the full time and date inculding timezone according to your PLC IP. The sync will happen each time the panel start-up and also every 12 hours. You can also press "Sync Now" button to force sync. In UniLogic you have four system structs for time: 2 for RTC time and date(RTC Time and RTC Date) which is now the local time. 2 for UTC time and date(UTC Time and UTC Date) which will give you UTC time. 1 Quote Link to comment Share on other sites More sharing options...
papouchka Posted November 9, 2022 Author Report Share Posted November 9, 2022 Thank you very much. I knew there was a sync but I didn't think to look in the UniApps config. Have a nice day Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.