Newland NLS-HR20-BT User Manual page 201

Table of Contents

Advertisement

Enter Setup
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.
Storagetype:" @ "(HEX:40)or"#"(HEX:23),1character." @ "meanspermanentsettingwhichwillnotbelostbyremoving
powerfromthescannerorrebootingit;"#"meanstemporarysettingwhichwillbelostbyremovingpowerfromthescanner
rebooting it.
Add Data Format Command: "DFMADD" (HEX: 44 46 4D 41 44 44), 6 characters.
Dataformatlabel:"0"(HEX:30)or"1"(HEX:31)or"2"(HEX:32)or"3"(HEX:33),1character."0","1","2"and"3"represent Format_0,
Format_1, Format_2 and Format_3respectively.
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:ProgramaFormat_0dataformatusingformattercommandtype6,Code128containing10charactersapplicable, 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 3B03
(~<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>
** Exit Setup
or
188

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hr20-bt

Table of Contents