Subtraction of duration from time

This function block subtracts a duration from a time value of the data type time of day. The output is a time value of the data type time of day.

If the operation falls below the value 00:00:00 hours the calculation is continued with 23:59:59 hours.

Signals

Name I/O Type(s) Function
IN1 I TOD Time of day
IN2 I TIME Duration
OUT O TOD Calculated time of day