GIGA TMS UHF860 UHF RFID READER User Manual Visio UHF860 SPEC 20120330 vsd

GIGA-TMS INC. UHF RFID READER Visio UHF860 SPEC 20120330 vsd

Users Manual

1
Programming Guide
for UHF® 860 v1.0
October 18, 2011
2
Communications protocol
Communications Baud Rate is 115200-8-N-1.
Master Query Package (HOST)
Field Header Address Query Function Data length DATA BYTES Error Check
Desc SOH 0~255 0~255 0~255 CRC16_Low CRC16_Hi
Size 1 BYTE 1 BYTE 1 BYTE 1 BYTE 0~255 BYTES 1 BYTE 1 BYTE
Note:
SOH = 01h.
Address = Device Address (Slave Machine ID)
Slave Response Package (DEVICE)
Field Header Address Response Function Data length DATA BYTES Error Check
Desc SOH 0~255 ACK / NAK / EVN 0~255 CRC16_Low CRC16_High
Size 1 BYTE 1 BYTE 1 BYTE 1 BYTE 0~255 BYTES 1 BYTE 1 BYTE
Note:
SOH = 01h.
Address = Device Address (Slave Machine ID)
ACK = 06h, Acknowledge (Passive, in response to Master message)
NAK = 15h, Negative Acknowledge (Passive, in response to Master message)
EVN = 12h, Event Message(Active, For One Host to One Device Connection)
3
Response NAK Code Table (Common)
Func Len Data Bytes Description
NAK 1 E0h Access Denied
NAK 1 E4h Illegal Query Code
NAK 1 E6h Overrun, Out of record count
NAK 1 E7h CRC Error
NAK 1 ECh Query Number no support
NAK 1 EDh Out Of Memory Range
NAK 1 EEh Address Number out of range
NAK 1 EFh Unknown
Response Event (For Active Slave)
Active Response (Slave)
Desc Func Len Data Bytes
Event 12h n Customer Event Code or Data
4
Commands Table
Query (Master/Host) Response (Slave/Device)
Commands CMD
(Hex)
Parameters
(n chars)
Data Bytes
(n bytes)
Description
Get
Firm-/Hardware
ID
0x10 Value (1 byte) Return OEM Version String
Value
0Firmware
1Hardware
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 further use)
Set Register Datas to
Address
Read Register 0x1C Address (1byte) Datas(n bytes) Get Register
Set Channel 0x1E CN(1byte) Channel Number(1 byte) Set Channel
CONTROL
DIDO 0x20 DO Channel/Enable
(2 bytes) DO/DI Status(1 byte) GET DI OR SET DO
Write EEPROM 0x22 High Addr (1 byte)
Low Addr (1 byte)
Value (1 byte)
0
After Write EEPROM
you must update
EEPRom to register.
Update
EEPROM
To Register
0x22 0xFF (1 byte)
0xFF (1 byte)
[Value] (1 byte)
0 Value = any
Read EEPROM 0x24 High Addr (1 byte)
Low Addr (1 byte) 0
Select Tag 0x33 PC(2bytes)
EPC(12bytes) 0
Write Tag Data 0x35
MB(1byte)
SA(1byte)
AP(4bytes)
DL(1bytes)
DT(variable)
Datas(n bytes)
Read Tag Data 0x37 MB(1byte)
SA(1byte)
DL(1bytes)
Datas(n bytes) Read Tag Data from
specified memory bank.
Lock Tag 0x3B LA(1bytes)
LT(1bytes)
AP(4bytes)
Lock Tag
Kill Tag 0x3D KP(4bytes)
Set Frequency 0x41 Mask(1byte)
Freq(3bytes)
RSSI(1byte)
0
Get Frequency
Setting 0x41 Mask(1byte)
Profile ID (1 byte)
ListenTime (2 bytes)
MAX_Allocation (2 bytes)
Idle Time (2 bytes)
5
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 0x41 Mask(1byte)
Freq(3bytes)
I-Channel (1 byte)
Q-Channel (1 byte)
Inventory 0x43 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)
Value=0x01
Start inventory round
Value=0x01 0x02
RFU
ConfigGen2 0x59
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 (1 byte)
Sensitivity set (1
byte)
Sensitivity (1 byte)
Linkfrequency (1 byte)
miller setting (1 byte)
Session (1 byte)
Trext (1 byte)
qbegin (1 byte)
Sensitivity (1 byte)
Set Sensitivity 0x59
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 (1 byte)
Sensitivity set (1
byte)
Sensitivity (1 byte)
Linkfrequency (1 byte)
miller setting (1 byte)
Session (1 byte)
Trext (1 byte)
qbegin (1 byte)
Sensitivity (1 byte)
6
Get Firm-/Hardware ID (0x10)
Format
ID (1 byte) 0x00
Function (1 byte) 0x10
Data length(1 byte) 0x01
Datas (1 byte) 0x00
Func = Function
Data = 0x00Firmware , 0x01Hardware
Example
Hex ASCII
01 00 10 01 00 71 00 .....q.
01 FF 06 1D 55 48 46 38 36 30 20 52 65 61 64 65 ....UHF860 Reade
72 20 46 69 72 6D 77 61 72 65 20 31 2E 30 31 52 r Firmware 1.01R
30 75 26 0u&
SOH ID Func Data length Datas(1 byte) CRC 16 (2 bytes)
7
Active Mode (0x12)
Format
ID (1 byte) 0x00
Function (1 byte) 0x12
Data length(1 byte) 0x01
Mode ID (1 bytes) 0x01
Func = Function
Mode ID = 0x00 Standalone , 0x01GUI
Ch = Channel NO. (0x00~0x03)
Example
This mean EPC (“31C10C21050297410661220211FF”) is inventory by channel No.3
SOH ID Func Data length Mode ID (1 byte) CRC 16 (2 bytes)
Hex ASCII
01 00 12 01 00 B1 A1 .......
01 FF 06 01 00 A1 D1 02 33 31 43 31 30 43 32 31 .ÿ...¡Ñ.31C10C21
30 35 30 32 39 37 34 31 30 36 36 31 32 32 30 32 0502974106612202
31 31 46 46 2C 33 0D 0A 03 11FF,3.
SOH ID Func Data length Data (1 byte) CRC 16 (2 bytes)
0x02 EPC Datas (n bytes) 0x2C Ch
(1 byte) 0x0D 0x0A 0x03
8
Set Antenna Output Power (0x18)
Format
ID (1 byte) 0x00
Function (1 byte) 0x18
Data length(1 byte) 0x01
PWR (1 bytes) 0x00 (Disable)
0xFF (Enable)
Func = Function
Example
Write Register (0x1A)
Format
ID (1 byte) 0x00
Function (1 byte) 0x1A
Data length (1 byte) 0x02
Address (1 byte) 0x00
Datas (1~3 bytes) 0x0F
Func = Function
Addr=Address
Example
SOH ID Func Data length PWR (1 bytes) CRC 16 (2 bytes)
Hex ASCII
01 00 18 01 00 B3 81 .......
01 FF 06 01 00 A1 D1 .......
SOH ID Func Data length Addr Datas (1~3 bytes) CRC 16 (2 bytes)
Hex ASCII
01 00 1A 02 00 0F DC C2 ........
01 FF 06 01 00 A1 D1 .......
9
Read Register (0x1C)
Format
ID (1 byte) 0x00
Function (1 byte) 0x1C
Data length (1 byte) 0x01
Address (1 byte) 0x00
Func = Function
Addr=Address
Example
Set Channel (0x1E)
Format
ID (1 byte) 0x00
Function (1 byte) 0x1E
Data length (1 byte) 0x01
Channel Number
(1 byte) 0x00
Func = Function
CN=Channel Number
If you don’t set any channel number to Device. Device will scan channel by sequential. (Ch1
~ CH4)
Example
SOH ID Func Data length Addr CRC 16 (2 bytes)
Hex ASCII
01 00 1C 01 00 72 C0 .....r.
01 FF 06 04 0F 00 00 00 BD E6 ..........
SOH ID Func Data length CN (1byte) CRC 16 (2 bytes)
Hex ASCII
01 00 1E 01 00 B2 61 ......a
01 FF 06 01 00 A1 D1 .......
10
CONTROL DIDO (0x20)
Format
ID (1 byte) 0x00
Function (1 byte) 0x20
Data length (1 byte) 0x02
DO Channel
(1 byte) 0x03
DO Enable
(1 byte) 0x03
Preserve DO Channel, Enable datas0x00 , 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. 00110011 => DO1, DO2,DO4 ON
Do Enable (1 byte)4 bits to mean DO1~2 Enable
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 Enable
Ex. 00110011 => DO1, DO2 Enable
Replay DIDO Status(1 byte)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
x x DO2 DO1 DI4 DI3 DI2 DI1
Example
SOH ID Func Data length DO Channel/Enable CRC 16 (2 bytes)
Hex ASCII
01 00 20 02 03 03 F1 CE .. .....
01 FF 06 01 3F B1 91 ....?..
11
Write EEPRom (0x22)
Format
ID (1 byte) 0x00
Function (1 byte) 0x22
Data length (1 byte) 0x03
Address High byte
(1 byte) 0x00
Address Low byte
(1 byte) 0x00
Data (1 byte) 0x01
Func = Function
Addr_Hi=Address high byte
Addr_Low=Address low byte
Example
Update EEPROM To Register (0x22)
Format
ID (1 byte) 0x00
Function (1 byte) 0x22
Data length (1 byte) 0x03
Address High byte
(1 byte) 0xFF
Address Low byte
(1 byte) 0xFF
Data (1 byte) 0x00
Func = Function
Addr_Hi=Address high byte
Addr_Low=Address low byte
SOH ID Func Data length Addr_Hi Addr_Low data (1byte) CRC 16 (2 bytes)
Hex ASCII
01 00 22 03 00 00 01 98 39 ..".....9
01 FF 06 01 01 61 10 .....a.
SOH ID Func Data length Addr_Hi Addr_Low data (1byte) CRC 16 (2 bytes)
12
Example
Read EEPRom (0x24)
Format
ID (1 byte) 0x00
Function (1 byte) 0x24
Data length (1 byte) 0x03
Address High byte
(1 byte) 0x00
Address Low byte
(1 byte) 0x00
Func = Function
Addr_Hi=Address high byte
Addr_Low=Address low byte
Example
SOH ID Func Data length Addr_Hi Addr_Low CRC 16 (2 bytes)
Hex ASCII
01 00 24 02 00 00 30 8F ..$...0.
01 FF 06 01 01 61 10 .....a.
Hex ASCII
01 00 22 03 FF FF 00 98 89 .."......
01 FF 06 01 FF E1 91 .......
13
Select Tag (0x33)
Format
ID (1 byte) 0x00
Function (1 byte) 0x33
Data length(1 byte) 0x0E
PC (2 bytes) 0x3000
EPC (12 bytes) 0x001F3411B802111176348076
Func = Function
Data = 0x00Firmware , 0x01Hardware
Example
Set Frequency (0x41)
Format
ID (1 byte) 0x00
Function (1 byte) 0x41
Data length (1 byte) 0x05
Mask (1 byte) 0x08
Frequency
(3 bytse) 0x5E 0xC6 0x0D (902750 kHz) Low byte, Mid byte , High byte
RSSI (1 byte) 0xD8 [-40 dBm => 256 + (-40) = 0xD8 ]
Func = Function
Mask 0x00: No specific value; - measurement skipped no valid dates in response
Mask 0x01: RSSI scan
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 .......
SOH ID Func Data length PC(2bytes) EPC(12bytes) CRC 16 (2 bytes)
SOH ID Func Data
length
Mask(1byte)
Freq(3bytes)
RSSI(1byte)
CRC 16 (2 bytes)
14
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
Get Frequency Setting (0x41)
Format
ID (1 byte) 0x00
Function (1 byte) 0x41
Data length (1 byte) 0x01
Mask (1 byte) 0x11
Func = Function
Get frequency hopping related parameters
Hex ASCII
01 00 41 05 08 5E C6 0D D8 84 07 ..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 ..W@
SOH ID Func Data length Mask (1 byte) CRC 16 (2 bytes)
SOH ID Func Data
length
RFU (2
bytes)
Profile ID
(1 byte)
Listen
Time
Low byte
Listen
Time
High byte
MAX
Allocation
Low byte
MAX
Allocation
High byte
Idle Time
Low byte
Idle Time
High byte
MinFreq
Low byte
MinFreq
mid byte
MinFreq
High byte MaxFreq
Low byte
MaxFreq
mid byte
MaxFreq
High byte NumFreq RSSI Threshold ActFreq
RFU (n bytes) CRC 16 (2
bytes)
15
Example
Get Reflect Power Level (0x41)
Format
ID (1 byte) 0x00
Function (1 byte) 0x41
Data length (1 byte) 0x05
Mask (1 byte) 0x02
Frequency
(3 bytse) 0x5E 0xC6 0x0D (902750 kHz) Low byte, Mid byte , High byte
Func = Function
Mask 0x02: reflected power scan
Example
Hex ASCII
01 00 41 01 11 AC 91 ..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\
SOH ID Func Data
length
Mask(1byte)
Freq(3bytes) CRC 16 (2 bytes)
Hex ASCII
01 00 41 04 02 5E C6 0D DE 17 ..A..^....
01 FF 06 3E B5 0A 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 4E 35 ..N5
SOH ID Func Data
length
I-Channel
(1byte)
Q-Channel
(1byte)
RFU
(n bytes)
CRC 16
(2 bytes)
16
Inventory (0x43)
Format
ID (1 byte) 0x00
Function (1 byte) 0x43
Data length (1 byte) 0x01
Value (1 byte) 0x01
Func = Function
CN = Channel Number
Example
SOH ID Func Data
length Value(1byte) CRC 16 (2 bytes)
Hex ASCII
01 00 43 01 01 A0 31 ..C...1
01 FF 06 15 01 BE 0A D4 0D 0E 30 00 00 1F 34 11 ..........0...4.
B8 02 11 11 76 34 80 76 02 C9 1B ....v4.v...
SOH ID Func Data
length
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)
17
Get ConfigGen2 Setting (0x59)
Format
ID (1 byte) 0x00
Function (1 byte) 0x59
Data length (1 byte) 0x0C
Link freq set (1 byte) 0x00
Link freq (1 byte) 0x00
miller set (1 byte) 0x00
Miller (1 byte) 0x00
Session set (1 byte) 0x00
Session (1 byte) 0x00
trext set (1 byte) 0x00
Trext (1 byte) 0x00
qbegin set (1 byte) 0x00
qbegin (1 byte) 0x00
Sensitivity set
(1 byte) 0x00
Sensitivity (1 byte) 0x03
Func = Function
CN = Channel Number
linkfrequency set0 = 40 kHz, 3 = 80 kHz not AS3992, 6 = 160 kHz, 8 = 213 kHz, 9 = 256 kHz,
SOH ID 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 (1 byte)
Sensitivity set (1 byte)
Sensitivity (1 byte)
CRC 16 (2 bytes)
SOH ID Func Data
length
0x00 (RFU 1byte)
Link frequency (1 byte)
0x00 (RFU 1byte)
miller setting (1 byte)
0x00 (RFU 1byte)
Session (1 byte)
0x00 (RFU 1byte)
Trext (1 byte)
0x00 (RFU 1byte)
qbegin (1 byte)
0x00 (RFU 1byte)
Sensitivity (1 byte)
CRC 16
(2 bytes)
18
12 = 320 kHz, 15 = 640 kHz
miller setting0 = FM0, 1 = Miller2, 2 = Miller4, 3 = Miller8
session0 = S0, 1 = S1, 2 = S2, 3 = SL
trext0 = short preamble, pilot tone, 1 = long preamble, pilot tone
qbegin0 .. 15. Initial gen2 round is 2^qbegin long. Please be careful with higher values.
Sensitivity for channel access-90 .. -48 (dBm)
Example
Hex ASCII
01 00 59 0C 00 00 00 00 00 00 00 00 00 00 00 03 ..Y.............
2B 48 +H
01 FF 06 3E 00 06 00 01 00 00 00 00 00 00 00 B9 ...>............
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 55 BF ..U.
19
Set Sensitivity (0x59)
Format
ID (1 byte) 0x00
Function (1 byte) 0x59
Data length (1 byte) 0x0C
Link freq set (1 byte) 0x00
Link freq (1 byte) 0x00
miller set (1 byte) 0x00
Miller (1 byte) 0x00
Session set (1 byte) 0x00
Session (1 byte) 0x00
trext set (1 byte) 0x00
Trext (1 byte) 0x00
qbegin set (1 byte) 0x00
qbegin (1 byte) 0x00
Sensitivity set
(1 byte) 0x01
Sensitivity (1 byte) 0xB9 ( -71 dBm = 0xB9 – 0x100)
Func = Function
CN = Channel Number
linkfrequency set0 = 40 kHz, 3 = 80 kHz not AS3992, 6 = 160 kHz, 8 = 213 kHz, 9 = 256 kHz,
SOH ID 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 (1 byte)
Sensitivity set (1 byte)
Sensitivity (1 byte)
CRC 16 (2 bytes)
SOH ID Func Data
length
0x00 (RFU 1byte)
Link frequency (1 byte)
0x00 (RFU 1byte)
miller setting (1 byte)
0x00 (RFU 1byte)
Session (1 byte)
0x00 (RFU 1byte)
Trext (1 byte)
0x00 (RFU 1byte)
qbegin (1 byte)
0x00 (RFU 1byte)
Sensitivity (1 byte)
CRC 16
(2 bytes)
20
12 = 320 kHz, 15 = 640 kHz
miller setting0 = FM0, 1 = Miller2, 2 = Miller4, 3 = Miller8
session0 = S0, 1 = S1, 2 = S2, 3 = SL
trext0 = short preamble, pilot tone, 1 = long preamble, pilot tone
qbegin0 .. 15. Initial gen2 round is 2^qbegin long. Please be careful with higher values.
Sensitivity for channel access-90 .. -48 (dBm)
Example
Hex ASCII
01 00 59 0C 00 00 00 00 00 00 00 00 00 00 01 B9 ..Y.............
08 C8
01 FF 06 3E 00 06 00 01 00 00 00 00 00 00 00 B9 ...>............
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 55 BF ..U.
21
Parameter EEPROM Address
22
23
24
25

Navigation menu