80
5-5 DECODE_DATA
Description: Decode data in SCI packet format
Packet Format
Length
Opcode Status Decode Data Checksum
0x50
Field Descriptions
Field Name
Format
Size
Description
Length
Length of message
(not including checksum).
1 Byte
Length Field
Opcode
0x50
1 Byte
Identifies the opcode type.
Status
Bit 0: Identifies transmit status
Bit 6-1: Unused
Bit 7: Command source
1 Byte
Bit 0:
0=First time packet is sent
1= Subsequent transmission attempts
Bit 7: always be 0(message is from the
scanner)
All unused bits recommend to be set to
0.
Decode Data
<data>
Variable
Data is decoded data including prefix
and suffix sent in ASCII format.
Checksum
2's complement sum of message
contents excluding checksum.
2 Bytes
Checksum of message.
When the scanner uses this opcode Decode data packet format is selected to send decoded barcode
data to the host. The decoded data is contained in the Decode Data field.
For example: the decode data is “1234”, the DECODE_DATA message sent to host is as following.
Length
Opcode
Status
Decode Data
Checksum
0x07
0x50
0x00
0x31 0x32 0x33 0x34
0xFE 0xDF
Host Requirements
If ACK/NAK handshaking is enabled, the host responds ACK to the scanner when received correct data
packet.
Scanner Requirements
Decode data is sent in this format if Decode data packet format is selected via parameter. The host
responds to this message with a CMD_ACK, if ACK/NAK handshaking is enabled.
Summary of Contents for FS580
Page 1: ...FS580 Industrial Fixed Laser Barcode Scanner User Manual Version FS580_UM_EN_V1 1 6...
Page 2: ......
Page 8: ...2 Figure 1 1 Pitch Skew and Roll...
Page 16: ...10 3 4 Scan angle Scan angle Narrow 40 5 Scan angle Wide 55 5 Figure 3 4 Scan angle...
Page 74: ...68 Testing barcode...