353
BKRST, BKRSTP
1
2
3
4
4
6
7
8
7.4 Bit processing instructions
7.4.3 BKRST, BKRSTP
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program Example
(1) The following program turns OFF devices from M0 to M7 when X0 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program sets data from 2nd bit (b2) of D10 to 1st bit (b1) of D11 to 0 when X20 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
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 .
D
Step Instruction Device
Not changed
1
1
000
0
M0M3
0000
M8M9 M4M7
1 111
0
0
M0M3
1
00
1
M8M9 M4M7
Step Instruction Device
b15 b8
1
1 1
0 0 0 0
1 1 1 1 111 1
0
b1
D10
b0
b7 b2
b15 b8
0
0 0 1 0 1 0 0 1 1 1 111 1 1
D11
b0
b1b7
b15 b8
0
0 0 0 0 0 0 0 0 0 0 000
1
0
b1
D10
b0b7 b2
b15 b8
0
0 0 1 0 1 0 0 1 1 1 111 0 0
D11
b0
b1b7