Time switch based on the S7-300/400 CPUs with simple HMI system
including radio-controlled clock connection
Rev. B - final 19.07.2002 32/84
Copyright © Siemens AG 2005 All rights reserved
BID21669756_Zeitschaltuhr_einfach_DOKU_v20_e.doc
Fig 4-4 Configuration “one-day time switch”
Basic data/parameterizability:
RAM requirements:
day: 760 bytes
Instance DB: 52 bytes
The parameter “Time_To_Check“ is a structure of the “day_udt“ (UDT1)
type. It contains:
• Start hour, start minute, start second summarized as “starttime” with
structure of the “times” (UDT6) type
• End hour, end minute, end second summarized as “endtime” with
structure of the “times” (UDT6) type
4.3.3 Seven-day time switch
The block for the seven-day time switch “week” FB121 is parameterized as
illustrated in the figure below. Data block DB121 is used as instance data
block:
Fig 4-5 Configuration “seven-day time switch”