Time switch based on the S7-300/400 CPUs with simple HMI system
including radio-controlled clock connection
Rev. B - final 19.07.2002 78/84
Copyright © Siemens AG 2005 All rights reserved
BID21669756_Zeitschaltuhr_einfach_DOKU_v20_e.doc
9.2 How can I get several switch-on/off times into one time switch
block?
Table 9-2 Several switch-on/off times in one block
Step Instruction Note / Instruction
1
Create a new FB in the block container of
the SIMATIC Manager and open it.
2
Create as many input parameters of the
respective UDT as switch-on/off times
are required (e.g. 3).
Note:
On calling, link the input parameters of
the new FB with the data areas which
have the structure of the required UDT.
3
Call the FB for the respective time
function (depending on which UDT you
used) as often as a respective input
parameter has been configured in the
instruction section of the new FB.
4 Save the newly created FB.
5
Now call this FB in your user program
e.g. OB1.
7 Save
8
Choose PLC -> Download
Or download symbol