EasyManua.ls Logo

Mitsubishi MELSEC Q Series

Mitsubishi MELSEC Q Series
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.3 Standard Arithmetic Functions
5.3.4 Division
5-131
5
APPLICATION
FUNCTIONS
DIV(_E)
DIV(_E)
5.3.4 Division
DIV(_E)
Function
Operation processing
(1) Performs division ( ÷ ) on word (signed), double word (signed), single-precision real or
double-precision real type data input to and , and outputs the quotient of the operation
result from in the same data type as that of .
(Example) Word (signed) type data
(2) The values to be input to and are 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(_E)
_E: With EN/ENO
indicates any of the following
functions.
DIV DIV_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s1:
Input :ANY_NUM
s2:
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :ANY_NUM
Universal
UD
High
Performance
DIV_E
(EN, s1, s2, d);ENO:=
Structured ladder
ST
DIV_E
EN ENO
s1 d
s2
s1
s2
s1
s2
d
s
5 2 2
No output
1
(Quotient)
(Remainder)
s1(word (signed) type) s2(word (signed) type) Word (signed) type
s1
s2
s2

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals