BXCH(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 range of the device of n points from a device designated by
relevant device.
• The
Program Example
(1) The following program exchanges 16-bit data for 3 points from D200 for 16-bit data for 3
points from R0 when X1C goes ON.
[Ladder Mode]
[Operation]
b15
D200
D201
D202
b15
D200
D201
D202
6-130
and
devices overlap.
D1
D2
b8
b7
b0
0
0
1
1
1
1
0 0
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
b8
b7
b0
0
1
1
1
0
1
1 1
0 1 1 1 0 1 1 1
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0
D1
[List Mode]
Step
Instruction
b15
b8
b7
R0
0
1
1
1
0
1
1 1
0 1 1 1 0 1 1 1
R1
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
R2
1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0
b15
b8
b7
R0
0
0
1
1
1
1
0 0
1 1 1 1 1 1 1 1
R1
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
R2
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
,
or exceeds the
D2
(Error code: 4101)
(Error code: 4101)
Device
b0
b0