User's Manual

V740 RFID READER/WRITER, ANTENNA 2005-09, REV0.1
OPERATION MANUAL
37 of 56 ©OMRON CORPORATION 2005
1. ID Lock
The UPDATE command is also used to lock
data of a tag. This can be used to write '1' to
'locked' flag . The structure of an UPDATE
command is the same as ID Write.
Example : To lock tag id of a 64-bit EPC tag:
UPDATE tag_id SET locked=1,
id=0x1234567890ABCDEF WHERE
protocol=’EPC1’ AND antenna_id=1;
The reader returns the tag_id if the lock
operation was successful. For example the
response is as follows:
|0xCE851234567890ABCDEF<LF><LF>
In this case, “CE85” is the check code.
“1234567890ABCDEF” is tag data(tag id).
If the operation is failed, "Error 0102: Error
performing query<LF><LF>" returned.
Example : To lock tag id of a 96-bit EPC tag:
UPDATE tag_id SET locked=1,
id=0x1234567890ABCDEF12345678 WHERE
protocol=’EPC1’ AND antenna_id=1;
The reader returns the tag_id the same way as 64-
bit tag.
Note: The format of the tag data in the command
must much the selected protocol or an error will
result. (See section 1.6)
For example :
- A 64 bit EPC1 tag requires 16 hexadecimal digits
- A 96 bit EPC1 tag requires 24 hexadecimal digits
Note: You must send this command to only one tag
at one time in the stable communication area.
Note: Response data always contains a separator in
front of the tag ID.
Note: If the response of the command is different
from the ID of the tag in the communication area,
you need to retry it.
Table4 : Table Schema - Tag Lock
Keyword Entry Table Arguments Range Example
Value
Comments
UPDATE tag_id - - - -
Tag id database
table (Fixed)
locked tag_id Int 1 1
Can be specified
with only “1”(Fixed).
SET
id tag_id Hex String - 0xFEDCB
A0987654
321
Specifies the tag id
to be updated
antenna_id tag_id Int [1...4] 1
Specifies the
antenna used to
update a tag
WHERE
protocol_id tag_id String 'EPC1' 'EPC1'
Specifies the
protocol used to
update a tag.
Must be uppercase.