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

Real time clock??

tomoklc
2013-01-15
2013-01-15
  • tomoklc

    tomoklc - 2013-01-15

    Hi,

    I work with Wago PLC in, and I have problem with codesys.
    How I can read in ladder real time(any block,library)??

    Thanks!

     
  • shooter

    shooter - 2013-01-15

    TIME()

    it is the time passed since the system started
    answer is in 2.3 as wago has no V3 units yet.
    some wago do have RTC

    also have a look at the oscat library

     
  • timvh

    timvh - 2013-01-15

    Wago has the Speedway PLC which can be programmed with V3, but probably you have another type which can be programmed with V2.3. In that case add the library SysLibRtc.lib to you project.
    In this library is the function to get the real time clock information from the PLC: SysRtcGetTime

     

Log in to post a comment.