Ed=, Ed<>, Ed>, Ed<=, Floating-Point Data Comparisons (Double Precision); Ed<, Ed - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

6.1.4
ED=, ED<>, ED>, ED<=,Floating-point data comparisons (Double precision)
ED<, ED>=
6.1.4
ED=, ED<>, ED>, ED<=, ED<, ED>=
LD
AND
OR
,
: Data for comparison or head number of the devices where the data for comparison is stored (real number)
S1
S2
Internal Devices
Setting
Data
Bit
Word
––
S1
––
S2
Function
(1) The 64-bit floating decimal point real number from device designated by
device designated by
S2
(2) The results of the comparison operations for the individual instructions are as follows:
Instruction
Condition
Symbol in
ED=
ED<>
S1
ED>
ED<=
S1
ED<
ED>=
S1
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
The specified device value is not within the following range:
-1022
4140
|
0, 2
Specified device value
The specified device value is
indicates an instruction symbol of ED
Command
Command Command
J
R, ZR
Bit
as A normally-open contact, and performs comparison operation.
Comparison
Operation Result
=
S2
S1
S2
>
S1
S2
Continuity
S2
<
S1
S2
S2
Error details
1024
|
< 2
-
0.
ED=, ED<>, ED>, ED<=, ED<, ED>=
Basic
/ED
S1
S2
S1
S2
S1
S2
\
U
\G
Word
––
––
and 64-bit floating decimal point real number from
S1
Instruction
Condition
Symbol in
ED=
S1
ED<>
=
S2
ED>
S1
ED<=
>
S1
ED<
S1
ED>=
<
S1
Q00J/
Q00/
QnH
Q01
––
––
High
Process
Redundant
Universal
performance
/ED
/E
/E
/E
Constants
Zn
E
––
––
Comparison
Operation Result
S2
S1
S2
Non-continuity
S2
S2
S2
QnPH QnPRH
QnU
––
––
1
LCPU
2
3
4
Other
––
6
––
7
8
LCPU
177

Advertisement

Table of Contents
loading

Table of Contents