User's Guide

50 of 146
Transmission Methods
13.3.2 Ethernet Transmission Generation 3 Readers
Frame Set-up
Data Frame
5A 50 L1 L2 L3 L4 D1 … Dn A5
5A start code
50 code for a data frame
L1 – L4 number of data bytes (D1 to Dn) in the data frame (32 bit; LSB rst)
D1 – D4 data bytes to be transmitted (payload)
A5 end code
Ping
5A 5F A5
5A start code
5F ping code
A5 end code
Response to Ping
5A 5F A5
5A start code
5F ping response code
A5 end code
Port
The communication takes place via the TCP port 4007 as in case of Generation 2 readers.
Example
The frame
ASyncGetEPCs
is shown here as an example. The ID for this command is
0x0111
, which makes the frame
look as follows:
0x5A 0x50 0x02 0x00 0x00 0x00 0x11 0x01 0xA5
Extended Block Structure
If a data block to be transmitted exceeds 16kB, it is necessary to subdivide into several 16-kB blocks. These blocks
receive a block number, and the rst block contains the total data length. It is necessary to conrm the reception of
each block by means of an answer.
First block:
Start + block number always 0 + 4-byte total data length + data block + end
All other blocks:
Start + block number + data block + end
Answer to conrm the reception:
Start + block number + end
The start consists of
0xAA 0xBB 0x0E 0x01
. The end consists of
0xAA 0xCC
. If the
0xAA
occurs in the KBRP frame, it is
necessary to double it:
0xAA
0xAA 0xAA
.