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

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

Advertisement

Adding 32-bit binary block data

DBK+(P)(_U)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions add the two 32-bit binary data blocks specified.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
n
( is to be replaced by any of the following: DBKPLUS, DBKPLUSP, DBKPLUS_U, DBKPLUSP_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
(s1)
DBK+(P)
DBK+(P)_U
(s2)
DBK+(P)
DBK+(P)_U
(d)
DBK+(P)
DBK+(P)_U
(n)
EN
ENO
*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,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
(n)
6 BASIC INSTRUCTIONS
286
6.2 Arithmetic Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
(n)
Execution condition
Description
First addend data or the start device where the
first addend data is stored
Second addend data or the start device where
the second addend data is stored
Start device for storing the operation result
Number of data points
Execution condition
Execution result
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*1
ST
ENO:=DBKPLUS(EN,s1,s2,n,d);
ENO:=DBKPLUSP(EN,s1,s2,n,d);
Range
-2147483648 to 2147483647
0 to 4294967295
-2147483648 to 2147483647
0 to 4294967295
0 to 65535
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
ENO:=DBKPLUS_U(EN,s1,s2,n,d);
ENO:=DBKPLUSP_U(EN,s1,s2,n,d);
Data type
Data type (label)
32-bit signed binary
ANY32_S
32-bit unsigned binary
ANY32_U
32-bit signed binary
ANY32_S
32-bit unsigned binary
ANY32_U
32-bit signed binary
ANY32_S
32-bit unsigned binary
ANY32_U
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
*1
*1
*1
*1
*1
*1
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents