CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Can't find SysRtcGetTime library
https://forum.codesys.com/viewtopic.php?f=2&t=8792
Page 1 of 1

Author:  eamonn [ Sat Apr 21, 2018 6:42 pm ]
Post subject:  Can't find SysRtcGetTime library

Hi,

I am trying to keep a log of the time a users login on a visulisation by using an array and a combo box array.
I can't get the current date and time. it's always 1970.
I've seen people suggest SysRtcGetTime but I don't have it and I can't figure out where to download it.

So where can I download it or is there another way in ST to get the current time?


thanks

Author:  eamonn [ Sun Apr 22, 2018 12:33 am ]
Post subject:  Re: Can't find SysRtcGetTime library

Never mind.
I used a RTC.GetDateAndTime block to solve my issue.
I figured out how to add libraries.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/