Product Manual

13
Data Output Format:
In order for the serial data sent from the PC-400 to be useful, the data must be
organized so that it is easy to read. To accomplish this, the PC-400 arranges
the displayed data with additional text to indicate the active units and to indicate
the presence of motion during the reading.
“FO” Format: The basic data format sent by the PC-400 is illustrated in Fig.
2 through Fig. 4. Each line of data begins with an STX character (02 hex,
start of text) followed by a polarity sign (space for positive and “-” for negative)
which indicates the reading polarity. Next, the displayed weight is sent. Six
digits are used with a decimal point inserted in the correct position. After the
weight data is sent, a space followed by the units are added to the string. If
the scale is stable, a space is printed, else “MOT.” is printed instead. The
string is then finished by adding a carriage return and a line feed.
STX 2.452 lb MOT.CR+LF
Leading zeros are replaced with spaces.
Space
Carriage return & line feed:
ASCII characters 13 & 10
Motion indicator. Printed only when
scale is in motion. Space if stable.
Fig. 2 Format “F0” standard form.
STX: ASCII character 02 hex
(normally a non printing character)
“+” replaced with a space (“-“ if negative weight)
Displayed weight data
with units. (lb, oz, kg, g )