92
5.
DATA FORMATTING
cursor back to the beginning of the data and send 6 characters followed by a
carriage return. Using the bar code above:
Command string: FE31F7F2060D
FE
31
F7
F2
06
0D
“Compare characters” command
Hex value for 1
“Move the cursor to the beginning” command
“Send a number of characters” command
Number of characters to send
Hex value for a CR
The data is output as:
123456
<CR>
5-4-3 Search Commands
F8—Search forward for a character
Search the input message forward for “xx” character from the current cursor
position, leaving the cursor pointing to the “xx” character.
Syntax = F8xx
where
xx stands for the search character’s hex value for its ASCII code. Refer to the
ASCII Conversion Chart (Code Page 1252),
for decimal, hex and character
codes.
Example: Send bar code data that starts after a particular character
Search for the letter “D” in bar codes and send all the data that follows,
including the “D.” Using the bar code above:
Command string: F844F10D
F8
44
F1
0D
“Search forward for a character” command
Hex value for “D”
“Send all characters” command
Hex value for a CR
The data is output as:
DEFGHIJ
<CR>
5-4-3 Search Commands
Содержание CM-2D002
Страница 1: ...2D Barcode Scanner Module User Manual Ver 1 2 Copyright March 15 2018 All rights reserved...
Страница 19: ...19 2 PROGRAM THE INTERFACE Croatia Czech Czech Programmers Czech QWERTY Czech QWERTZ Denmark Dutch Netherlands...
Страница 20: ...20 2 PROGRAM THE INTERFACE Estonia Faroese Finland France Gaelic Germany Greek...
Страница 22: ...22 2 PROGRAM THE INTERFACE Hungarian 101 key Hungary Iceland Irish Italian 142 Italy Japan ASCII Kazakh...
Страница 23: ...23 2 PROGRAM THE INTERFACE Kyrgyz Cyrillic Latin America Latvia Latvia QWERTY Lithuania Lithuania IBM Macedonia...
Страница 24: ...24 2 PROGRAM THE INTERFACE Malta Mongolian Cyrillic Norway Poland Polish 214 Polish Programmers Portugal...
Страница 25: ...25 2 PROGRAM THE INTERFACE Romania Russia Russian MS Russian Typewriter SCS Serbia Cyrillic Serbia Latin...
Страница 26: ...26 2 PROGRAM THE INTERFACE Slovakia Slovakia QWERTY Slovakia QWERTZ Slovenia Spain Spanish variation Sweden...
Страница 35: ...35 2 PROGRAM THE INTERFACE 19200 bps 38400 bps 57600 bps 115200 bps...
Страница 73: ...73 3 INPUT OUTPUT SETTINGS Upright Vertical Bottom to Top Upside Down Vertical Top to Bottom...
Страница 141: ...141 6 SYMBOLOGIES 5 Digit Addenda Off...
Страница 145: ...145 6 SYMBOLOGIES Off...
Страница 151: ...151 6 SYMBOLOGIES Validate Type 11 then Type 10 Character and Transmit Disable MSI Check Characters...
Страница 154: ...154 6 SYMBOLOGIES Maximum Message Length...
Страница 157: ...157 6 SYMBOLOGIES Maximum Message Length...
Страница 230: ...230 Appendix A Reference Charts...
Страница 233: ...233 Appendix A Reference Charts...
Страница 236: ...236 Appendix A Reference Charts Programming Chart Numeric code table 0 1 2 3 4 5 6 Programming Chart Numeric code table...
Страница 237: ...237 Appendix A Reference Charts 7 8 9 Save Discard...
Страница 239: ...239 Appendix A Reference Charts 7 8 9 A B C D...