LD Source_Value
ADD_TOD_PL7 Time_to_Add
ST Result_Value
Result_Value := ADD_TOD_PL7(Source_Value, Time_to_Add);
Parameter
|
Type
|
Comment
|
---|---|---|
Source_Value
|
DINT,
ARRAY [0..3] OF INT
|
Date or time.
Table of 4 integers.
|
Time_to_Add
|
Period to be added to Source_Value
Note : this time is expressed in the TIME format of PL7 and this with an accuracy of the order of one tenth of a second. As Source_Value is expressed to the nearest second, Time_to_Add is rounded to the nearest second.
|
Parameter
|
Type
|
Comment
|
---|---|---|
Result_Value
|
DINT,
ARRAY [0..3] OF INT
|
Result_Value is of the same type as Source_Value.
Table of 4 integers.
|