Subtracting Single-Precision Real Numbers - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Subtracting single-precision real numbers

E-(P) [when two operands are set]
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions perform subtraction between single-precision real numbers.
Ladder
(s)
(d)
FBD/LD
Not supported
( Page 723 E-(P) [when three operands are set])
■Execution condition
Instruction
E-
E-P
Setting data
■Description, range, data type
Operand
Description
(s)
Subtrahend data or the start device where subtrahend data
is stored
(d)
Start device where minuend data is stored
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• These instructions subtract the single-precision real number in the device specified by (s) from the single-precision real
number in the device specified by (d), and store the result in the device specified by (d).
(d)+1
(d)
-
Single-precision real number Single-precision real number
-126
|specified value (stored value)| <2
• Value 0 or 2
• 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
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(s)+1
(s)
(d)+1
Single-precision real number
128
can be specified or stored in the devices specified by (s) and (d).
ST
Not supported
( Page 723 E-(P) [when three operands are set])
Range
Data type
-126
128
|(s)|<2
0, 2
Single-precision real
number
-126
128
|(d)|<2
0, 2
Single-precision real
number
Double word Indirect
Z
LT, LST,
LZ
LC
(d)
7 APPLICATION INSTRUCTIONS
Data type (label)
ANYREAL_32
ANYREAL_32
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
721

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents