Block that implements function of "Time program" from VDI 3813 [1, section 6.5.4, p. 35 - 37].
"The function Time program (RA-FL section 6, column 3; informative function block Figure 25) allows time-controlled generation of output information, thus influencing or controlling application functions or actuator functions.The time program contains the time and date functions as well as calendar entries including exception days (e. g. holidays). The respective switching operations are generated via a default week schedule and exception day schedules with switching point/value pairs. Such a time program can be implemented and maintained either directly via an interaction interface, or it is transferred by a management communication function to an operating device or external system."[1, section 6.5.4, p. 35 - 37]
The block checks execptionCalendar if there is an execption case. If true then the time/value pair from the exception schedule is chosen. If false then time/value pair from the normal weekly schedule is chosen. Note time/value pairs need to be entered following the convention {{days,hours,minutes,seconds,value}}.
Fig. 1: "Informative representation of the application function Time program", [1, section 6.5.4, Figure 25, p. 36]
|