Documentation

ADD_LDT_LTIME

Function name

ADD_LDT_LTIME

ST call

PROGRAM ADD_LDT_LTIME_DEMO
VAR
LDT1,LDT2: LDT;
LTIME1: LTIME;
END_VAR
DT2:= ADD_LDT_LTIME(IN1:=LDT1, IN2:=LTIME1);
END_PROGRAM

Description

Returns the sum of input values (dates). Adds date and time together.

Inputs

Input Type Description
IN1 LDT Input value
IN2 LTIME Input value

Outputs

Output Type Description
=> LDT Output value

Application example