Example Scale data packet

<< Click to Display Table of Contents >>

Navigation:  Settings > Scale > Data Packet >

Example Scale data packet

Previous pageReturn to chapter overviewNext page

The following example discusses the data packet transmitted by the IQplus 350 digital weight indicator. This format is common to all IQ series indicators. The IQplus 350 installation manual (section 7.3) clearly describes the data packet:

 

uws10-oshawa-settings-scale-data-packet-4

 

Here is the data packet as seen in the Scale settings panel when the port is in the Opened state:

 

uws10-oshawa-settings-scale-data-packet-3

 

ASCII control characters are shown in Caret notation (e.g. ^B).

 

From this example, we can determine:

 

The start character is ^B
The end character is ^M or ^J

 

The Start and End values can be entered as decimal or Caret values when entered into the Data Packet property editors. Using Caret notation, here is how the Data Packet properties should be set for the IQplus 350 data packet:

 

scale-display-settings-scale-data-packet-1

 

The Packet length property set to 0 it is ignored.

 

Here is an alternate representation of the data packet (the line beginning with 000000) showing the position of each character in decimal and value of each character in hexadecimal:

 

uws10-oshawa-settings-scale-data-packet-2

 

From this example, we can determine:

 

Each data packet is exactly 14 characters in length (characters 0-13).
The start character is 02 (or ^B)
The end character is 0A (or ^J)

 


Hex

Decimal

Caret

Character

Start:

02

#2

^B

STX

End:

0A

#10

^J

LF

 

The alternate data packet representation was produced by HxD - Freeware Hex Editor.