User's Manual
5-5 System Command
5-5
5-47
5-5-9 Lock Setting (LK): I.CODE1 Mode
This command is used to set and check the lock (write-protection) of Tags incorporating
I.CODE1 chip. A Tag can be locked (or write-protected) by memory page. To read lock
information set in a Tag, set all lock information in the commands to 0.
<Command Format>
STX
Node No..
Command code
“LK”
Lock setting ETX BCC
1 2 2 4 1 1
Lock setting
Set the bit corresponding to the page you want to lock to 1. *See the
table below.
<Lock setting check>
Set all lock settings to 0 to read the lock information in a Tag.
* The lock information for each page is represented by a 1-bit datum.
Lock setting
b7 b6 b5 b4 b3 b2 b1 b0 b7 b6 b5 b4 b3 b2 b1 b0
Page
10
Page
9
Page
8
Page
7
Page
6
Page
5
Page
4
Page
3
Page
2
Page
1
Page
0
A
I
,F
C
E Q
A U
S I
E
T
Write
-
protect
S
N
R
S
N
R
AI: Application ID FC: Family Code
<Response Format>
STX Node No.. Retry
flag
Command code
“LK”
Response
code
“00”
Lock setting Information ETX
BCC
1 2 1 2 2 4 1 1
Response code 00:normal completion
For other Response Codes, refer to SECTION 5-3-7 Response Code List.
Lock setting
Information
Indicates lock information set in a Tag.
Description: This is an example of command and response when locking pages 1, 3, 7, and 8 in a Tag in
which page 10 has already been locked. This example does not include STX, ETX, BCC,
and the node number. The lock setting in the response included information concerning
the pages that have already been locked.
Command: LK3140
Response: LK00B143
:SNR (Tag-specific code) is locked at factory. SNR 2 bit in the lock setting in the response is
always on.
(Important) Precautions on the Lock function
Use utmost care when using the LK Command because once a page has been locked, it cannot be
unlocked. It is strongly recommended that you use a system command to lock a page rather than using
this command.
:This command is for I.CODE1 Mode Only. The command is not available in ISO mode, refer to
5-5-7.