6-119
BMOV(P)
1
2
3
4
4
6
7
8
6.4 Data Transfer Instructions
6.4.6 Block 16-bit data transfers (BMOV(P))
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The device range of n points from or exceeds the corresponding device range.
(Error code: 4101)
Program Example
(1) The following program outputs the lower 4 bits of data at D66 to D69 to Y30 to Y3F in 4-point
units.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program outputs the data at X20 to X2F to D100 to D103 in 4-point units.
[Ladder Mode] [List Mode]
[Operation]
S
D
Step
Instruction
Device
1
Y33 to Y30
1
0
1
0000
00
11
1101
Y37 to Y34
Y3B to Y38
Y3F to Y3C
11
0
1
1
D66
Ignored
b0b3b15 b4
00000D67
00
111
11010
D68
D69
After execution (destination of transfer)
Before execution (source of transfer)
Step
Instruction
Device
0
111
0
1
000 00
1
X20X23
X2B
X28
X2F
X2C
0
11
0
X27 X24
0000 01000 000 0000
Before execution
D100
After execution (destination of transfer)
0000 01100 000 0000 D101
0000 01110 000 0000 D102
0000 10000 000 0000 D103
4 points
Filled with 0s.
b0b3b15 b4