HID Global Corporation 5553 Manuale Utente

Pagina di 144
 
 
 
1508-USM-00-0-04 
 
HF Multi ISO RFID Reader User Manual, Firmware V1.4 
 
2.1.2  Binary Protocol 
This protocol is designed for industrial applications with synchronization and frame checking. An 
addressing byte for party line (master/slave, multi-drop) is also included.  
The protocol usually requires a device driver. Data is transmitted in binary mode. The reader uses 
an internal binary watchdog timer to ensure correct framing.  
STX 
Station ID 
Length 
Data 
BCC 
ETX 
1 byte 
1 byte 
1 byte 
Variable length 
1 byte 
1 byte 
 
The binary frame version 2 is only sent to the host. It is implemented to give extended information to 
the host.  Version 2 must be enabled in the Protocol configuration 2 register. 
STX 
Station ID 
Length 
Flags 
Data 
BCC 
ETX 
1 byte 
1 byte 
1 byte 
1 byte 
Variable length 
1 byte 
1 byte 
2.1.2.1 
STX 
Start of transmission (02h) 
2.1.2.2 
Station ID 
Unique ID of the station 
00h: 
Reserved for the bus master. Readers send response to this device ID. 
FFh: 
Broadcast message. All devices will execute the command and send their response. 
2.1.2.3 
Length 
Length defines the length of the data block, including the flag byte, if binary protocol version 2 is 
activated.  If length is set to zero, 256 data bytes are transmitted. The reader module only can send 
256 data bytes, but cannot receive commands with 256 bytes. 
2.1.2.4 
Flags 
The flag byte gives additional information to the host. 
Bit 3 – Bit 7 
Bit 1 – Bit 2 
Bit 0 
RFU 
Leading Character Info 
Error State 
Error State 
If cleared, the command was processed successfully.  If set, an error occurred. 
Leading Character Info 
Bit 1 & 2 defines how to interpret the data in the binary frame. 
Bit 2 
Bit 1 
Description 
No leading character available, all values are hexadecimal. 
The data contains one leading character. 
All data bytes are characters. 
1 1  RFU 
Page 20 of 144 
 
August 2010 
© 2005-2010 HID Global Corporation.  All rights reserved.