background image

ZK-RFID102 UHF RFID Reader User's Manual V2.0 

 

32 

Respond: 

Len 

Adr 

reCmd 

Status 

Data[] 

CRC-16 

0x05 

0xXX 

0x22 

0x00 

—— 

LSB 

MSB 

Various frequency bands formula: 

User band: 

 

 

 

Fs = 902.6 + N * 0.4 (MHz), N

 [0, 62]. 

Chinese band2: 

 

 

Fs = 920.125 + N * 0.25 (MHz), N

 [0, 19]. 

US band:  

 

 

 

Fs = 902.75 + N * 0.5 (MHz), N

 [0, 49]. 

Korean band:   

 

 

Fs = 917.1 + N * 0.2 (MHz), N

 [0, 31]. 

8.4.3 Set Address 

The  host  sends  this  command  to  change  the  address  (

Adr

)  of  the  reader.  The  address  data  is  stored  in  the 

reader’s inner EEPROM and is nonvolatile after reader powered off. The default value of 

Adr

 is 0x00. The range 

of 

Adr

  is  0x00~0xFE.  When  the  host  tries  to  write  0xFF  to 

Adr

,  the  reader  will  set  the  value  to  0x00 

automatically. 

Command: 

Len 

Adr 

Cmd 

Data[] 

CRC-16 

Address 

0x05 

0xXX 

0x24 

0xXX 

LSB 

MSB 

 

Respond: 

Len 

Adr 

reCmd 

Status 

Data[] 

CRC-16 

0x05 

0xXX 

0x24 

0x00 

—— 

LSB 

MSB 

 

Notes: The Adr is old address, not new address. 

8.4.4 Set Scan Time       

The host sends this command to change the value of InventoryScanTime of the reader. The value is stored in 

the reader’s inner EEPROM and is nonvolatile after reader powered off.   

Command: 

Len 

Adr 

Cmd 

Data[] 

CRC-16 

Scantime 

0x05 

0xXX 

0x25 

0xXX 

LSB 

MSB 

Parameter Connect: 

Scantime:

  Inventory  Scan  Time.  The  default  value  is  0x0A  (corresponding  to  10*100ms=1s).  The  value 

range  is  0x03~0xFF  (corresponding  to  3*100ms~255*100ms).  When  the  host  tries  to  set  value  0x00~0x02  to 

InventoryScanTime,  the  reader  will  set  it  to  0x0A  automatically.  In  various  environments,  the  actual  inventory 

scan time may be 0~75ms longer than the InventoryScanTime defined. 

 

Respond: 

Len 

Adr 

reCmd 

Status 

Data[] 

CRC-16 

0x05 

0xXX 

0x25 

0x00 

—— 

LSB 

MSB 

Summary of Contents for ZK_RFID101

Page 1: ...UHF RFID Reader ZK_RFID101 User s Manual V2 0 ...

Page 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 6...

Page 3: ...2 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 ...

Page 4: ... 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...

Page 5: ...ers 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 r...

Page 6: ...uiCrcValue pucY ucI for ucJ 0 ucJ 8 ucJ if uiCrcValue 0x0001 uiCrcValue uiCrcValue 1 POLYNOMIAL else uiCrcValue uiCrcValue 1 return uiCrcValue 4 OPERATION COMMAND CMD SUMMARY 4 1 EPC C1 G2 ISO18000 6C COMMAND NUM COMMAND CODE COMMENT 1 Inventory 0x01 The function is used to inventory tags in the effective field and get their EPC values 2 Read Data 0x02 The function is used to read part or all of a...

Page 7: ...m set one tag read protection in the effective field The tag must be having the same access password Only NXP s UCODE EPC G2X tags valid 10 Reset ReadProtect 0x0a The function is used to remove only one tag read protection in the effective field The tag must be having the same access password Only NXP s UCODE EPC G2X tags valid 11 Check ReadProtect 0x0b The function is used to check only one tag i...

Page 8: ...function is used to set the reader working of the lower limit and the upper limit of frequency 3 Set Address 0x24 This function is used to set a new address of the reader The address value will store in reader s inner nonvolatile memory Default address value is 0x00 The value range is 0x00 0xFE The address 0xFF is reserved as the broadcasting address When user tries to write a 0xFF to Adr the read...

Page 9: ... 0x02 LSB MSB the Inventory sca n time overflow Return status 0x02 when the reader executes an Inventory command and does not get all G2 tags EPC before user defined Inventory ScanTime overflows Length of Data 5 0xXX 0x01 0x03 LSB MSB More Data Return status 0x03 when the reader executes an Inventory command and gets many G2 tags EPC Data can not be completed within in a message and then send in m...

Page 10: ...d __ LSB MSB Tag is protected cannot set it again Return status 0x0d when the NXP UCODE EPC G2X Tag is protected 5 0xXX 0x0a 0x0e __ LSB MSB Tag is unprotected no need to reset it Return status 0x0e when the NXP UCODE EPC G2X Tag is unprotected or the tag does not support the command 5 0xXX 0x53 0x10 __ LSB MSB There is some locked bytes write fail Return status 0x10 when the 6B Tag is written dat...

Page 11: ...be completed within in a message and then send in multiple Length of Data 5 0xXX 0x51 0x18 LSB MSB Reader module flash is Full Return status 0x18 when the reader executes an Inventory command and gets 6B tags UID too much more than the storage capacity of reader 5 0xXX 0xXX 0x19 __ LSB MSB Not Support Command Or Access Password Return status 0x19 when the tag can t set EAS Alarm There may be the t...

Page 12: ...ield is not supported by the Tag 0x04 Memory locked The specified memory location is locked and or perm locked and is either not writeable or not readable 0x0b Insufficient power The Tag has insufficient power to perform the memory write operation Non specific 0x0f Non specific error The Tag does not support error specific codes 7 TAG MEMORY AND ISSUES REQUIRING ATTENTION A EPC C1G2 TAG G2 TAG Tag...

Page 13: ...nds of command one kind is the ISO IEC 18000 6 protocol command another kind is reader defined command and also one kind is the transparent command If the host input of the command is an unrecognized command such as the command does not support or CRC error in the command then the return value is as follows Len Adr reCmd Status CRC 16 0x05 0xXX 0x00 0xFE LSB MSB If the length of command operands d...

Page 14: ...pond Len Adr reCmd Status Data CRC 16 Num EPC ID 0xXX 0xXX 0x01 0xXX 0xXX EPC 1 EPC 2 EPC 3 LSB MSB Parameter Connect Status Table Status Connect 0x01 Command over and return inventoried tag s EPC TID 0x02 The reader does not get all G2 tags EPC TID before user defined Inventory ScanTime overflows Command force quit and returns inventoried tags EPC TID 0x03 The reader executes an Inventory command...

Page 15: ...d WordPtr 01h specifies the second 16 bit memory word etc Num One byte It specifies the number of 16 bit words to be read The value is less then 120 can not 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...

Page 16: ...rst the high byte of each word first Requirement given here is a complete EPC number Mem One byte It specifies whether the Write accesses Password EPC TID or User memory 0x00 Password memory 0x01 EPC memory 0x02 TID memory 0x03 User memory Other values reserved Other value when error occurred WordPtr One byte It specifies the starting word address for the memory write For example WordPtr 00h speci...

Page 17: ...XX 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 ac...

Page 18: ...cifies 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...

Page 19: ...l 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 foll...

Page 20: ...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 Mem One byte It specifies whether the Erase accesses Password EPC TID or User memory 0x00 Password memory 0x01 EPC memory 0x02 TID memory 0x03 User memory Other values reserved Other value when error occur...

Page 21: ...G2X tags valid Command Len Adr Cmd Data CRC 16 0xXX 0xXX 0x08 LSB MSB Data as follows Data ENum EPC Pwd MaskAdr MaskLen 0xXX Variable 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 numbe...

Page 22: ...st 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 Tags Access Password can not be zero Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x09 0x00 LSB MSB 8 2 10 Reset ReadProtect The command is used to remove only one tag read protection in the effective field The tag must be having the same access pa...

Page 23: ... CRC 16 0xXX 0xXX 0x0c LSB MSB Data as follows Data ENum EPC Pwd EAS MaskAdr MaskLen 0xXX Variable 4Byte 0xXX 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 a...

Page 24: ...bit of any tag in the effective field Only NXP s UCODE EPC G2X tags valid Command Len Adr Cmd Data CRC 16 0x04 0xXX 0x0d LSB MSB Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x0d 0x00 LSB MSB It returns no tag actionable message when No EAS alarm 8 2 14 User Block Lock The command is used to permanently lock the designated data in designated tag s user memory Block Lock command supports an a...

Page 25: ...ters can address one single User Memory row WrdPointer User EEPROM row 0 or 1 0 2 or 3 1 4 or 5 2 6 or 7 3 8 or 9 4 10 or 11 5 12 or 13 6 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 MaskLen One byte it is the mask length That a Tag compares against the memory locat...

Page 26: ...umber 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 Mem One byte It specifies whether the Write accesses Password EPC TID or User memory 0x00 Password memory 0x01 EPC memory 0x02 TID memory 0x03 User memory Other values reserved Other value when error occurred WordPtr One byte It s...

Page 27: ...8 3 18000 6B COMMAND 8 3 1Inventory Signal 6B The command is used to Inventory only one tag in the effective field and get their ID values If more than one tag in the effective field at the same time reader may be get nothing Command Len Adr Cmd CRC 16 0x04 0xXX 0x50 LSB MSB Respond Len Adr reCmd Status Data CRC 16 0x0d 0xXX 0x50 0x00 ID LSB MSB Parameter Connect ID 8 bytes it is 6B tag s UID The ...

Page 28: ...an Inventory command and gets many 6B tags UID Data can not be completed within in a message and then send in multiple 0x18 The reader executes an Inventory command and gets 6B tags UID too much more than the storage capacity of reader and returns inventoried tags UID Num The number of tag detected Data UID Each UID length is 8 bytes The least significant byte of UID is transmitted first 8 3 3 Rea...

Page 29: ...1 32 If Address WriteDataLen greater than 224 or Wdata greater than 32 or is zero reader will return parameter error message The high bytes of Wdata write in the low address in tag Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x53 0x00 Data LSB MSB 8 3 5 Check Lock 6B The command is used to check whether the designated byte is locked Command Len Adr Cmd Data CRC 16 Address ID 0x0d 0xXX 0x54 ...

Page 30: ...s information including reader s address Adr firmware version reader s type Type supported protocol Tr_Type reader power work frequency and InventoryScanTime value Command Len Adr Cmd Data CRC 16 0x04 0xXX 0x21 LSB MSB Respond Len Adr reCmd Status Data CRC 16 0x0d 0xXX 0x21 0x00 Version Type Tr_Type DMaxFre DMinFre Power Scntm LSB MSB Parameter Connect Parameter Length Byte Connect Version 2 The f...

Page 31: ...RFU 8 4 2 Set Region The host sends this command to change the current region of the reader The value is stored in the reader s inner EEPROM and is nonvolatile after reader powered off Command Len Adr Cmd Data CRC 16 MaxFre MinFre 0x06 0xXX 0x22 0xXX 0xXX LSB MSB Parameter Connect MaxFre One byte Bit7 Bit6 indicates Frequency Band and Bit5 Bit0 indicates the reader current maximum frequency MinFre...

Page 32: ... 16 Address 0x05 0xXX 0x24 0xXX LSB MSB Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x24 0x00 LSB MSB Notes The Adr is old address not new address 8 4 4 Set Scan Time The host sends this command to change the value of InventoryScanTime of the reader The value is stored in the reader s inner EEPROM and is nonvolatile after reader powered off Command Len Adr Cmd Data CRC 16 Scantime 0x05 0xXX...

Page 33: ...0 9600bps 1 19200 bps 2 38400 bps 5 57600 bps 6 115200 bps Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x28 0x00 LSB MSB Notes The response of the baud rate for the original baud rate and next command uses the new band rate 8 4 6 Set Power The host sends this command to change the power of the reader The value is stored in the reader s inner EEPROM and is nonvolatile after reader powered of...

Page 34: ...00 LSB MSB 8 4 8 Set Wiegand The host sends this command to change Wiegand parameter of the reader The value is stored in the reader s inner EEPROM and is nonvolatile after reader powered off Command Len Adr Cmd Data CRC 16 Wg_mo de Wg_Data_I nteval Wg_Pulse_Wi dth Wg_Pulse_In teval 0x08 0xXX 0x34 0xXX 0xXX 0xXX 0xXX LSB MSB Parameter Connect Wg_mode Bit0 Select Wiegand format interface 0 Wiegand ...

Page 35: ... Len Adr Cmd Data CRC 16 Parameter 0x0a 0xXX 0x35 6Bytes LSB MSB Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x35 0x00 LSB MSB Note Scan Mode configuration words Parameter will be stored in reader s EEPROM and be effective until changed explicitly Defined as follows Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Read_mode Mode_state Mem_Inven First_Adr Word_Num Tag_Time Parameter Connect Read_mode Bit...

Page 36: ...essage First_Adr It specifies the starting data address for the memory read Support 18000 6C First_Adr 0x00 specifies the first 16 bit memory word First_Adr 0x01 specifies the second 16 bit memory word etc Support 18000 6B First_Adr 0x00 specifies the first 8 bit memory byte First_Adr 0x01 specifies the second 8 bit memory byte etc Word_Num Only RS232 RS232 RS485 output it is valid It specifies th...

Page 37: ...ven is 0x06 Len Adr reCmd Status Data CRC 16 0xXX 0xXX 0xee 0xee LSB MSB 4 18000 6B Protocol Len Adr reCmd Status Data CRC 16 0xXX 0xXX 0xee 0x00 Word1 Word2 LSB MSB Parameter Connect Data 6B tag s UID UID length is 8 bytes The least significant byte of UID is transmitted first 8 4 10 Get WorkMode The host sends this command to get the reader s information including reader s Wiegand parameter Work...

Page 38: ... it range is 0 8 Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x37 0x00 LSB MSB 8 4 12 Syris Response Offset The host sends this command to set Syris485 response offset time Command Len Adr Cmd Data CRC 16 OffsetTime 0x05 0xXX 0x38 0xXX LSB MSB OffsetTime Syris485 response offset time 0 100 1ms the default value is 0 Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x38 0x00 LSB MSB 8 4 13...

Page 39: ...X LSB MSB TriggerTime Trigger offset time 0 254 1s the default value is 0 When TriggerTime is 255 means get the current trigger offset time Respond Len Adr reCmd Status Data CRC 16 0x05 0xXX 0x3b 0x00 TriggerTime LSB MSB TriggerTime Current Trigger offset time 0 254 1s ...

Reviews: