ZKHY ZK_RFID101 User Manual

ZKHY ZK_RFID101 User Manual

Uhf rfid reader

Advertisement

UHF RFID Reader ZK_RFID101
User's Manual V2.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZK_RFID101 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ZKHY ZK_RFID101

  • Page 1 UHF RFID Reader ZK_RFID101 User's Manual V2.0...
  • Page 2: Table Of Contents

    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 ..........................
  • Page 3 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 .........................
  • Page 4: Communication Interface Specification

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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.
  • Page 5: Data Block Format

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 3. DATA BLOCK FORMAT 3.1 COMMAND DATA BLOCK Data[] LSB-CRC16 MSB-CRC16 : COMMENT LENGTH(Byte) COMMENT 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.
  • Page 6: Operation Command (Cmd) Summary

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 “Write Adr”. Cyclic Redundancy Check (CRC) computation includes all data from Len. A reference CRC computation program is presented as follow: C-Example: #define PRESET_VALUE 0xFFFF #define POLYNOMIAL 0x8408 unsigned int uiCrc16Cal(unsigned char const * pucY, unsigned char ucX) unsigned char ucI,ucJ;...
  • Page 7 ZK-RFID102 UHF RFID Reader User's Manual V2.0 The function is used to write EPC value in a Tag’s EPC Write EPC 0x04 memory. Random write one tag in the effective field. The function is used to kill tag. After the tag killed, it never Kill Tag 0x05 process command.
  • Page 8: 18000-6B Command

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 4.2 18000-6B COMMAND COMMAND CODE CONNECT The function is used to Inventory only one tag in the effective Inventory signal 6B 0x50 field and get their ID values. If more than one tag in the effective field at the same time, reader may be get nothing.
  • Page 9: List Of Command Execution Result Status

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 5. LIST OF COMMAND EXECUTION RESULT STATUS RESPONSE DATA BLOCK STATES CONNECT reCmd Status Data[] CRC16 Length Return status 0x00 to host after command is executed …….. 0xXX 0xXX 0x00 LSB+MSB Success Data[] successfully.
  • Page 10 ZK-RFID102 UHF RFID Reader User's Manual V2.0 Return status 0x09 when the reader implement a Kill command, while the 0xXX 0x05 0x09 LSB+MSB Kill Tag error kill password error, or poor communication reader and tag. Kill Password Return status 0x0a when error can’t be 0xXX 0x05...
  • Page 11 ZK-RFID102 UHF RFID Reader User's Manual V2.0 Return status 0x15 to host when the reader executes Length an Inventory command and Return before gets some complete 6B …….. 0xXX 0x51 0X15 LSB+MSB Inventory Data[] tags’ before finished user-defined Inventory-ScanTime finished. Return status 0x16 when the reader executes an Length...
  • Page 12: Tag Error Codes

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Err_cod Tag Return Return status 0xFC when 0xXX 0xXX 0xFC LSB+MSB Error Code the tag returns Error Code. Return status 0xFD when Command the length of command 0xXX 0xXX 0xFD LSB+MSB length wrong operands doesn’t conform to the command request.
  • Page 13: Detailed Description Of Operation Command

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 will be attached beginning at address 20h, and if the Tag implements Extended Protocol Control (XPC) then either one or two XPC word(s) beginning at address 210h. TID memory shall contain an 8-bit ISO/IEC 15963 allocation class identifier at memory locations 00h to 07h.
  • Page 14: Read Data

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 3*100ms~255*100ms). In various environments, the actual inventory scan time may be 0~75ms longer than the InventoryScanTime defined. If the inventory scan time establishes excessively short, possibly will inventory no tag appear in inventory scan time.
  • Page 15 ZK-RFID102 UHF RFID Reader User's Manual V2.0 Command: Data[] CRC-16 —— 0xXX 0xXX 0x02 Data as follows: Data[] ENum WordPtr MaskAdr MaskLen 0xXX Variable 0xXX 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.
  • Page 16: Write Data

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Parameter Connect: Word1, Word2….: In word units, one word is two bytes. High byte is first. Word1 is the word which reads from the start address, Word2 is the word which reads from the second address, etc. 8.2.3 Write Data The command is used to write several words in a Tag’s Reserved, EPC, TID, or User memory.
  • Page 17: Write Epc

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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.
  • Page 18: Lock

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Data as follows: Data[] ENum Killpwd MaskAdr MaskLen Variable 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.
  • Page 19 ZK-RFID102 UHF RFID Reader User's Manual V2.0 Command: Data[] CRC-16 —— 0xXX 0xXX 0x06 Data as follows: Data[] ENum Select SetProtect 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.
  • Page 20: Blockerase

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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.
  • Page 21: Readprotect (With Epc)

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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 location that begins at MaskAdr and ends MaskLen bytes later.
  • Page 22: Readprotect (Without Epc)

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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: reCmd Status...
  • Page 23: Check Readprotect

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 8.2.11 Check ReadProtect The command is used to check only one tag in the effective field, whether the tag is protected. It can not check the tag whether the tag support protection setting. Only NXP's UCODE EPC G2X tags valid. Command: Data[] CRC-16...
  • Page 24: Check Eas Alarm

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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 location that begins at MaskAdr and ends MaskLen bytes later.
  • Page 25: Inventory (Single)

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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.
  • Page 26: Block Write

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Num: The number of tag detected. EPC ID: Inventoried tag’s EPC data, EPC-1 is the first tag EPC Len + EPC data. The most significant word (EPC C1 G2 data in word units) of EPC is transmitted first and the most significant byte of word is transmitted first.
  • Page 27: 18000-6B Command

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 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 location that begins at MaskAdr and ends MaskLen bytes later.
  • Page 28: Read Data 6B

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Address: The tag’s start address to compare. Mask: It pointed to the data is used to compare. Highest bit in the mask correspond with the far-left byte in the Condition Content. The corresponding bit in the mask is 1 to compare the bit in the Condition Content with the corresponding byte in the tag.
  • Page 29: Write Data 6B

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Data: It is read data, the low byte is fist. 8.3.4 Write Data 6B The command is used to start to write several bytes from the designated address. Command: Data[] CRC-16 Address Wdata 0xXX 0xXX 0x53...
  • Page 30: Lock 6B

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 8.3.6 Lock 6B The command is used to lock the designated byte. Command: Data[] CRC-16 Address 0x0d 0xXX 0x55 0xXX 8 Bytes Parameter Connect: Address: The tag’s byte address to lock. The range is 8~223. Otherwise, it returns the parameters error message.
  • Page 31: Set Region

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Bit7-Bit6 indicates Frequency Band and Bit5-Bit0 indicates the DMinFre reader current minimum frequency. The output power of reader. Range is 0 to 30, when Power is 0xFF, Power it means the output power of reader unknown. Inventory Scan Time, the value of time limit for inventory Scntm command.
  • Page 32: Set Address

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Respond: reCmd Status Data[] CRC-16 —— 0x05 0xXX 0x22 0x00 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∈...
  • Page 33: Set Band Rate

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 8.4.5 Set Band Rate The host sends this command to change the value of band rate of the reader. The value is stored in the reader’s inner EEPROM and is nonvolatile after reader powered off. Command: Data[] CRC-16...
  • Page 34: Acousto-Optic Control

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 8.4.7 Acousto-optic Control The host sends this command to control the LED lights flash and buzzer tweet. Command: Data[] CRC-16 ActiveT SilentT Times 0x07 0xXX 0x33 0xXX 0xXX 0xXX Parameter Connect: ActiveT: LED flash and buzzer tweet time. (ActiveT*50ms), the default value is 0. 0<=ActiveT<=255. SilentT: The LED and the buzzer silent time (SilentT *50ms), the default value is0.
  • Page 35: Set Workmode

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Respond: reCmd Status Data[] CRC-16 —— 0x05 0xXX 0x34 0x00 8.4.9 Set WorkMode The host sends this command to set the reader’s in Scan Mode or Trigger Mode. The host can also use this command to define the reader’s output data content and format.
  • Page 36 ZK-RFID102 UHF RFID Reader User's Manual V2.0 =1 RS232/RS485 output. Bit2: Beep Enable. =0 on =1 off Bit3: Wiegand output, 18000-6C protocol. First_Adr is byte address or word address. word address. bytes address. Bit4: Syris485 Enable. It is invalid when Bit1 is zero. Common 485 Syris 485 When Bit4 = 1:...
  • Page 37: Get Workmode

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Parameter Connect: Word1, Word2….: In word units, one word is two bytes. High-byte is first. Word1 is the word which reads from the start address, Word2 is the word which reads from the second address, etc. 2.18000-6C Protocol, Mem_Inven is 0x04 or 0x05: reCmd Status...
  • Page 38: Seteasaccuracy

    ZK-RFID102 UHF RFID Reader User's Manual V2.0 Read_mode, Mode_state, Mem_Inven, First_Adr, Word_Num, Tag_Time: Work Mode parameters. Accuracy: EAS Alarm accuracy. OffsetTime: Syris485 response offset time. 8.4.11 SetEasAccuracy The host sends this command to set EAS Alarm Accuracy. Command: Data[] CRC-16 Accuracy 0x05 0xXX...
  • Page 39 ZK-RFID102 UHF RFID Reader User's Manual V2.0 0x05 0xXX 0x3b 0xXX TriggerTime: Trigger offset time (0 ~254)*1s, the default value is 0. When TriggerTime is 255, means get the current trigger offset time. Respond: reCmd Status Data[] CRC-16 0x05 0xXX 0x3b 0x00 TriggerTime...

Table of Contents