3.8333333333333 1 1 1 1 1 1 1 1 1 1 Rating 3.83 (6 Votes)

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

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.

clock

(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

SysLibRtc

    1. I'll use "SysRtCGetTime"

SysLibTime.lib --> read the System Time

 SysLibTime

 

 This is the PLC_PRG code:

 Code

This is the result: