Setting the RTC clock

2023-03-28
2023-03-30
  • michaels842 - 2023-03-28

    Is there a way to set the RTC clock in the program?

    Currently my only way to change the RTC clock is through the Device's PLC shell command.

    I've tried calling SysTimeRtcSet() and pass in the EPOC value but it doesn't change the RTC clock.

    I don't know if some other library exists that makes this easier if it's possible.
    Appreciate any help.

     
  • snhatton - 2023-03-29

    Which PLC are you using? Some vendors manage their own RTC and have specific ways of setting the clock.

     
    • michaels842 - 2023-03-30

      Ok yeah thanks. That makes sense now, being that some things are vendor specific.

       

Log in to post a comment.