This article describes how to get the system time fro a WAGO PLC (in my sample I used the 750-881 module) using Codesys 2.3 and SysLibRTC or SysLibTime libraries.


(note that Wago 750-881 PLC has an internal RTC module with a 6 day life without power supply)

750 881 IneternalRTC


SysLibRTC.lib  --> it permits to read the Real Time Clock from PLC


    1. I'll use "SysRtCGetTime"

SysLibTime.lib --> read the System Time



 This is the PLC_PRG code:


This is the result: