106
Example 2: Query current scan mode
1)
Look up the parameter table in 6 Parameter Menus and the ASCII table in 11 ASCII table. The
target parameter index is “0401”.
2)
The numeral system is decimal, thus, ‘D’ is used.
3)
The value field is filled with ‘?’.
4)
Put all above parts and then append a storage indicator ‘.’ to construct the command:
“<SYN>M<CR>0401?.”.
5)
Upon receiving command, embedded scanner response with “0401D01<ACK>”.
Host: <SYN>M<CR>0401?.
<SYN>M<CR>
0401
?
.
0x16 0x4D 0x0D
0x30 0x34 0x30 0x31
0x3F
0x2E
Embedded Scanner: 0401D01<ACK>
0401
D
01
<ACK>
0x30 0x34 0x30 0x31
0x44
0x30 0x31
0x06