195
Programming with Serial Commands
A data format can also be created by serial commands (HEX) sent from the host device.
All commands must be entered
in uppercase letters
.
The syntax consists of the following elements:
Prefix:
“~<SOH>0000” (HEX:
7E 01 30 30 30 30
), 6 characters.
Storage type:
“
@
” (HEX:
40
) or “#” (HEX:
23
), 1 character. “
@
” means permanent setting which will not be lost by
removing power from the scanner or rebooting it
; “#” means temporary setting which will be lost by removing power from
the scanner or rebooting it.
Add Data Format Command:
“DFMADD” (HEX:
44 46 4D 41 44 44
), 6 characters.
Data format label:
“0” (HEX:
30
) or “1” (HEX:
31
) or “2” (HEX:
32
) or ”3” (HEX:
33
), 1 character.
“0”, “1”, “2” and “3”
represent Format_0, Format_1, Format_2 and Format_3 respectively.
Formatter command type:
“6” (HEX:
36
), 1 character.
Interface type:
“999” (HEX:
39
39
39
), 3 characters.
Symbology ID Number:
The ID number of the symbology to which you want to apply the data format, 3 characters. 999
indicates all symbologies.
Data length:
The length of data that will be acceptable for this symbology, 4 characters. 9999 indicates all lengths. For
example, 32 characters should be entered as 0032.
Formatter commands:
The command string used to edit data. For more information, see the
“Formatter Command Type
6
” section in this chapter.
Suffix:
“;<ETX>” (HEX:
3B
03
), 2 characters.
Example:
Program a Format_0 data format using formatter command type 6, Code 128 containing 10 characters
applicable,
send all characters followed by “A”.
Enter:
7E 01 30 30 30 30 40 44 46 4D 41 44 44 30 36 39 39 39 30 30 33 39 39 39 39 46 31 34 31 3B 03
(~<SOH>0000@DFMADD069990020010F141;<ETX>)
Response:
02 01 30 30 30 30 40 44 46 4D 41 44 44 30 36 39 39 39 30 30 33 39 39 39 39 46 31 34 31 06 3B 03
(<STX><SOH>0000@DFMADD069990020010F141<ACK>;<ETX>)
When creating multiple data formats sharing a label, the formats are separated from each other by a vertical bar (|) in the
serial command.
Example:
~<SOH>0000@DFMADD069990020010F141|069990039999F142|069990049999F143;<ETX>
Содержание NLS-HR42
Страница 1: ...NLS HR42 2D Handheld Barcode Scanner User Guide...
Страница 23: ...9 Dimensions Left View Front View...
Страница 24: ...10 Top View...
Страница 39: ...25 SCNMOD3 Continuous Mode SCNMOD7 Batch Mode SCNMOD5 Aiming Mode SCNMOD4 Pulse Mode SCNMOD1 Trigger Mode...
Страница 48: ...34...
Страница 65: ...51 KBWCTY27 UK KBWCTY28 Japan...
Страница 79: ...65 KBWPOR8 9ms KBWPOR9 10ms...
Страница 114: ...100 FEBSDT35 35ms FEBSDT40 40ms FEBSDT45 45ms FEBSDT50 50ms FEBSDT55 55ms FEBSDT60 60ms FEBSDT65 65ms...
Страница 115: ...101 FEBSDT70 70ms FEBSDT75 75ms...
Страница 116: ...102 Transmit Delay per 12 Characters FEBMEN0 Disable FEBMEN1 Enable...
Страница 118: ...104 FEBMDT6 800ms FEBMDT7 900ms...
Страница 168: ...154 Enable Disable PDF417 ECI Output PDFECI0 Enable PDF417 ECI Output PDFECI1 Disable PDF417 ECI Output...
Страница 184: ...170 DMCREC1 Enable Rectangular Barcode DMCREC0 Disable Rectangular Barcode...
Страница 186: ...172 Enable Disable Data Matrix ECI Output DMCECI1 Enable Data Matrix ECI Output DMCECI0 Disable Data Matrix ECI Output...
Страница 198: ...184 PNTCHK1 Do Not Transmit USPS Postnet Check Character PNTCHK2 Transmit USPS Postnet Check Character...
Страница 236: ...222 CID099 Modify USPS Planet Code ID CID100 Modify KIX Post Code ID CID101 Modify Australian Postal Code ID...
Страница 242: ...228 Appendix Digit Barcodes 0 9 DIGIT0 0 DIGIT1 1 DIGIT2 2 DIGIT3 3 DIGIT4 4 DIGIT5 5...
Страница 243: ...229 DIGIT6 6 DIGIT7 7 DIGIT8 8 DIGIT9 9...
Страница 244: ...230 A F DIGITA A DIGITB B DIGITC C DIGITD D DIGITE E DIGITF F...
Страница 254: ...240 Terminating Character Suffix Enabled CR 0x0D Max 2 characters...