SUB_TOD_TOD

SUB_TOD_TOD

PROGRAM SUB_TOD_TOD_DEMO
   VAR
     TOD1,TOD2: TOD;
     TIME1: TIME;
    END_VAR
 TIME1:= SUB_TOD_TIME(IN1:=TOD1, IN2:=TOD2);
END_PROGRAM

Subtracts the input variables, OUT = IN1 - IN2.

InputTypeDescription
IN1 TOD Input value
IN2 TOD Input value
OutputTypeDescription
TIMEOutput value

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