Time switch based on the S7-300/400 CPUs with simple HMI system
including radio-controlled clock connection
Rev. B - final 19.07.2002 75/84
Copyright © Siemens AG 2005 All rights reserved
BID21669756_Zeitschaltuhr_einfach_DOKU_v20_e.doc
Table 7-5 Configuration summer/winter time changeover (radio-controlled)
Code Remarks
NETWORK 9:
CALL "DCF77_FB" , "DCF77_IDB"
SekTakt :=SecClockDCF
Data :=DataDCF
SekCPU :=1HzPulse
DCF77 :="DCF77_Timer"
Zeitzone :="TimeZone"
Umsch_Zeitzone:="SwitchTimeZoneIn1Hour"
Min_Puls :="Min_Pulse"
Fehler :="ErrorDCF77"
Input „second clock pulse“ of DCF module
Input “data” of DCF module
Clock memory byte in the CPU
Timing element for DCF77 evaluation
1=summertime 0=wintertime
1= in 1h switch from summer to wintertime
or from winter to summertime
with this pulse a new minute begins and the
clock is being set
1= for longer than 3 minutes no valid
telegram has been received
7.3.2 Holidays/special days
The block FC 100 checks in a loop whether a date in the DB with the
holidays and special days is identical with the current date.