Division - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Division

DIV_E
High
Basic
Process
performance
Structured ladder/FBD
DIV_E
EN
ENO
s1
s2
The following function(s) can go in the dotted squares.
DIV_E
■Argument
Input/output
argument
Input argument
Output argument
Processing details
■Operation processing
• Performs division ((s1)  (s2)) on word (signed), double word (signed), single-precision real or double-precision real type
data input to (s1) and (s2), and outputs the quotient of the operation result from (d) in the same data type as that of (s1) and
(s2).
Ex.
Word (signed) type data
s1
5
Word (signed) type
• The values to be input to (s1) and (s2) are word (signed), double word (signed), single-precision real or double-precision
real type data. (The value to be input to (s2) must be other than 0.)
• Rounding error may occur when specifying single-precision real or double-precision real type data to (s1), (s2) by
programming tool.
For precautions when setting an input value using a programming tool, refer to the following.
 MELSEC-Q/L/F Structured Programming Manual (Fundamentals)
5 APPLICATION FUNCTIONS
132
5.3 Standard Arithmetic Functions
Redundant Universal
LCPU
ST
ENO:=
DIV_E
d
Name
Description
EN
Executing condition (TRUE: Execution, FALSE:
Stop)
s1(_IN1)
Input
s2(_IN2)
ENO
Execution result (TRUE: Normal, FALSE: Error)
d
Output
s2
2
Word (signed) type
(EN, s1, s2, d);
d
(Quotient)
(Remainder)
2
1
Word (signed) type
No output
Data type
Bit
ANY_NUM
Bit
ANY_NUM

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents