Mitsubishi MELSEC QS Series Programming Manual page 133

Hide thumbs Also See for MELSEC QS Series:
Table of Contents

Advertisement

Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
the corresponding error code is stored into SD0.
• The device range of n-points from
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]
[Operation]
Before execution
(transfer source)
b15
D66
D67
D68
D69
Ignored
(2) The following program outputs the data at X20 to X2F to D100 to D103 in 4-point units.
[Ladder Mode]
[Operation]
Before execution
(transfer source)
or
S
After execution
(transfer destination)
b4
b3
b0
1
1 1 0 1
1
0
0 0 0 0
0
1
0 0 1 1
0
0
1 1 0 1
1
X2F
X2C
X2B
X28
X27
X24
X23
1
0
0 0
0 1 1 1
0 1 1 0
0 1 0 0
6.4.3 Block 16-bit data transfers (BMOV(P))
exceeds the corresponding device range.
D
1
0
1
Y33-Y30
0
0
0
Y37-Y34
0
1
1
Y3B-Y38
1
0
1
Y3F-Y3C
X20
After execution
(transfer destination)
b15
b4
b3
0
0
0 0
0 0 0 0
0 0 0 0
0 1 0 0
0
0
0 0
0 0 0 0
0 0 0 0
0 1 1 0
0
0
0 0
0 0 0 0
0 0 0 0
0 1 1 1
0
0
0 0
0 0 0 0
0 0 0 0
1 0 0 0
Filled with 0
.
6.4 Data Transfer Instructions
BMOV(P)
(Error code: 4101)
b0
D100
D101
4 points
D102
D103
6-35
6

Advertisement

Table of Contents
loading

Table of Contents