Block that implements functionality 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]
In this test there is a input time and a conversion block. Inside the TimeProgramEnergyMode some energy modes defined for special times via schedules. The expected energy modes from the schedules had been compared to the generated output.