Mitsubishi MELSEC QS Series Programming Manual page 135

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 D0 when XA goes ON to Y10 to Y23 in
4-bit units.
[Ladder Mode]
[Operation]
b15
D0
1
1
(2) The following program outputs the data at X20 through X23 to D100 through D103 when XA
goes ON.
[Ladder Mode]
[Operation]
Before
execution
D
b4
b3
b2 b1
b0
0 1
1 0 1 1
1 0 0 1
1 0 1 1
Ignored
Transfer
X2F
X2C
X2B
X28
X27
X24
X23
0
0 1 1 1
0 0 1 0
1 1 1 0
1
1 1
Ignored
6.4.4 Identical 16-bit data block transfers (FMOV(P))
or exceeds the corresponding device range.
1
0
1
1
Y13-Y10
1
0
1
1
Y17-Y14
5 points
1
0
1
1
Y1B-Y18
1
0
1
1
Y1F-Y1C
1
0
1
1
Y23-Y20
X20
After execution
(transfer destination)
b15
b4
b3
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 0
1 1 1 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 0
1 1 1 0
Filled with 0.
6.4 Data Transfer Instructions
FMOV(P)
(Error code: 4101)
b0
D100
D101
4 points
D102
D103
6-37
6

Advertisement

Table of Contents
loading

Table of Contents