6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
309
6
• 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 following program outputs the lower 4 bits of data at D66 to D69 to Y30 to Y3F in 4-point units.
• The following program outputs the data at X20 to X2F to D100 to D103 in 4-point units.
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 (S) or (D).
The link direct device and the unit access device are specified in both (S)
and (D).
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
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 10 000 000 0000 D103
4 points
Filled with 0s.
b0b3b15 b4