Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 556

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Operation rules
The result of an operation is output as shown below depending on the combination of floating-point
data.
DOUBLE FLOATING-POINT ADD (+D)
Addend
0
Numeral
+
NaN
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
DOUBLE FLOATING-POINT SUBTRACT (-D)
Subtrahend
0
Numeral
+
NaN
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
DOUBLE FLOATING-POINT MULTIPLY ( D)
Multiplier
0
Numeral
+
NaN
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
DOUBLE FLOATING-POINT DIVIDE (/D)
Divisor
0
Numeral
+
NaN
results will be zero for underflows.
* : The
* *: The results could be zero (including underflows), a numeral, +o, or -o.
ER: The Error Flag will be turned ON and the instruction will not be executed.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0
Numeral
0
Numeral
Numeral
**
+
+
0
Numeral
0
Numeral
Numeral
**
+
+
0
Numeral
0
0
0
**
ER
+/–
ER
+/–
0
Numeral
ER
+/–
0
**
0
*
0
*
Augend
+
+
+
+
ER
ER
Minuend
+
+
+
ER
+
ER
Multiplicand
+
ER
ER
+/–
+/–
+
+
Dividend
+
+
+/–
+/–
ER
ER
ER
ER
3. Instructions
NaN
ER
3
NaN
ER
NaN
ER
NaN
ER
519

Advertisement

Table of Contents
loading

Table of Contents