
404
7 APPLICATION INSTRUCTION
7.7 Real Number Instruction
7.7
Real Number Instruction
Comparing single-precision real numbers
LDE
, ANDE
, ORE
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.)
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
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.
• When an input value is set from the engineering tool, a rounding error may occur.
Ladder diagram
Structured text
(E=, E<>, E>, E<=, E<, or E>= enters
.)
Not supported
Operand
Description
Range
Data type
Data type (label)
(s1)
Comparison data or the head device number where the
comparison data is stored
0, 2
-126
<|(s1)|<2
128
Single-precision real number
Single-precision real number
(s2)
Comparison data or the head device number where the
comparison data is stored
0, 2
-126
<|(s2)|<2
128
Single-precision real number
Single-precision real number
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s1)
(s2)
Instruction symbol
Condition
Result
Instruction symbol
Condition
Result
E=
(s1)=(s2)
Conductive state
E=
(s1)
(s2)
Non-conductive state
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)
LD
AND
OR
(s1)
(s2)
(s1)
(s2)
(s1)
(s2)
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......