ZK-RFID102 UHF RFID Reader User's Manual V2.0
17
0x00 specifies the first
EPC
bytes,
MaskAdr
= 0x01 specifies the second
EPC
bytes, etc.
MaskLen:
One byte, it is the mask length. That a Tag compares against the memory location that begins at
MaskAdr
and ends
MaskLen
bytes later.
MaskAdr + MaskLen
must be less the length of ECP number.
Otherwise, it returns the parameters error message.
Notes: That a tag compares against complete EPC number when the MaskAdr and MaskLen vacant.
Respond:
Len
Adr
reCmd
Status
Data[]
CRC-16
0x05
0xXX
0x03
0x00
——
LSB
MSB
8.2.4 Write EPC
The command is used to write EPC number in a Tag’s EPC memory. Random write one tag in the effective
field.
Command:
Len
Adr
Cmd
Data[]
CRC-16
ENum
Pwd
WEPC
0xXX
0xXX
0x04
0xXX
4Byte
Variable
LSB
MSB
Parameter Connect:
ENum:
One byte, it specifies the array of the word to be written EPC length
,
in word units. The length of
EPC is not more than 15 words, can’t be 0. Otherwise, it returns the parameters error message.
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. Only done the memory set to lock and the Access Password is not zero, it needs
Pwd
. In other
cases,
Pwd
can be zero.
WEPC:
Be written EPC value.
WEPC
is not more than 15 words, can’t be 0. Otherwise, it returns the
parameters error message.
Respond:
Len
Adr
reCmd
Status
Data[]
CRC-16
0x05
0xXX
0x04
0x00
——
LSB
MSB
8.2.5 Kill Tag
The command is used to kill tag. After the tag killed, it never process command.
Command:
Len
Adr
Cmd
Data[]
CRC-16
0xXX
0xXX
0x05
——
LSB
MSB