Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Set the PLC clock of raspberry

FabioPD
2020-02-03
2020-02-05
  • FabioPD - 2020-02-03

    Hello Is possible to set the clock (hours) from a web visualization?
    Are there some functions to do that or is possible only to read the RTC?

    Thanks

     
  • RoryLDM - 2020-02-05

    Look at the Time and Date library. The SetDateAndTime function block, the GetDateAndTime, and SetTimeZoneInformation, and GetTimeZoneInformation function blocks specifically. I have not tried these on the Rasberry Pi.

     

Log in to post a comment.