![Baracoda Pencil 2 Скачать руководство пользователя страница 30](http://html1.mh-extra.com/html/baracoda/pencil-2/pencil-2_communication-protocol-manual_3785337030.webp)
BaracodaPencil 2 – Communication Protocol v1.3
- 30 -
Data Capture
for Workforce
in Motion
2.4.6.
2.4.6.
2.4.6.
2.4.6.
Examples
Examples
Examples
Examples
Here are some examples to illustrate each type of frame to be sent to the decoder and the possible
answer from the decoder.
2.4.6.1.
2.4.6.1.
2.4.6.1.
2.4.6.1.
Get Config
Get Config
Get Config
Get Config
Example 1
Example 1
Example 1
Example 1.1
.1
.1
.1
Getting configuration of Code 39 symbology.
Getting configuration of Code 39 symbology.
Getting configuration of Code 39 symbology.
Getting configuration of Code 39 symbology.
Frame to be sent to the decoder:
‘E’
‘A’
0
-
Header
Type
Size
Command
The decoder answers the following frame:
‘E’
‘A’
4
$01 , $05, $06, $20
Header
Type
Size
Command
By reading this answer frame, we can check that the decoder has well understood the selected
symbology (header "E"). The command field contains the configuration itself:
1
st
byte :
$01
Bit
Option
1
0
Symbology Enabled
0
1
Min. length Disabled
0
2
Checksum calculation Disabled
0
3
Checksum transmission Disabled
0
4
Max. length Disabled
0
5
-
0
6
-
0
7
-
2
nd
byte :
$05
Bit
Option
1
0
start-stop transmission Enabled
0
1
Full ACSII Mode Disabled
1
2
"*" as start-stop character Enabled
0
3
"$" as start-stop character Disabled
0
4
-
0
5
-
0
6
-
0
7
-
3
rd
byte : Min length = 6
4
th
byte Max length = $20 = 32