Data Capture for Workforce in Motion

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

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

1st 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

-

 

 

 

 

 

 

2nd 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

-

 

 

 

3rd byte : Min length = 6

4th byte Max length = $20 = 32

BaracodaPencil 2 – Communication Protocol v1.3

- 30 -

Page 30
Image 30
Baracoda 2 manual Examples