ADD_LDT_LTIME
PROGRAM ADD_LDT_LTIME_DEMO
VAR
LDT1,LDT2: LDT;
LTIME1: LTIME;
END_VAR
DT2:= ADD_LDT_LTIME(IN1:=LDT1, IN2:=LTIME1);
END_PROGRAM
Returns the sum of input values (dates). Adds date and time together.
Input | Type | Description |
---|---|---|
IN1 | LDT | Input value |
IN2 | LTIME | Input value |
Output | Type | Description |
---|---|---|
=> | LDT | Output value |