Subtraction of duration from time
![](files/Common/function%20blocks/Funktionsbausteine%20DE/Arithmektik%20%28Zeit%29/SubtraktionDauer%20von%20Tageszeit_FB.png)
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 |