beautypg.com

J. p ship – Fairbanks FB2255 Series Instrument PC2255 PC Software Utility Program User Manual

Page 73

background image

Appendix 1: Data Output Formats

01/13

73

51297 Rev. 1

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