Comparing Double-Precision Real Numbers - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Comparing double-precision real numbers

LDED, ANDED, ORED
RnPCPU
RnCPU RnENCPU
(Process)
These instructions perform a comparison operation of a double-precision real number. (Devices are used as a normally open
contact.)
Ladder
LD
AND
OR
( is replaced by ED=, ED<>, ED>, ED<=, ED<, ED>=.)
FBD/LD
EN
ENO
s1
s2
( is replaced by a combination of LDED_, ANDED_, or ORED_ and EQ, NE, GT, LE, LT, or GE.)
*1 The engineering tool with version "1.035M" or later supports the ST.
*2 EQ indicates =, NE indicates <>, GT indicates >, LE indicates <=, LT indicates <, and GE indicates >=.
■Execution condition
Instruction
LDED, ANDED, ORED
Setting data
■Description, range, data type
Operand
Description
(s1)
Comparison data or the start device where the comparison
data is stored
(s2)
Comparison data or the start device where the comparison
data is stored
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
7 APPLICATION INSTRUCTIONS
706
7.9 Real Number Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s1)
(s2)
(s1)
(s2)
(s1)
(s2)
Execution condition
Every scan
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*1
ST
ENO:=LDED_(EN,s1,s2);
ENO:=ANDED_(EN,s1,s2);
ENO:=ORED_(EN,s1,s2);
( is replaced by any of the following: EQ, NE, GT, LE, LT, GE.)
*2
Range
-1022
1024
|(s1)|<2
0, 2
-1022
1024
|(s2)|<2
0, 2
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
Double-precision real
ANYREAL_64
number
Double-precision real
ANYREAL_64
number
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
*2
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents