95
5-17 CMD_OUTPUTBUFFER_CTR
Description: Ask the scanner to do an output buffer control before transmit barcode data.
Packet Format
Length
Opcode
Status
Option
Checksum
0x04
0x62(‘b’)
Field Descriptions
Field Name
Format
Size
Description
Length
0x04
1 byte Length Field
Opcode
0x62
1 byte Identifies this 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 1(message is from the host)
All unused bits recommend to be set to 0.
Option
output buffer control
1 byte
0x00:Disable output buffering
0x01:Enable output buffering
0x02:Clear data in output buffer
Other: Reserved.
Checksum
2's complement sum of message
contents excluding checksum.
2 byte Checksum of message.
For example:Host sends command to ask scanner to enable output buffering.
Length
Opcode
Status
Option
Checksum
0x04
0x62
0x80
0x01
0xFF 0x19
Host Requirements
Host sends command CMD_OUTPUTBUFFER_CTR to ask scanner to control the output buffer.
Scanner Requirements
While receiving command CMD_OUTPUTBUFFER_CTR, the scanner responds with ACK or NAK if
ACK/NAK handshaking is enabled. If the command requests to enable output buffering, the scanner will
store the decode data into the output buffer; and the scanner will send all the barcode data in the buffer
to host until it receive a command to request to disable output buffering. When the unused space in the
buffer is not enough to store the current barcode data, the scanner will beep to warn and discard the
current barcode data.
If the command requests to clear output buffer, the scanner will discard all data in output buffer.
Note: The command can be accepted only if the scanning mode is Continuous scan currently. Otherwise,
after receiving command CMD_OUTPUTBUFFER_CTR, the scanner always responds NAK (if
ACK/NAK 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...