SUB_DT_DT

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.

InputTypeDescription
IN1 DT Input value
IN2 DT Input value
OutputTypeDescription
TIMEOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024