EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Floating-Point Data Comparisons (Single Precision)

Mitsubishi Electric MELSEC-Q/L
1084 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...
6 BASIC INSTRUCTIONS
6.1 Comparison Operation Instructions
191
6
Floating-point data comparisons (single precision)
LDE, ANDE, ORE
*1 Applicable for the Universal model QCPU, LCPU.
Processing details
The 32-bit floating decimal point data from device designated by (S1) and 32-bit floating decimal point data from device
designated by (S2) as a normally-open contact, and performs comparison operation.
The results of the comparison operations for the individual instructions are as follows:
Note that use of the E= instruction can on occasion result in situations where errors cause the two values not
to be equal.
When an input value is set using a programming tool, a rounding error may occur. For precautions, refer to Page 89
Precautions.
Basic model QCPU: The serial number (first five digits) is "04122" or later.
(S1), (S2): Data for comparison or head number of the devices where the data for comparison is stored (real number)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
E
Others
Bit Word Bit Word
(S1)  
*1

(S2)  
*1

Instruction symbol Condition Comparison
operation result
Instruction symbol Condition Comparison
operation result
E= (S1)=(S2) Continuity E= (S1)(S2) Non-continuity
E<> (S1)(S2) E<> (S1)=(S2)
E> (S1)>(S2) E> (S1)(S2)
E<= (S1)(S2) E<= (S1)>(S2)
E< (S1)<(S2) E< (S1)(S2)
E>= (S1)(S2) E>= (S1)<(S2)
Basic
Process
High
performance
Redundant
Universal
LCPU
Ver.
LD
AND
OR
S1
S2
S1
S2
S1
S2
EE EE E E
/////
Command
Command Command
indicates an instruction symbol of .
EMOV E1.23
D0
E D0
M0D2
X0
D0E4.56
D2
D2 E4.56
D2
E*
E/
Two values may not be equal.
Example

Table of Contents

Related product manuals