EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Block 16-Bit Data Exchanges

Mitsubishi Electric MELSEC-Q/L
1084 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...
316
6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
Block 16-bit data exchanges
BXCH(P)
Processing details
Exchanges 16-bit data of n points from device designated by (D1) and 16-bit data of n points from device designated by
(D2).
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
(D1), (D2) : Head number of the devices where the data to be exchanged is stored (BIN 16 bits)
n: Number of exchanges (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(D1) 
(D2) 
n 
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 The points specified in n exceed those of the corresponding device specified
in (D1) or (D2).
The (D1) and (D2) devices overlap.

Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
BXCHP
BXCH
n
n
BXCHP
BXCH
D1
D2
D1
D2
1 1 1 1 1 1 1 1
0 0 0 000 0 0
0 0 0 0 0 0 0 0
1 1 1 111 1 1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
n
0000111111110000
+1
+(n 1)
+2
+(n 2)
1 1 0 0 0 0 1 1 1 1 0 000 1 1
1 1 1 1 1 1 1 1 0 0 0 000 0 0
1 1 1 1 1 1 1 1 1 1 1 111 1 1
0 0 0 0 0 0 0 0
1 1 1 111 1 1
b7 b0b15 b8
0011001111001100
1 1 1 1 1 1 1 1
0 0 0 000 0 0
0 0 0 0 0 0 0 0
1 1 1 111 1 1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0000111111110000
1 1 0 0 0 0 1 1 1 1 0 000 1 1
1 1 1 1 1 1 1 1 0 0 0 000 0 0
1 1 1 1 1 1 1 1 1 1 1 111 1 1
0 0 0 0 0 0 0 0
1 1 1 111 1 1
0011001111001100
D1
D2
D1
D1
D1
D1
+1
+(n 1)
+2
+(n 2)
D1
D1
D1
D1
D1
+1
+(n 1)
+2
+(n 2)
D2
D2
D2
D2
b7 b0b15 b8
n
b7 b0b15 b8b7 b0b15 b8
D2
+1
+(n 1)
+2
+(n 2)
D2
D2
D2
D2
nn

Table of Contents

Related product manuals