Download Print this page

Adding 16-Bit Binary Block Data - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Adding 16-bit binary block data

BK+(P)(_U)
These instructions add (n) point(s) of 16-bit binary data from the device specified by (s1) and the (n) point(s) of 16-bit binary
data from the device specified by (s2), and store the results in the device specified by (d).
Ladder diagram
(s1)
(s2)
FBD/LD
EN
ENO
s1
d
s2
n
("BKPLUS", "BKPLUSP", "BKPLUS_U", "BKPLUSP_U" enters .)
*1 Supported by engineering tool version "1.035M" and later.
Setting data
■Descriptions, ranges, and data types
Operand
(s1)
BK+(P)
BK+(P)_U
(s2)
BK+(P)
BK+(P)_U
(d)
BK+(P)
BK+(P)_U
(n)
EN
ENO
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(d)
(n)
7 BASIC INSTRUCTIONS
236
7.2 Arithmetic Operation Instructions
(d)
(n)
Description
Head device where the data to which another
data is added is stored
Addend data or the head device where the
data that is added to another is stored
Head device for storing the operation result
Number of addition data
Execution condition
Execution result
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
Structured text
ENO:=BKPLUS(EN,s1,s2,n,d);
ENO:=BKPLUSP(EN,s1,s2,n,d);
Range
-32768 to +32767
0 to 65535
-32768 to +32767
0 to 65535
0 to 65535
Double word Indirect
specification
Z
LC
LZ
ENO:=BKPLUS_U(EN,s1,s2,n,d);
ENO:=BKPLUSP_U(EN,s1,s2,n,d);
Data type
Data type (label)
16-bit signed binary
ANY16_S
16-bit unsigned binary
ANY16_U
16-bit signed binary
ANY16_S
16-bit unsigned binary
ANY16_U
16-bit signed binary
ANY16_S
16-bit unsigned binary
ANY16_U
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
K, H
E
$
Others

Hide quick links:

Advertisement

loading