EasyManua.ls Logo

Mindeo ES4650 - 4-2 Examples of Setting and Query Commands

Mindeo ES4650
123 pages
Print Icon
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...
105
4-2 Examples of setting and query commands
The following examples illustrate how a command should be constructed and transmitted to the
embedded scanner.
Example 1: Append prefix 1N to all symbols
Step 1:
1) Set Prefix string setting to be 1N.
2) Look up the parameter table in 6 Parameter Menus and the ASCII table in 11 ASCII table. The
target parameter index is 8001.
3) Its numeral system is hexadecimal, indicated by H.
4) Using the ASCII table, “1N” is translated into 314E.
5) Put all above parts and then append a prefix and a storage indicator ., thus,
<SYN>M<CR>8001H314E. is the command.
6) Upon receiving command, embedded scanner response with “8001H314E<ACK>”.
Host: <SYN>M<CR>8001H314E.
Embedded Scanner: 8001H314E
8001
H
314E
<ACK>
0x38 0x30 0x30 0x31
0x48
0x33 0x31 0x34 0x45
0x06
Step 2:
1) Enable Prefix transmission.
2) Look up the parameter table in 6 Parameter Menus and the ASCII table in 11 ASCII table. The
target parameter index is represented by: 8201.
3) The numeral system is decimal: D.
4) The value is translated as: 0 and 1.
5) Put all above parts and then append a storage indicator . to construct the command:
<SYN>M<CR>8201D01.
6) Upon receiving command, embedded scanner response with 8201D01<ACK>.
Host: <SYN>M<CR>8201D01.
<SYN>M<CR>
8201
D
01
.
0x16 0x4D 0x0D
0x38 0x32 0x30 0x31
0x44
0x30 0x31
0x2E
Embedded Scanner: 8201D01<ACK>
8201
D
01
<ACK>
0x38 0x32 0x30 0x31
0x44
0x30 0x31
0x06
<SYN>M<CR>
8001
H
314E
.
0x16 0x4D 0x0D
0x38 0x30 0x30 0x31
0x48
0x33 0x31 0x34 0x45
0x2E

Table of Contents

Related product manuals