V740 RFID READER/WRITER, ANTENNA
2005-09, REV0.1
OPERATION MANUAL
39 of 56
©OMRON CORPORATION 2005
3. Set
Password
The UPDATE command is also used to set
password of a tag. This can be used to set
password. The structure of an UPDATE
command is the same as ID Write.
•
Example : To set password of a 64-bit EPC tag:
UPDATE tag_id SET password=0x88,
id=0x1234567890ABCDEF WHERE
protocol=’EPC1’ AND antenna_id=1;
The reader returns the password if the setting
password operation was successful. For
example the response is as follows:
|0x88<LF><LF>
In this case, “0x88” is the password.
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 password=0x88,
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.
Table6 : Table Schema - Set Password
Keyword
Entry
Table
Arguments
Range
Example
Value
Comments
UPDATE
tag_id - -
- -
Tag data database
table (Fixed)
password tag_id
Hex
String
[0x00...0xF
F]
0x88
Specifies the
password for the
tag to kill.
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.