Subtracting 32-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Subtracting 32-bit binary data

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents