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

Real time clock??
https://forum.codesys.com/viewtopic.php?f=11&t=5172
Page 1 of 1

Author:  tomoklc [ Tue Jan 15, 2013 1:09 pm ]
Post subject:  Real time clock??

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!

Author:  shooter [ Tue Jan 15, 2013 7:03 pm ]
Post subject:  Re: Real time clock??

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

Author:  TimvH [ Tue Jan 15, 2013 8:53 pm ]
Post subject:  Re: Real time clock??

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

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