85
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.
<SYN>M<CR>
8001
H
314E
.
0x16 0x4D 0x0D
0x38 0x30 0x30 0x31
0x48
0x33 0x31 0x34 0x45
0x2E
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
Содержание ES700
Страница 1: ...i ES700 Image Platform User Manual Version ES700_UM_EN_V1 1 4 ...
Страница 9: ...5 2 2 Dimensions Figure 2 2 Dimensions ...
Страница 10: ...6 2 3 Field of view Figure 2 3 Field of view Figure 2 4 Field of view Front view ...
Страница 11: ...7 Figure 2 5 Field of view Horizontal Figure 2 6 Field of view vertical ...
Страница 17: ...13 Two bits 01 ...
Страница 32: ...28 Enable 01 ...
Страница 45: ...41 Enable 01 ...
Страница 92: ...88 6 ASCII Table Notes The 2nd and the 3rd columns above are used for keyboard wedge only ...
Страница 97: ...93 To finish parameter setting please scan the bar code below ...