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
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.