6 - 4
6 - 4
6. HOW TO COMMUNICATE WITH ID TAGS
6.2.4 Clear bit
The Clear Bit command clears the bits of the data of the number of bytes specified in
the number of processed points specification area (Un
\
G4, Un
\
G4004) from the
address specified in the head address specification area (Un
\
G3, Un
\
G4003), and
writes the result in the same address of the ID tag.
The data for which bits are to be cleared are stored in the data storage area (Un
\
G100
to Un
\
G101, Un
\
G4100 to Un
\
G4101).
(1) Example of use
(a) When executing the Clear Bit command in the data storage order 0000
H
(upper
-> lower) of the processing specification, for the three bytes from address 0010
H
Stored data
Before
execution
b15
b0
b7
b0
12
H
34
H
56
H
78
H
24 68
H
13 57
H
0010
H
0013
H
0012
H
0011
H
b7
b0
12
H
14
H
44
H
78
H
0010
H
0013
H
0012
H
0011
H
After
execution
Un\G100
Un\G101
Buffer memory
Address
ID tag
ID tag
Data before execution
Data after execution
Write data
b7
b0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
1
1
0
1
b7
b0
0
0
0
0
1
0
1
1
0
0
1
0
1
0
1
0
0
0
0
0
0
1
0
1
b7
b0
0
0
0
1
0
1
0
0
0
0
0
0
1
0
1
0
1
0
1
1
0
1
1
0
1234
H
56
H
2468
H
13
H
1214
H
44
H
*Shaded area: Holds the data before execution.
*Area outlined in bold: Writes the write data.
(b) When executing the Clear Bit command in the data storage order 0001
H
(lower
-> upper) of the processing specification, for the three bytes from address 0010
H
Stored data
Before
execution
b15
b0
b7
b0
12
H
34
H
56
H
78
H
24 68
H
13 57
H
0010
H
0013
H
0012
H
0011
H
b7
b0
12
H
10
H
00
H
78
H
0010
H
0013
H
0012
H
0011
H
After
execution
Un\G100
Un\G101
Buffer memory
Address
ID tag
ID tag
Data before execution
Data after execution
Write data
b7
b0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
1
1
0
1
b7
b0
0
0
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
1
b7
b0
0
0
0
1
1
0
0
0
0
0
0
0
1
1
0
0
1
0
1
1
0
1
1
0
1234
H
56
H
6824
H
57
H
1210
H
00
H
*Shaded area: Holds the data before execution.
*Area outlined in bold: Writes the write data.