Bmov, Bmovp - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

[Operation]
These bits are all regarded as 0.
(5) The following program inverts the data at M16 to M35, and transfers it to Y40 to Y63.
[Ladder Mode]
[Operation]
These bits are all regarded as 0.
(6) Inverts the data at D0 and D1 when X3 is ON, and stores the result at D16 and D17.
[Ladder Mode]
[Operation]
b31
b24
0
0
0
0
0 1 0 0
D0,D1
b31
b24
D16,D17
1
1
1
1
1 0 1 1
6.4.6

BMOV, BMOVP

Block 16-bit data transfer
6.4.6
BMOV, BMOVP
BMOV
BMOVP
: Head number of the devices where the data to be transferred is stored (BIN 16 bits)
S
: Head number of the devices of transfer destination (BIN 16 bits)
D
n
: Number of transfers (BIN 16 bits)
Setting
Internal Devices
Data
Bit
Word
S
D
n
If "Number of bits of
S
< Number of bits of
X1B
0 1 0 0
0 1 1 1 0 0 1 0 1 1 0 0
b31
b28 b27
b24
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
D0, 1
[List Mode]
Step
If "Number of bits of
S
< Number of bits of
M35
M24 M23
0 1 0 0
0 1 1 1 0 0 1 0 1 1 0 0
Y63
Y56
Y48
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
[List Mode]
Step
b8
b7
b0
0
1 1 1
0 0
1
0
1 1
0 0
b8
b7
b0
1 0 0 0 1 1 0 1 0 0 1 1
Command
Command
J
\
R, ZR
Bit
Word
"
D
X8 X7
X0
b8
b7
b0
Instruction
Device
"
D
M16
Y47
Y40
Device
Instruction
High
Basic
performance
BMOV
S
BMOVP
S
U
\G
BMOV, BMOVP
Process
Redundant Universal
LCPU
n
D
n
D
Constants
Zn
Other
K, H
––
––
––
––
––
1
2
3
4
6
7
8
263

Advertisement

Table of Contents
loading

Table of Contents