ADD_TOD_TIME

ADD_TOD_TIME

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

Returns the sum of the input values (dates). Used to add relative time to time of day.

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

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