EasyManua.ls Logo

Unitech MS926 - Page 114

Unitech MS926
139 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 100 -
MS926 Users Manual
Insert a string
BA Send “ss” string of “nn” length in the output message, leaving the cursor
in the current position. Syntax = BAnnnns...s where nnnn stands for the
length of the string, and s...s stands for the string. The string is made up
of hex values for the characters in the string. Refer to the ASCII
Conversion Chart (Code Page 1252), for decimal, hex and character
codes.
B9 and BA Example: Look for the string “AB” and insert 2 asterisks (**)
Using the bar code above, send all characters up to but not including “AB.”
Insert 2 asterisks at that point, and send the rest of the data with a carriage
return after.
Command string: B900024142BA00022A2AF10D
B9 is the “Send all characters up to a stringcommand
0002 is the length of the string (2 characters)
41 is the hex value for A
42 is the hex value for B
BA is the “Insert a string” command
0002 is the length of the string to be added (2 characters)
2A is the hex value for an asterisk (*)
2A is the hex value for an asterisk (*)
F1 is the “Send all characters” command
0D is the hex value for a CR
The data is output as:
1234567890**ABCDEFGHIJ
<CR>

Table of Contents

Related product manuals