EasyManua.ls Logo

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

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
289
6
Subtracting 32-bit binary block data
DBK-(P)(_U)
These instructions perform subtraction between the two 32-bit binary data blocks specified.
*1 The engineering tool with version "1.035M" or later supports the ST.
Execution condition
Setting data
Description, range, data type
*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
Ladder ST
*1
ENO:=DBKMINUS(EN,s1,s2,n,d);
ENO:=DBKMINUSP(EN,s1,s2,n,d);
ENO:=DBKMINUS_U(EN,s1,s2,n,d);
ENO:=DBKMINUSP_U(EN,s1,s2,n,d
);
FBD/LD
( is to be replaced by any of the following: DBKMINUS, DBKMINUSP, DBKMINUS_U, DBKMINUSP_U.)
Instruction Execution condition
DBK-
DBK-_U
DBK-P
DBK-P_U
Operand Description Range Data type Data type (label)
(s1) DBK-(P) Minuend data or the start device where
minuend data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
*1
DBK-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
*1
(s2) DBK-(P) Subtrahend data or the start device where
subtrahend data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
*1
DBK-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
*1
(d) DBK-(P) Start device for storing the operation result 32-bit signed binary ANY32_S
*1
DBK-(P)_U 32-bit unsigned binary ANY32_U
*1
(n) Number of data points 0 to 65535 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
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 $
(s1)  
(s2)  
(d)  
(n)  
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (s2) (d) (n)
EN ENO
ds1
s2
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals