SUB_DT_TIME

SUB_DT_TIME

PROGRAM SUB_DT_TIME_DEMO
   VAR
     DT1,DT2: DT;
        TIME1: TIME;
    END_VAR
 DT2:= SUB_DT_TIME(IN1:=DT1, IN2:=TIME1);
END_PROGRAM

Subtracts the input variables, OUT = IN1 - IN2. IN1 is DATETIME, IN2 is TIME.

InputTypeDescription
IN1 DT Input value
IN2 TIMEInput value
OutputTypeDescription
DT Output value

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