Exchanging 16-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

Exchanging 16-bit binary block data

BXCH(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions exchange the (n) points of 16-bit binary data starting from the devices specified.
Ladder
(d1)
(d2)
(n)
FBD/LD
EN
ENO
n
d1
d2
■Execution condition
Instruction
BXCH
BXCHP
Setting data
■Description, range, data type
Operand
Description
(d1)
Start device where the exchange target data is stored
(d2)
Start device where the exchange target data is stored
(n)
Number of exchange 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
(d1)
(d2)
(n)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=BXCH(EN,n,d1,d2);
ENO:=BXCHP(EN,n,d1,d2);
Range
Data type
Word
Word
0 to 65535
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
Data type (label)
*1
ANY16
*1
ANY16
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6.7 Data Transfer Instructions
6
519

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents