ADD_LTOD_LTIME

ADD_LTOD_LTIME

PROGRAM ADD_LTOD_LTIME_DEMO
 VAR
 LTIME1: LTIME;
 LTOD1,LTOD2: LTOD;
 END_VAR
 LTOD2:= ADD_LTOD_LTIME(IN1:=LTOD1, IN2:=LTIME1);
END_PROGRAM

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

InputType Description
IN1 LTOD Input value
IN2 LTIMEInput value
OutputTypeDescription
LTODOutput value

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