Function Block TPULSE

The Function Block TPULSE generates a daily pulse when the time PT has been exceeded.

Note: The times of the Function Block are absolute. This means that after a server restart or failure, the same reaction occurs.

Input DIS

The input resets the internal marker and deactivates the output Q as long as DIS is true. As soon as DIS becomes false again and the date PT has already been exceeded, a pulse is triggered again.

Input PT

When the input is changed, the internal marker is reset and the pulse is triggered again after the time has elapsed. The input supports times from T#0s to T#23h59s.

Input DAYS

The input can be used to define the days of the week. These can be passed as a string or as a number. It is checked whether the current day of the week is present in the number. Multiple days can be specified one after the other. For example, 135 for Monday, Wednesday and Friday. If no value is specified (0, NULL, FALSE or an empty string), a pulse is output every day.

Value Day Of The Week
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
7 Sunday

Output Q

The output provides a pulse for one cycle if the current time exceeds the value of PT.