69 of 135
(2) Write ID (
WTID
)
Command
WTID(S)
WriteData
(S)[
Options...
]<LF>
WriteData
: Data to be written in 4-digit hexadecimal number (Max: 128 characters).
Response
WTID[RC](S)[CNT](S)[ITM1]<LF>
[RC]: Response Code
[CNT]: Tag Count
[ITM1]: Items indicated by TIF option. Items are delimited by a comma.
Note:
・
If EPC/PEP/PER are specified for TIF, EPC data shall be the data before rewrite. If
data length is zero during EPC specification, data shall become ”*”.
*(S) Space character
Example 1) When all option values are default values and ID 1234567890ABCDEF12345678 is specified, the
command is executed and write process has been completed successfully:
[Tx] WTID 1234567890ABCDEF12345678<LF>
[Rx] WTID0000 001<LF>
Example 2) When ID "
555555555555555555555555"
and EPC
code
are specified for write data and tag
information, the command is executed and then the reader has succeeded.
[Tx] WTID 555555555555555555555555 -tif EPC <LF>
[Rx] WTID0000 001 444444444444444444444444<LF>
* If -tif is specified for EPC code, tag’s EPC data before rewritten is returned. If the tag had an EPC
data "444444444444444444444444" as last ID, response is as above.
Example 3) When 1234567890ABCDEF12345678 and antenna are specified for write data and tag information,
the command is executed and then the reader has succeeded to write data with antenna 1.
[Tx] WTID 1234567890ABCDEF12345678 -tif EPC,ANT<LF>
[Rx] WTID0000 001 *,1<LF>
* If the tag had no EPC data before, [*] is returned.
Example 4) When FFFFFFFFFFFFFFFFFFFFFFFF, 2, and 300 are specified for ID, antenna, timeout and the
command is executed but no tag is found:
[Tx] WTID FFFFFFFFFFFFFFFFFFFFFFFF -ant 2 -tmo 300<LF>
[Rx] WTID0000 000<LF>
Example 5) When 123412341234123412341234 and ABCDABCD are specified for ID and access password is
executed but access password is not matched:
[Tx] WTID 123412341234123412341234 -pwd ABCDABCD<LF>
[Rx] WTID0000 000<LF>
Example 6) When an error has occurred during communication process:
[Tx] WTID 1234567890ABCDEF12345678<LF>
[Rx] WTID7012<LF>
* The error code [Code:7012] is returned.