Division - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
Hide thumbs Also See for Melsec-Q Series:
Table of Contents

Advertisement

5.3.4

Division

DIV(_E)
Structured ladder
DIV_E
EN
ENO
s1
d
s2
Input argument,
EN:
Executing condition (TRUE: Execution, FALSE: Stop)
s1:
Input
s2:
Output argument,
ENO:
Output status (TRUE: Normal, FALSE: Error)
d:
Output
Function
Operation processing
(1) Performs division (
double-precision real type data input to
result from
(Example) Word (signed) type data
5
s1(word (signed) type)
(2) The values to be input to
precision real or double-precision real type data.
(The value to be input to
ST
ENO:=
(EN, s1, s2, d);
DIV_E
÷
) on word (signed), double word (signed), single-precision real or
s1
s2
in the same data type as that of
d
2
s2(word (signed) type)
and
are word (signed), double word (signed), single-
s1
s2
must be other than 0.)
s2
_E: With EN/ENO
indicates any of the following
functions.
DIV
:Bit
:ANY_NUM
:Bit
:ANY_NUM
and
, and outputs the quotient of the operation
s1
s2
.
s
(Quotient)
(Remainder)
2
Word (signed) type
No output
5.3 Standard Arithmetic Functions
5.3.4 Division
DIV(_E)
DIV(_E)
High
Performance
Universal
UD
DIV_E
1
5-131
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents