Subtracting 32-bit binary block data
DBK-(P)(_U)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions perform subtraction between the two 32-bit binary data blocks specified.
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
n
( is to be replaced by any of the following: DBKMINUS, DBKMINUSP, DBKMINUS_U, DBKMINUSP_U.)
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
Instruction
DBK-
DBK-_U
DBK-P
DBK-P_U
Setting data
■Description, range, data type
Operand
Description
(s1)
DBK-(P)
Minuend data or the start device where
minuend data is stored
DBK-(P)_U
(s2)
DBK-(P)
Subtrahend data or the start device where
subtrahend data is stored
DBK-(P)_U
(d)
DBK-(P)
Start device for storing the operation result
DBK-(P)_U
(n)
Number of data points
EN
Execution condition
ENO
Execution result
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
(n)
RnSFCPU RnSFCPU
(Standard)
(Safety)
(n)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*1
ST
ENO:=DBKMINUS(EN,s1,s2,n,d);
ENO:=DBKMINUSP(EN,s1,s2,n,d);
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
32-bit signed binary
32-bit unsigned binary
0 to 65535
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
6.2 Arithmetic Operation Instructions
ENO:=DBKMINUS_U(EN,s1,s2,n,d);
ENO:=DBKMINUSP_U(EN,s1,s2,n,d
);
Data type (label)
*1
ANY32_S
*1
ANY32_U
*1
ANY32_S
*1
ANY32_U
*1
ANY32_S
*1
ANY32_U
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6
289