Format Insert - Microscan MS-890 User Manual

Industrial automation scanner
Table of Contents

Advertisement

Format Insert

Output Index
Output Index refers to the database entry you wish to modify with this
Definition:
command. A formatted output is built by extracting data from a symbol's
original data output and/or inserting user-defined characters.
It may be helpful to think of individual indexes as positions in the final formatted
output you wish to build. Starting with index # 1, enter either an extract or
insert command to begin building your desired output string. Then, with the
next index number, enter either an extract or insert command to continue
building the output string. Continue this process until you are finished building
the string.
<K741,output
Serial Cmd:
Options:
1 to 100
Length
Definition:
Specifies the length of the user-defined character string that will be inserted.
This function is limited to 4 characters per output index, so multiple indexes
must be entered in order to insert longer character sequences.
For example, if you wish to insert a 10 character sequence in user-defined
output, you would need three commands with consecutive index numbers,
where the first two character sequence lengths were 4 and the third was 2.
<K741,output index,length,hex string>
Serial Cmd:
Default:
0
(disabled; end of format cell array)
Options:
1 to 4
Hex String
Definition:
Specifies a character string that represents ASCII characters to be inserted
in the database entry. Two hex characters are required for every ASCII
character to be inserted in the user-defined output string. These two characters
comprise the hex (base 16) value of the ASCII character.
For example, if you wanted to enter the three-character sequence "Hi!" you
would enter 3 for the length of the string, and a hex sequence of 486921 for
the ASCII sequence to be inserted. (48 = H; 69 = i; 21 = !)
Important: Each pair of hex characters represents one ASCII character.
Hex character pairs range from 00 to FF. Since you are limited to 4 ASCII
characters per insertion per database entry, you are likewise limited to 8
hex characters per insertion per database entry.
Serial Cmd:
<K741,output
NUL (00
Default:
Options:
00 to FF (As many as 4 bytes, or hex pairs.)
MS-890 Industrial Automation Scanner User Manual
index,length,hex string>
index,length,hex
in hex)
string>
Output Format
13-7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MS-890 and is the answer not in the manual?

Questions and answers

Table of Contents