I’m experiencing an issue with my new PFC200 PLC. I’m trying to use SysTimeRtcGet and FuGetSystemTime, but neither of them returns any result - i get only (1970-1-1…). The only function that seems to work is SysTimeRtcHighResGet(and this one gives the correct time), which I then process using SplitDateTime.
I originally wanted to use OSCAT functions like TimeCheck, but I can’t seem to retrieve a TOD# value. It appears that I can’t access the RTC from my PLC at all.
I couldn’t find an answer in existing topics, so I’m posting here in hopes someone can help. Thanks in advance!
I did not see problems, everything works.
I do not quite understand your task. If you need time in your temporary zone, you can use:
sysstd_01: date_and_time;
Sysstd_01: = WagoApptime.fugetlocalDateandtime ();
Create an empty project and try these functions in an empty project.