6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
247
6
Subtracting 32-bit binary data
D-(P)(_U) [when two operands are set]
These instructions perform subtraction between the two sets of 32-bit binary data specified.
■Execution condition
■Description, range, data type
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Ladder ST
Not supported
( Page 249 D-(P)(_U) [when three operands are set])
FBD/LD
Not supported
( Page 249 D-(P)(_U) [when three operands are set])
Instruction Execution condition
D-
D-_U
D-P
D-P_U
Operand Description Range Data type Data type (label)
(s) D-(P) Subtrahend data or the start device where
subtrahend data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
D-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(d) D-(P) Start device where minuend data is stored -2147483648 to 2147483647 32-bit signed binary ANY32_S
D-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
(d)
Operand Bit Word Constant
SA\X, SA\Y, SA\M, SA\SM, SA\B SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD K, H
(s)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)