UHF RFID Reader UHFReader18
User's Manual V2.0
Content
1. COMMUNICATION INTERFACE SPECIFICATION...................................................................................4
2. PROTOCOL DESCRIPTION .............................................................................................................................4
3. DATA BLOCK FORMAT ...................................................................................................................................5
3.1 COMMAND DATA BLOCK.....................................................................................................................5
3.2 RESPONSE DATA BLOCK ......................................................................................................................5
4. OPERATION COMMAND (CMD) SUMMARY..............................................................................................6
4.1 EPC C1 G2(ISO18000-6C)COMMAND..............................................................................................6
4.2 18000-6B COMMAND................................................................................................................................8
4.3 READER DEFINED COMMAND............................................................................................................8
5. LIST OF COMMAND EXECUTION RESULT STATUS ...............................................................................9
6. TAG ERROR CODES ........................................................................................................................................12
7. TAG MEMORY AND ISSUES REQUIRING ATTENTION ........................................................................12
8. DETAILED DESCRIPTION OF OPERATION COMMAND ......................................................................13
8.1 COMMAND OVERVIEV ........................................................................................................................13
8.2 EPC C1G2 COMMAND...........................................................................................................................13
8.2.1 Inventory .........................................................................................................................................13
8.2.2 Read Data........................................................................................................................................14
8.2.3 Write Data.......................................................................................................................................16
8.2.4 Write EPC.......................................................................................................................................17
8.2.5 Kill Tag............................................................................................................................................17
8.2.6 Lock .................................................................................................................................................18
8.2.7 BlockErase ......................................................................................................................................20
8.2.8 ReadProtect (With EPC) ...............................................................................................................21
8.2.9 ReadProtect (Without EPC)..........................................................................................................22
8.2.10 Reset ReadProtect ........................................................................................................................22
8.2.11 Check ReadProtect.......................................................................................................................23
8.2.12 EAS Alarm ....................................................................................................................................23
8.2.13 Check EAS Alarm ........................................................................................................................24
8.2.14 User Block Lock ...........................................................................................................................24
8.2.15 Inventory (Single).........................................................................................................................25
8.2.16 Block Write ...................................................................................................................................26
8.3 18000-6B COMMAND..............................................................................................................................27
8.3.1Inventory Signal 6B.........................................................................................................................27
8.3.2 Inventory Multiple 6B....................................................................................................................27
8.3.3 Read Data 6B ..................................................................................................................................28
8.3.4 Write Data 6B .................................................................................................................................29
8.3.5 Check Lock 6B................................................................................................................................29
8.3.6 Lock 6B............................................................................................................................................30
8.4 READ-DEFINED COMMAND ...............................................................................................................30
8.4.1 Get Reader Information ................................................................................................................30
8.4.2 Set Region........................................................................................................................................31
8.4.3 Set Address......................................................................................................................................32
8.4.4 Set Scan Time .................................................................................................................................32
8.4.5 Set Band Rate .................................................................................................................................33
8.4.6 Set Power.........................................................................................................................................33
8.4.7 Acousto-optic Control ....................................................................................................................34
8.4.8 Set Wiegand ....................................................................................................................................34
8.4.9 Set WorkMode................................................................................................................................35
8.4.10 Get WorkMode.............................................................................................................................37
8.4.11 SetEasAccuracy ............................................................................................................................38
8.4.12 Syris Response Offset...................................................................................................................38
8.4.13 Trigger Offset ...............................................................................................................................38
UHFREADER18 UHF RFID Reader User's Manual V2.0
4
1. COMMUNICATION INTERFACE SPECIFICATION
The reader communicates with host (MCU,MPU,Controller) using serial communication interface RS232 or
RS485 and complete corresponding operation according to the host command. The communication parameter is
57600bps 1 start bit, 8 data bits, 1 stop bit without parity check bit. In the process of serial communication, the
least significant bit of one byte is transmitted first and the least significant byte of command data sequence is
transmitted first.
2. PROTOCOL DESCRIPTION
A communication procedure is sponsored by the host sending commands and data to the reader and the
reader returns the result status and data to host after command execution.
Reader receives a command executes a command, only the reader complete the implementation of a
command, to receive the next command. During the implementation of the command in the reader, if sending
commands to the reader, the command will be lost.
The following table shows the process of the host computer command:
HOST
DIRECTION
READER
Command Data Block
→
The interval between two consecutive bytes in the command data block should be less than 15ms. During
command data block sending, synchronization will lost if the host receives any data from the reader and the host
should stop command sending and restart the communication after 15ms.
The reader completes command execution in inventory ScanTime (not including host sending data time)
except inventory command after receiving host command and returns the results. During the period, it doesn’t
process any host data. The feedback of command execution results is as follows:
READER
DIRECTION
HOST
Command Data Block
→
The interval between two consecutive bytes in the response data block should be less than 15ms.
UHFREADER18 UHF RFID Reader User's Manual V2.0
5
3. DATA BLOCK FORMAT
3.1 COMMAND DATA BLOCK
Len
Adr
Cmd
Data[]
LSB-CRC16
MSB-CRC16
COMMENT:
LENGTH(Byte)
COMMENT
Len
1
Command data block length 1 byte (not including itself).
Value range is 4~96. The number of Len equals the length of
Data [] plus 4.
Adr
1
Reader address, 1 byte. Value range is 0~254. Only will the
reader conforming to the address response the command data
block. Value 255 is broadcasting address. All the readers will
response to the command data block with a broadcasting
address. The default value shall be zero.
Cmd
1
Operation command symbol, 1 byte.
Data[]
Variable
Operation command parameters. There is no parameter if the
LEN item equals 4.
LSB-CRC16
1
CRC-16 LSB. CRC-16 checksum, 2 bytes with least
significant byte first.
MSB-CRC16
1
CRC-16 MSB.
3.2 RESPONSE DATA BLOCK
Len
Adr
reCmd
Status
Data[]
LSB-CRC16
MSB-CRC16
COMMENT:
LENGTH(Byte)
COMMENT
Len
1
Response data block length 1 byte (not including itself). The
number of Len equals the length of Data [] plus 5.
Adr
1
Reader address, 1 byte. Value rang is 0~254.
reCmd
1
Response command symbol, 1 byte. If the command is
unrecognized, the reCmd is 0x00.
Status
1
Result status value, 1byte. Refer to following table for details.
Data[]
Variable
Response data. There is no this item if Len equals 5.
LSB-CRC16
1
CRC16 LSB .CRC-16 checksum, 2 bytes with least significant
byte first.
MSB-CRC16
1
CRC16 MSB
The default value of the reader address is 0x00. The host may change it by using reader-defined command
评论0