7-65
BKRST(P)
1
2
3
4
6
6
7
8
7.4 Bit processing instructions
7.4.3 Batch reset of bit devices (BKRST(P))
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]
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