5.8 Functions of Time Data Type
5.8.4 Division
5-181
5
APPLICATION
FUNCTIONS
DIV_TIME(_E)
DIV_TIME(_E)
5.8.4 Division
DIV_TIME(_E)
Function
Operation processing
(1) Performs division ( ÷ ) on time type data input to and , and outputs the quotient of
the operation result from in time type.
(2) The value to be input to is time type data.
The value to be input to is word (signed), double word (signed), single-precision real or
double-precision real type data.
(The value to be input to must be other than 0.)
DIV_TIME(_E)
_E: With EN/ENO
indicates any of the following
functions.
DIV_TIME DIV_TIME_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s1:
Input :Time
s2:
Input :ANY_NUM
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:=
DIV_TIME_E
DIV_TIME_E
s1
s2
s1
s2
d
s1
s2
s2