beautypg.com

Fairbanks PC2250 Utility Software User Manual

Page 60

background image

Appendix I: Data Output Formats

6/12

60

51214 Rev. 7


P Ship

Serial Data Output Format for P Ship, used to interface to FedEx Shipping Programs.

All computer commands and scale responses are ASCII character strings, where:

is an ASCII carriage return (hexadecimal 0D)
is an ASCII line feed (hexadecimal 0A)
is an ASCII End-Of-Text (hexadecimal 03)
(STATUS) is a two ASCII number representation of the scale status (in the form of
hexadecimal 3x3x, where the bit pattern of the low nibbles, indicated by an "x",
determine the actual status conditions)

COMPUTER
RESPONSE

SCALE RESPONSE

COMMAND
RESULT

W

XXX.XXUU(STATUS) Returns the

weight and scale
status in two
ASCII digits.

S

S(STATUS)

Returns the scale
Status in two
ASCII digits
(defined in the
following section)

Z

No response

Zeros the scale

All Else

?

Unrecognizable
command




Notes: In the scale response to "W":

1. XXX.XX =

A five digit number with two digits to the right of the decimal point

which is the displayed scale weight.


2. SP =

An ASCII space (hexadecimal 20). In the event of a negative

weight, an ASCII, "-" (hexadecimal 2D) is returned in this

location.


3. UU =

A two character weight identifier. If the scale is configured to

weigh kilograms, a "KG" (uppercase letters) will be returned, if

configured for pounds, "LB" (uppercase letters) will be returned.


4. The decimal point is returned by the scale as part of the ASCII string.

This manual is related to the following products: