SUB_DT_DT
PROGRAM SUB_DT_DT_DEMO VAR DT1,DT2: DT; TIME1: TIME; END_VAR TIME1:= SUB_DT_DT(IN1:=DT1, IN2:=DT2); END_PROGRAM
Subtracts the input variables, OUT = IN1 - IN2.
Input | Type | Description |
IN1 | DT | Input value |
IN2 | DT | Input value |
Output | Type | Description |
⇒ | TIME | Output value |