89
5.
DATA FORMATTING
Example: Send a number of characters
Send the first 10 characters from the barcode above, followed by a carriage
return. Command string:
F2100D
F2 is the “Send a number of characters” command 10 is the number of
characters to send
0D is the hex value for a CR
The data is output as:
1234567890
Example: Split characters into 2 lines
Send the first 10 characters from the barcode above, followed by a carriage
return, followed by the rest of the characters.
Command string:
F2100DF10D
F2 is the “Send a number of characters” command
10 is the number of characters to send for the first line 0D is the hex value for a
CR
F1 is the “Send all characters” command 0D is the hex value for a CR
The data is output as:
1234567890 ABCDEFGHIJ
<CR>
F3-Send all characters up to a particular character
Include in the output message all characters from the input message, starting
with the character at the current cursor position and continuing to, but not
including, the search character “ss,” followed by an insert character. The
cursor is moved forward to the “ss” character.
Syntax = F3ssxx
where ss stands
for the search character’s hex value for its ASCII code, and xx stands for the
insert character’s hex value for its ASCII code.
Refer to the
ASCII Conversion Chart,
for decimal, hex and character codes.
F3 Example: Send all characters up to a particular character
Using the barcode above, send all characters up to but not including “D,”
followed by a carriage return. Command string:
F3440D
F3 is the “Send all characters up to a particular character” command 44 is the
hex value for a 'D”
0D is the hex value for a CR
The data is output as:
Summary of Contents for CM-2D002
Page 1: ...2D Barcode Scanner Module User Manual Ver 1 2 Copyright March 15 2018 All rights reserved...
Page 20: ...20 2 PROGRAM THE INTERFACE Estonia Faroese Finland France Gaelic Germany Greek...
Page 35: ...35 2 PROGRAM THE INTERFACE 19200 bps 38400 bps 57600 bps 115200 bps...
Page 73: ...73 3 INPUT OUTPUT SETTINGS Upright Vertical Bottom to Top Upside Down Vertical Top to Bottom...
Page 141: ...141 6 SYMBOLOGIES 5 Digit Addenda Off...
Page 145: ...145 6 SYMBOLOGIES Off...
Page 154: ...154 6 SYMBOLOGIES Maximum Message Length...
Page 157: ...157 6 SYMBOLOGIES Maximum Message Length...
Page 230: ...230 Appendix A Reference Charts...
Page 233: ...233 Appendix A Reference Charts...
Page 237: ...237 Appendix A Reference Charts 7 8 9 Save Discard...
Page 239: ...239 Appendix A Reference Charts 7 8 9 A B C D...