Documentation

ADD_LTOD_LTIME

Function name

ADD_LTOD_LTIME

ST call

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

Description

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

Inputs

Input Type Description
IN1 LTOD Input value
IN2 LTIME Input value

Outputs

Output Type Description
=> LTOD Output value

Application example