![background image](http://html1.mh-extra.com/html/omron/v720-series/v720-series_operation-manual_1633447077.webp)
Communications Commands and Responses
Section 5-3
5-19
2)
Lock (LK)
The LK Command is used to set and check the write-protection of Tags. It can be applied to Tag
memory in page units. To read lock information set in a Tag, set all lock information in the com-
mand to 0.
Command Frame Structure
STX
Node No. Command
code
“LK”
Lock
information
ETX BCC
1
2
2
4
1
1
Lock setting
Set to 1 the bit corresponding to the page you want to lock.
Lock setting check
Set all lock settings to 0 to read the lock information set in a Tag.
The lock information for each page is represented by 1 bit.
Lock information
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
AI
,FC
Fixe
d’0’
Fixe
d’0’
Fixe
d’0’
Fixe
d’0’
AI: Application ID
FC: Family code
A format error will occur (error code 14) if a 1 is set for a bit marked "Fixed `0'."
Response Frame Structure
STX
Node No. Retry
flag
Command
code
“LK”
Response
code
“
00
”
Lock information
ETX BCC
1
2
1
2
2
4
1
1
Response code
00: Normal end
Refer to 5-10 Response Code List for other response codes.
Note
Once a page has been locked, it cannot be unlocked. Be careful when using locks.