Real number instructions
■Comparing single-precision real numbers
Instruction symbol
LDE=, ANDE=, ORE=
LDE<>, ANDE<>, ORE<>
LDE>, ANDE>, ORE>
LDE<=, ANDE<=, ORE<=
LDE<, ANDE<, ORE<
LDE>=, ANDE>=, ORE>=
■Comparing double-precision real numbers
Instruction symbol
LDED=, ANDED=, ORED=
LDED<>, ANDED<>, ORED<>
LDED>, ANDED>, ORED>
LDED<=, ANDED<=, ORED<=
LDED<, ANDED<, ORED<
LDED>=, ANDED>=, ORED>=
■Outputting a comparison result of single-precision real numbers
Instruction symbol
ECMP
ECMPP
■Outputting a comparison result of double-precision real numbers
Instruction symbol
EDCMP
EDCMPP
■Outputting a band comparison result of single-precision real number
Instruction symbol
EZCP
EZCPP
■Outputting a band comparison result of double-precision real number
Instruction symbol
EDZCP
EDZCPP
■Adding/subtracting single-precision real numbers
Instruction symbol
E+
E+P
E+
E+P
E-
E-P
E-
E-P
2 CPU MODULE INSTRUCTIONS
98
2.3 Application Instructions
Processing details
Performs a comparison operation of a single-precision real number. (Devices are used as a
normally open contact.)
Processing details
Performs a comparison operation of a double-precision real number. (Devices are used as a
normally open contact.)
Processing details
Compares the single-precision real number data specified by (s1) with the single-precision real
number data specified by (s2), and according to the result (small, equal, or large), (d), (d)+1, or
(d)+2 is turned on.
Processing details
Compares the double-precision real number data specified by (s1) with the double-precision real
number data specified by (s2), and according to the result (small, equal, or large), (d), (d)+1, or
(d)+2 is turned on.
Processing details
Compares the band between the single-precision real number specified by lower limit value (s1)
and the single-precision real number specified by upper limit value (s2) with the single-precision
real number in the device specified by comparison data (s3). According to the comparison result
(below, within zone, or above), (d), (d)+1, or (d)+2 is turned on.
Processing details
Compares the band between the double-precision real number specified by lower limit value (s1)
and the double-precision real number specified by upper limit value (s2) with the double-precision
real number in the device specified by comparison data (s3). According to the comparison result
(below, within zone, or above), (d), (d)+1, or (d)+2 is turned on.
Processing details
Adds single-precision real numbers. (Using two operands)
Adds single-precision real numbers. (Using three operands)
Performs subtraction between single-precision real numbers. (Using two operands)
Performs subtraction between single-precision real numbers. (Using three operands)
Reference
Page 704 LDE,
ANDE, ORE
Reference
Page 706 LDED,
ANDED, ORED
Reference
Page 709 ECMP(P)
Reference
Page 711 EDCMP(P)
Reference
Page 713 EZCP(P)
Reference
Page 715 EDZCP(P)
Reference
Page 717 E+(P) [when
two operands are set]
Page 719 E+(P) [when
three operands are set]
Page 721 E-(P) [when
two operands are set]
Page 723 E-(P) [when
three operands are set]