Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 707

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
Processing details
• These instructions perform a comparison operation between the single-precision real number in the device specified by
(s1) and the single-precision real number in the device specified by (s2). (Devices are used as a normally open contact.)
• The following table lists the comparison operation results of each instruction.
Instruction symbol (ladder, FBD/LD)
E=, EQ
E<>, NE
E>, GT
E<=, LE
E<, LT
E>=, GE
E=, EQ
E<>, NE
E>, GT
E<=, LE
E<, LT
E>=, GE
• If the data in the device specified by (s1) or (s2) is out of the range of setting data, the operation result will be non-continuity
(ENO OFF).
• If the LDE_ instruction is used in the program written in FBD/LD, use a left rail or a variable/constant which is always on
for EN.
• If the ORE_ instruction is used in the program written in FBD/LD and EN is set to TRUE, ENO turns on. EN will not be an
execution condition.
• When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
Operation error
There is no operation error.
Note that two values may not be equal due to an error when the E= instruction is used.
X0
(1) Two values may not be equal.
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
Condition
(s1)=(s2)
(s1)(s2)
(s1)>(s2)
(s1)(s2)
(s1)<(s2)
(s1)(s2)
(s1)(s2)
(s1)=(s2)
(s1)(s2)
(s1)>(s2)
(s1)(s2)
(s1)<(s2)
E*
E/
E=
D0
D2
(1)
Double word Indirect
specification
Z
LT, LST,
LZ
LC
Result
Continuity state (ENO is on.)
Non-continuity state (ENO is off.)
EMOV
E1.23
D0
D0
E4.56
D2
D2
E4.56
D2
M0
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
Constant
Others
K, H E
$
7
705

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents