70 of 135
(3) Read Data (
RDDT
)
Command
RDDT(S)
MemoryBank
(S)
DataPointer
(S)
DataLength
(S)[
options...
]<LF>
MemoryBank
: Memory Bank
DataPointer
: Data Pointer
DataLength
: Data Length
Response
RDDT[RC](S)[CNT](S)[Data1 with ITM1]<LF>
[RC]: Response Code
[CNT]: Tag Count
[Data with ITM]: Data with Items indicated by TIF option. Items are delimited by a
comma.
*(S) Space Character
Example 1) When [Memory bank; 0, Start address(=Data pointer); 0, word count to be read(=Data length); 1] is
specified, other settings are default value and then read process has completed successfully:
[Tx] RDDT 0 0 1<LF>
[Rx] RDDT0000 001 1234<LF>
Example 2) When [Memory bank; 1, Start address(=Data pointer); 0, word count to be read(=Data length); 8] is
specified, other settings are default value and then read process has completed successfully:
[Tx] RDDT 1 0 4<LF>
[Rx] RDDT0000 001 BCAD300055555555<LF>
Example 3)
When [Memory bank; 1, Start address(=Data pointer); 2, word count to be read(=Data length);
3, Antenna; 1 to 3, Tag information; EPC and antenna id] is specified and read process has
succeeded:
[Tx] RDDT 1 2 3 -ant 123 -tif EPC,ANT<LF>
[Rx] RDDT0000 001 111122223333,1234567890ABCDEF12345678,2<LF>
* In this case, the read data is [111122223333], the tag EPC code is [1234567890ABCDEF12345678],
and the read antenna ID is [2].
Example 4) When indicated address can not supported:
[Tx] RDDT 0 0 8<LF>
[Rx] RDDT0000 000<LF>
* No count data is returned.
Example 4) When an incorrect address[1000] is specified:
[Tx] RDDT 0 1000 1 -ant 123<LF>
[Rx] RDDT1412<LF>
* The command data error [Code:1412] is returned.
Example 5) When an error has occurred during communication process:
[Tx] RDDT 0 0 1 -ant 123<LF>
[Rx] RDDT7012<LF>
* The error code [Code:7012 (in this case)] is returned.