16
The value of the
StoreType
field in a query command can be either
“
@
” (HEX:
40
) or “#” (HEX:
23
).
A query command with the
SubTag
field omitted means to query all the settings concerning a tag. For example, to query all
the current settings about Code 11, you should enter
7E 01 30 30 30 30 40 43 31 31 2A 3B
03
(i.e.
~<SOH>0000@C11*;<ETX>).
Responses
Different from command sequence, the prefix of a response
consists of the six characters of “<STX><SOH>0000” (HEX:
02 01 30 30 30 30
).
The scanner responds to serial commands with one of the following three responses:
<ACK>
(HEX:
06
) Indicates a good command which has been processed.
<NAK>
(HEX:
15
) Indicates a good configuration command with its
Data
field entry out of the allowable range for this
Tag and SubTag combination (e.g. an entry for an inter-keystroke delay of 100 when the field will
only allow 2 digits), or an invalid query command.
<ENQ>
(HEX:
05
) Indicates an invalid Tag or SubTag command.
When responding, the scanner echoes back the command sequence with the status character above inserted directly
before each of the punctuation marks (the comma or semicolon) in the command.
Examples
Example 1: Enable Code 11, set the minimum and maximum lengths to 12 and 22 respectively.
Enter:
7E 01 30 30 30 30 40 43 31 31 45 4E 41 31 2C 4D 49 4E 31 32 2C 4D 41 58 32 32 3B
03
(~<SOH>0000@C11ENA1,MIN12,MAX22;<ETX>)
Response:
02 01 30 30 30 30 40 43 31 31 45 4E 41 31 06 2C 4D 49 4E 31 32 06 2C 4D 41 58 32 32 06 3B
03
(<STX><SOH>0000@C11ENA1<ACK>,MIN12<ACK>,MAX22<ACK>;<ETX>)
Example 2: Query the current minimum and maximum lengths of Code 11.
Enter:
7E 01 30 30 30 30 40 43 31 31 4D 49 4E 2A 2C 4D 41 58 2A 3B
03
(~<SOH>0000@C11MIN*,MAX*;<ETX>)
Response:
02 01 30 30 30 30 40 43 31 31 4D 49 4E 31 32 06 2C 4D 41 58 32 32 06 3B
03
(<STX><SOH>0000@C11MIN12<ACK>,MAX22<ACK>;<ETX>)
Summary of Contents for NLS-HR42
Page 1: ...NLS HR42 2D Handheld Barcode Scanner User Guide...
Page 23: ...9 Dimensions Left View Front View...
Page 24: ...10 Top View...
Page 48: ...34...
Page 65: ...51 KBWCTY27 UK KBWCTY28 Japan...
Page 79: ...65 KBWPOR8 9ms KBWPOR9 10ms...
Page 115: ...101 FEBSDT70 70ms FEBSDT75 75ms...
Page 116: ...102 Transmit Delay per 12 Characters FEBMEN0 Disable FEBMEN1 Enable...
Page 118: ...104 FEBMDT6 800ms FEBMDT7 900ms...
Page 184: ...170 DMCREC1 Enable Rectangular Barcode DMCREC0 Disable Rectangular Barcode...
Page 242: ...228 Appendix Digit Barcodes 0 9 DIGIT0 0 DIGIT1 1 DIGIT2 2 DIGIT3 3 DIGIT4 4 DIGIT5 5...
Page 243: ...229 DIGIT6 6 DIGIT7 7 DIGIT8 8 DIGIT9 9...
Page 244: ...230 A F DIGITA A DIGITB B DIGITC C DIGITD D DIGITE E DIGITF F...
Page 254: ...240 Terminating Character Suffix Enabled CR 0x0D Max 2 characters...