Function Block REPEAT_DAILY

The Function Block REPEAT_DAILY generates a daily repetition as a string for the input REPEAT at the Function Block TIMESWITCH_ADD.

Input EVERY

Defines the repetition as an integer every X-th day. If the input is not defined, the minimum 1 is assumed.

Input UNTIL

Defines the end of the repetition. Three different formats can be used:

  • No end is defined by 0, FALSE or NULL.
  • An integer can be used to define the number of repetitions.
  • A date D#2016 can be used to define an end date.

Input DIS

Disables the repetition and returns an empty string.

Output Q

Returns a string with the repetitions for the input REPEAT of the Function Block TIMESWITCH_ADD.