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.
Input | Type | Description |
---|---|---|
IN1 | LTOD | Input value |
IN2 | LTIME | Input value |
Output | Type | Description |
---|---|---|
=> | LTOD | Output value |