![background image](http://html.mh-extra.com/html/omron/v740-hs01ca/v740-hs01ca_user-manual_741408072.webp)
72 of 135
(5) LOCK (
LOCK)
Command
LOCK(S)
LockCode
(S)[
options...
]<LF>
LockCode
: Lock Code (10 characters 0/1/*)
Response
LOCK[RC](S)[CNT](S)[ITM1]<LF>
[RC]: Response Code
[CNT]: Tag Count
[ITM1]: Items indicated by TIF option. Items are delimited by a comma.
*(S) Space Character
Example 1) When [EPC memory; locked temporarily] is set:
[Tx] LOCK ****10****<LF>
[Rx] LOCK0000 001<LF>
Example 2) When [Access password and Kill password; locked temporarily] is set with password;
0xABCDABCD:
[Tx] LOCK 1010****** -pwd ABCDABCD<LF>
[Rx] LOCK0000 001<LF>
Example 3) When [Access password and Kill password; unlocked] is set with [password; 0xAAAAAAAA, tag
information; EPC code and antenna:
[Tx] LOCK 0000****** -pwd AAAAAAAA -tif EPC,ANT<LF>
[Rx] LOCK0000 001 777777777777777777777777,1<LF>
Example 4) When [Password; 0xFFFFFFFF, all memories are locked permanently] is set:
[Tx] LOCK 1111111111 –pwd FFFFFFFF<LF>
[Rx] LOCK0000 001<LF>
* The EPC code of the tag is [1234567890ABCDEF12345678].
Example 5) When [Password; 0x12341234, all memories are locked permanently] is specified and specified
password is incorrect:
[Tx] LOCK 1111111111 –pwd 12341234<LF>
[Rx] LOCK7011<LF>
* The communication error [Code:7011 (in this case)] is returned.
Example 6) When [Password; 0xAAAAAAAA, Lock code;22222222] is specified and specified lock code is
incorrect:
[Tx] LOCK 2222222222 –pwd AAAAAAAA<LF>
[Rx] LOCK1412<LF>
* The error code [Code:1412] is returned.