ZK-RFID102 UHF RFID Reader User's Manual V2.0
19
Command:
Len
Adr
Cmd
Data[]
CRC-16
0xXX
0xXX
0x06
——
LSB
MSB
Data as follows:
Data[]
ENum
EPC
Select
SetProtect
Pwd
MaskAdr
MaskLen
0xXX
Variable
0xXX
0xXX
4Byte
0xXX
0xXX
Parameter Connect:
ENum:
EPC length
,
in word units. The length of EPC is less than 15 words, can be 0 or 15. Otherwise, it
returns the parameters error message.
EPC:
Be operated tag’s EPC number.
EPC
length according to the decision of the EPC number, EPC
numbers in word units, and must be an integer number of lengths. High word first, the high byte of each word first.
Requirement given here is a complete EPC number.
Select:
One byte, defined as follows:
0x00: Control Kill Password protection setting.
0x01: Control Access password protection setting.
0x02: Control EPC memory protection setting.
0x03: Control TID memory protection setting.
0x04: Control User memory protection setting.
Other value when error occurred.
SetProtect:
When Select is 0x00 or 0x01,
SetProtect
means as follows:
0x00: readable and writeable from any state.
0x01: permanently readable and writeable.
0x02: readable and writeable from the secured state.
0x03: never readable and writeable
When Select is 0x02, 0x03 or 0x04,
SetProtect
means as follows:
0x00: writeable from any state.
0x01: permanently writeable.
0x02: writeable from the secured state.
0x03: never writeable.
Other value when error occurred.
Pwd:
Four bytes, they are Access Password. The most significant word of Access Password is first, the most
significant byte of word is first. The first bit of 32-bit access password is left, and the last bit of 32-bit access
password is right.
Pwd
must be right Access Password.
MaskAdr:
One byte, it specifies the starting byte address for the memory mask. For example,
MaskAdr
=
0x00 specifies the first
EPC
bytes,
MaskAdr
= 0x01 specifies the second
EPC
bytes, etc.