Wago PFC RTC clock

Hi, everyone.

I’m trying to setup the possibility of remote time synchronization of the clock on the Wago controllers.

Everything works fine with UTC time. But I can’t seem to be able to update the timezone and consequently the local time.

I used the function ‘WagoAppTime.FuSetClockFromDateAndTime()’ For setting the UTC time, and it works perfectly.

I used the function 'WagoAppTime.FuSetClockFromTimeComponents(); for trying to set the timezone.

We deliver controllers to countries with different timezones, and I would like to be able to set the local time correctly without accessing the WBM.

I appreciate all feedbacks! :slight_smile:

Hello
For the timezone please try this function block:
WagoAppTime.FbTimeZoneSetter_cpt(oStatus=>, xExecute:=, xError=>, xDone=>, xBusy=>, sDataBaseKey:=);

In this manual: WAGO | 12464650
You will have more information about the sDataBaseKey (TZ-String).

Last time I have done something like this I had better chance using ‘GMT+1’ or ‘UTC+1’ instead of the TZ name.
(sorry I can’t find the test program i’ve done years ago …)

Here is an example project that may help:

2 Likes