5-172
5.8 Functions of Time Data Type
5.8.1 Addition
ADD_TIME(_E)
5.8 Functions of Time Data Type
5.8.1 Addition
ADD_TIME(_E)
Function
Operation processing
(1) Performs addition ( + ) on time type data input to and , and outputs the operation
result from in time type.
(2) After data conversion, high-order 16 bits are filled with 0.
ADD_TIME(_E)
_E: With EN/ENO
indicates any of the following
functions.
ADD_TIME ADD_TIME_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s1:
Input :Time
s2:
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Time
Universal
UD
High
Performance
Structured ladder
EN ENO
ds1
s2
ST
(EN, s1, s2, d);ENO:=
ADD_TIME_E
ADD_TIME_E
s1
s2
s1
s2
d