EasyManua.ls Logo

Mitsubishi MELSEC-Q/L - BIN 16-Bit Data Block Addition and Subtraction Operations

Mitsubishi MELSEC-Q/L
850 pages
Print Icon
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...
220
BK+, BK+P, BK-, BK-P
: Head number of the devices where the data to be added to/subtracted from is stored (BIN 16 bits)
:
Data for additing/subtracting or head number of the devices where the data for additing/subtracting is stored (BIN 16 bits)
:
Head number of the devices where the operation result will be stored (BIN 16 bits)
n:
Number of addition/subtraction data blocks (BIN 16 bits)
Function
BK+
(1) Adds n points of BIN data from the device designated by and n-points of BIN data from the device designated by
and stores the result from the device designated by onward.
(2) Block addition is performed in 16-bit units.
(3) The constant designated by can be between 32768 and 32767 (BIN 16-bit data).
(4) The following will happen when an underflow or overflow is generated in an operation result:
The carry flag in this case does not go ON.
6.2.13 BK+, BK+ P, BK-, BK-P BIN 16-bit data block additio n and subtracti on operations
6.2.13
BK+, BK+P, BK-, BK-P
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– –– ––
–– –– ––
–– –– –– ––
n ––
Basic
Process
High
performance
Redundant
Universal
LCPU
indicates an instruction symbol of BK+, BK- .
BK+, BK-
BK+P, BK-P
Command
Command
S1 S2
D
n
S2 S2
D
n
P
S1
S2
D
S1
S2
D
S1
S2
D
(BIN)
(BIN)
(BIN)
5234
5801
(BIN)3766
(BIN)
8321
(BIN)
(BIN)
(BIN)
b15 b0
1234
4567
2000
(BIN)1234
(BIN)
4000
+1
+(n 2)
+(n 1)
n
(BIN)
(BIN)
(BIN)
4000
1234
(BIN)5000
(BIN)
4321
S1
S2
D
S1
+2
S1
S1
S1
+1
+(n 2)
+(n 1)
+2
S2
S2
S2
S2
1234
b15 b0
n
+1
+(n 2)
+(n 1)
+2
n
3234
b15 b0
D
D
D
D
S2
(BIN)
(BIN)
(BIN)
5555
8888
(BIN)3087
(BIN)
8321
(BIN)
(BIN)
(BIN)
b15 b0
1234
4567
2000
(BIN)1234
(BIN)
4000
+1
+(n 2)
+
n
(BIN)4321
S1
D
S1
+2
S1
S1
S1
S2
b15 b0
+1
+(n 2)
+(n 1)
+2
(n 1)
n
2321
b15 b0
D
D
D
D
K32767
(7FFF
H
)
K 32767
(8001
H
)
+K
2
+K2
K 32767
K32767
(0002
H
)(8001
H
)
(FFFE
H
)(7FFF
H
)

Table of Contents

Related product manuals