RoadRunners – Communication Protocol
TF -
Protocol of communication
35/46
January 2007
6/ Examples
Here are some examples to illustrate each type of frame to be sent to the decoder and the
possible answer from the decoder..
6.1 Get Config
Example 1.1 – 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