6.1 Comparison Operation Instructions
6.1.4 Floating-point data comparison (double precision)
6-11
6
BA
S
IC
INSTRUCTIONS
ED=,
E
D
<>,
ED<=,
ED
<
,
ED>=,
ED
>
ED=,
ED<>,
ED<=,
ED<,
ED>=,
ED>
6.1.4
Floating-point data comparison (double precision)
ED=,
ED<>,
ED<=,
ED<,
ED>=,
ED>
F
unct
i
on
(1) Treats the 64-bit floating-point real number specified for
and the 64-bit floating-point real
number specified for
as a normally open contact, and performs comparison operation.
(2) The results of the comparison operations for each instruction are as follows.
LD
(ED=)
AND
(ED<>)
OR
(ED<=)
(ED<)
(ED>=)
(ED>)
ED=
ED<>
ED<=
ED<
ED>=
ED>
: =
:
:
:
:
:
indicates any of the following
instructions.
LDED=
ANDED=
ORED=
LDED<> ANDED<>
ORED<>
LDED<= ANDED<=
ORED<=
LDED<
ANDED<
ORED<
LDED>=
ANDED>=
ORED>=
LDED>
ANDED>
ORED>
Input argument,
EN:
Executing condition
: Bit
s1, s2:
Comparison data
: Double-precision real
Output argument,
ENO:
Execution result
: Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
E
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
Instruction
symbol in
Condition
Comparison result
Instruction
symbol in
Condition
Comparison result
ED=
=
Conduction state
ED=
Non-conduction
state
ED<>
ED<>
=
ED<=
ED<=
>
ED<
<
ED<
ED>=
ED>=
<
ED>
>
ED>
U
n
i
versa
l
UD
Hi
g
h
Per
f
ormance
Structured ladder
ST
LD$=
EN
ENO
s
1
s
2
Not su
pp
orted
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......