Programming Guide for UHF® 860 v1.
Communications protocol Communications Baud Rate is 115200-8-N-1. Master Query Package (HOST) Field Desc Size Header SOH 1 BYTE Address 0~255 1 BYTE Query Function 0~255 1 BYTE Data length 0~255 1 BYTE DATA BYTES 0~255 BYTES Error Check CRC16_Low CRC16_Hi 1 BYTE 1 BYTE Note: SOH = 01h.
Response NAK Code Table (Common) Func NAK NAK NAK NAK NAK NAK NAK NAK Len 1 1 1 1 1 1 1 1 Data Bytes E0h E4h E6h E7h ECh EDh EEh EFh Description Access Denied Illegal Query Code Overrun, Out of record count CRC Error Query Number no support Out Of Memory Range Address Number out of range Unknown Response Event (For Active Slave) Active Response (Slave) Desc Func Len Event 12h n Data Bytes Customer Event Code or Data 3
Commands Table Query (Master/Host) Commands CMD (Hex) Response (Slave/Device) Parameters (n chars) Data Bytes (n bytes) Description Get Firm-/Hardware ID 0x10 Value (1 byte) Return OEM Version String Value 0:Firmware 1:Hardware Active Mode 0x12 Mode ID (1 byte) Return EPC Datas (n bytes) ID=0 :Standalone ID=1 : GUI Set Antenna Output Power 0x18 PWR(1byte) 0 PA/Power Auto Down Control Write Register 0x1A Address(1 byte) Datas (1~3 bytes) Replied as 0x00 (1 byte) rfu (reserved for furt
Min Frequency (3 bytes) Max Frequency (3 bytes) Num of Frequency (1 byte) RSSI Threshold (1 byte) Active number of Frequency (1 byte) Get Reflect Power Level Inventory ConfigGen2 Set Sensitivity 0x41 0x43 0x59 0x59 Mask(1byte) Freq(3bytes) I-Channel (1 byte) Q-Channel (1 byte) Value(1 byte) Number of found tags (1 byte) RSSI (1 byte) Frequency (3 bytes) Length of EPC (1 byte) EPC (n bytes) CN (1 byte) Linkfreq set (1 byte) Linkfreq (1 byte) miller set (1 byte) Miller (1 byte) Session set (1 byt
Get Firm-/Hardware ID (0x10) Format: SOH ID Func Data length Datas(1 byte) CRC 16 (2 bytes) ID (1 byte) 0x00 Function (1 byte) 0x10 Data length(1 byte) 0x01 Datas (1 byte) 0x00 ※ Func = Function ※ Data = 0x00:Firmware , 0x01:Hardware Example: Hex 01 00 10 01 00 71 00 ASCII .....q. 01 FF 06 1D 55 48 46 38 36 30 20 52 65 61 64 65 72 20 46 69 72 6D 77 61 72 65 20 31 2E 30 31 52 30 75 26 ....UHF860 Reade r Firmware 1.
Active Mode (0x12) Format: SOH ID Func Data length Mode ID (1 byte) CRC 16 (2 bytes) SOH ID Func Data length Data (1 byte) CRC 16 (2 bytes) 0x02 EPC Datas (n bytes) 0x2C Ch (1 byte) 0x0D 0x0A 0x03 … ID (1 byte) Function (1 byte) Data length(1 byte) Mode ID (1 bytes) 0x00 0x12 0x01 0x01 ※ Func = Function ※ Mode ID = 0x00: Standalone , 0x01:GUI ※ Ch = Channel NO. (0x00~0x03) Example: Hex 01 00 12 01 00 B1 A1 ASCII .......
Set Antenna Output Power (0x18) Format: SOH ID (1 byte) Function (1 byte) Data length(1 byte) PWR (1 bytes) ID Func Data length PWR (1 bytes) CRC 16 (2 bytes) 0x00 0x18 0x01 0x00 (Disable) 0xFF (Enable) ※ Func = Function Example: Hex 01 00 18 01 00 B3 81 ASCII ....... 01 FF 06 01 00 A1 D1 .......
Read Register (0x1C) Format: SOH ID (1 byte) Function (1 byte) Data length (1 byte) Address (1 byte) ※ Func = Function ※ Addr=Address ID Func Data length Addr CRC 16 (2 bytes) 0x00 0x1C 0x01 0x00 Example: Hex 01 00 1C 01 00 72 C0 ASCII .....r. 01 FF 06 04 0F 00 00 00 BD E6 ..........
CONTROL DIDO (0x20) Format: SOH ID (1 byte) Function (1 byte) Data length (1 byte) DO Channel (1 byte) DO Enable ID Func Data length CRC 16 (2 bytes) DO Channel/Enable 0x00 0x20 0x02 0x03 0x03 (1 byte) ※ Preserve DO Channel, Enable datas:0x00 , 0x00 mean Get DI/DO Status ※ Func = Function ※ CN=Channel Number ※ DO Channel (1 byte):4 bits to mean DO1~2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 1 1 0 0 DO2 DO1 Ex. 00110001 => DO1 ON Ex. 00110011 => DO1, DO2 ON Ex.
Write EEPRom (0x22) Format: SOH ID (1 byte) Function (1 byte) Data length (1 byte) Address High byte ID Func Data length Addr_Hi Addr_Low data (1byte) CRC 16 (2 bytes) 0x00 0x22 0x03 0x00 (1 byte) Address Low byte 0x00 (1 byte) Data (1 byte) 0x01 ※ Func = Function ※ Addr_Hi=Address high byte ※ Addr_Low=Address low byte Example: Hex 01 00 22 03 00 00 01 98 39 ASCII ..".....9 01 FF 06 01 01 61 10 .....a.
Example: Hex 01 00 22 03 FF FF 00 98 89 ASCII .."...... 01 FF 06 01 FF E1 91 ....... Read EEPRom (0x24) Format: SOH ID (1 byte) Function (1 byte) Data length (1 byte) Address High byte ID Func Data length Addr_Hi Addr_Low CRC 16 (2 bytes) 0x00 0x24 0x03 0x00 (1 byte) Address Low byte 0x00 (1 byte) ※ Func = Function ※ Addr_Hi=Address high byte ※ Addr_Low=Address low byte Example: Hex 01 00 24 02 00 00 30 8F ASCII ..$...0. 01 FF 06 01 01 61 10 .....a.
Select Tag (0x33) Format: SOH ID Func Data length PC(2bytes) EPC(12bytes) CRC 16 (2 bytes) ID (1 byte) 0x00 Function (1 byte) 0x33 Data length(1 byte) 0x0E PC (2 bytes) 0x3000 EPC (12 bytes) 0x001F3411B802111176348076 ※ Func = Function ※ Data = 0x00:Firmware , 0x01:Hardware Example: Hex ASCII 01 00 33 0E 30 00 00 1F 34 11 B8 02 11 11 76 34 ..3.0...4.....v4 80 76 FF 12 .v.. 01 FF 06 01 09 A7 11 .......
※ Mask 0x02: reflected power scan ※ Mask 0x04: turn hop mode on; - add the frequency to the List ※ Mask 0x08: turn hop mode off clear the List ※ Mask 0x10: set LBT params Example: Hex 01 00 41 05 08 5E C6 0D D8 84 07 ASCII ..A..^..... 01 FF 06 3E FE FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 57 40 ...>............ ................ ................ ................ .
Example: Hex 01 00 41 01 11 AC 91 ASCII ..A.... 01 FF 06 3E FE FF 03 01 00 90 01 00 00 5E C6 0D ...>.........^.. 12 26 0E 32 D8 32 00 00 00 00 00 00 00 00 00 00 .&.2.2.......... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 69 5C ..i\ Get Reflect Power Level (0x41) Format: ID (1 byte) Function (1 byte) Data length (1 byte) Mask (1 byte) Frequency (3 bytse) SOH ID Func Data length Mask(1byte) Freq(3bytes) CRC
Inventory (0x43) Format: SOH SOH ID (1 byte) Function (1 byte) Data length (1 byte) Value (1 byte) ※ Func = Function ID ID Func Func Data length Data length Value(1byte) CRC 16 (2 bytes) Number of found tags (1 byte) RSSI (1 byte) Frequency (3 bytes) Length of EPC (1 byte) EPC (n bytes) CN (1 byte) CRC 16 (2 bytes) 0x00 0x43 0x01 0x01 ※ CN = Channel Number Example: Hex 01 00 43 01 01 A0 31 ASCII ..C...1 01 FF 06 15 01 BE 0A D4 0D 0E 30 00 00 1F 34 11 B8 02 11 11 76 34 80 76 02 C9 1B 16 ..
Get ConfigGen2 Setting (0x59) Format: SOH SOH ID (1 byte) Function (1 byte) Data length (1 byte) Link freq set (1 byte) Link freq (1 byte) miller set (1 byte) Miller (1 byte) Session set (1 byte) Session (1 byte) trext set (1 byte) Trext (1 byte) qbegin set (1 byte) qbegin (1 byte) Sensitivity set (1 byte) ID ID Func Func Data length Linkfreq set (1 byte) Linkfreq (1 byte) miller set (1 byte) Miller (1 byte) Session set (1 byte) Session (1 byte) trext set (1 byte) Trext (1 byte) qbegin set (1 byte)
12 = 320 kHz, 15 = 640 kHz ※ miller setting:0 = FM0, 1 = Miller2, 2 = Miller4, 3 = Miller8 ※ session:0 = S0, 1 = S1, 2 = S2, 3 = SL ※ trext:0 = short preamble, pilot tone, 1 = long preamble, pilot tone ※ qbegin:0 .. 15. Initial gen2 round is 2^qbegin long. Please be careful with higher values. ※ Sensitivity for channel access:-90 .. -48 (dBm) Example: Hex 01 00 59 0C 00 00 00 00 00 00 00 00 00 00 00 03 2B 48 ASCII ..Y.............
Set Sensitivity (0x59) Format: SOH SOH ID (1 byte) Function (1 byte) Data length (1 byte) Link freq set (1 byte) Link freq (1 byte) miller set (1 byte) Miller (1 byte) Session set (1 byte) Session (1 byte) trext set (1 byte) Trext (1 byte) qbegin set (1 byte) qbegin (1 byte) Sensitivity set (1 byte) ID ID Func Func Data length Linkfreq set (1 byte) Linkfreq (1 byte) miller set (1 byte) Miller (1 byte) Session set (1 byte) Session (1 byte) trext set (1 byte) Trext (1 byte) qbegin set (1 byte) qbegin
12 = 320 kHz, 15 = 640 kHz ※ miller setting:0 = FM0, 1 = Miller2, 2 = Miller4, 3 = Miller8 ※ session:0 = S0, 1 = S1, 2 = S2, 3 = SL ※ trext:0 = short preamble, pilot tone, 1 = long preamble, pilot tone ※ qbegin:0 .. 15. Initial gen2 round is 2^qbegin long. Please be careful with higher values. ※ Sensitivity for channel access:-90 .. -48 (dBm) Example: Hex 01 00 59 0C 00 00 00 00 00 00 00 00 00 00 01 B9 08 C8 ASCII ..Y.............
Parameter EEPROM Address 21