![Moeller S40-AM-TD Manual Download Page 63](http://html1.mh-extra.com/html/moeller/s40-am-td/s40-am-td_manual_1819281063.webp)
Function Blocks
60
02/02 AWB27-1300-GB
Figure 13: “lock_time” = 0: Synchronisation to PLC clock station B
Service 21: Synchronising the PLC clock – partner
station
Station A time data is increased by the “time_adjust” value
(of station B) and the clock data of station B are then
overwritten. If the “lock_time” function block input of
station B becomes active, no clock time synchronisation
takes place and 42H message code is indicated.
Figure 14: Service 21: Synchronisation of PLC clock station B
Date and time
Station A
Station B
RAM memory
RAM memory
Date and time
lock_time:=0
rec_clock
time_adjust
Station A
Year
Month
Day
Weekday
Hour
Minute
Second
Year
Month
Day
Weekday
Hour
Minute
Second
time_adjust:=
Station B
Year
Month
Day
Weekday
Hour
Minute
Second
Year
Month
Day
Weekday
Hour
Minute
Second
Date and time
Station A
Station B
RAM memory
RAM memory
Date and time
Summary of Contents for S40-AM-TD
Page 7: ...4 02 02 AWB27 1300 GB ...
Page 11: ...8 02 02 AWB27 1300 GB ...
Page 27: ...24 02 02 AWB27 1300 GB ...
Page 77: ...74 02 02 AWB27 1300 GB ...