Fairbanks X SERIES PR 5220 ETHERNET TRANSMITTER User Manual

Page 75

Advertising
background image

Section 6: SMA Protocol

05/11 76

51209 Revision 2

6.6.1

Standard Reply

With most commands, the reply format is as described below:
Exceptions are the commands: 'D', 'A'/'B' and 'I'/'N'.

<LF> <s> <r> <n> <m> <f> <xxxxxx.xxx> <uuu> <CR>

Reply format and meaning:
<LF>

Start of reply message

<s>

Scale status

Definition / example

‘Z’

Zero within 1/4d <xxxxxx.xxx>= 0.000

‘O’

Above Max <xxxxxx.xxx>= +weight

‘U’

Below zero <xxxxxx.xxx>= - weight

‘E’

Zero setting error

‘T’

Taring error

<space>

None of the above conditions

Note: For ‘E’, ‘I’, ‘T’ error conditions

<xxxxxx.xxx>= ————— (minus sign)

and ‘Z’, ‘O’, ‘U’ are overwritten.

<r>

Range

(‘1’, ‘2’, ‘3’, etc.) always ‘1’ for single range scales

<n>

Gross/net

Status

‘G’

Gross weight

‘T’

Tare weight (as reply from ‘M’ command)

‘N’

Net weight

‘g’

High-resolution gross weight

‘n’

High-resolution net weight

<m>

Stability status

‘M’

The scale is not stable

<space>

The stability-of-scale condition is met

<f>

Reserved for future extensions

<xxxxxx.xxx> Weight value; the field has always 10 characters

<uuu>

Unit of the weight value

<CR>

End of the reply message

Example:

Command

Reply

<LF>W<CR> <LF> <_> <1> <G> <_> <_> <_ _ _ _ 5.025> <lb_> <CR>

<LF>W<CR> <LF> <_> <1> <N> <_> <_> <_ _ _ _ 100000> <lb_> <CR>

<LF>H<CR> <LF> <_> <1> <g> <_> <_> <_ _ _ _5.0025> <lb_> <CR>

<LF>Z<CR> <LF> <Z> <1> <G> <_> <_> <_ _ _ _ _0.000> <lb_> <CR>

<LF>R<CR> <LF> <_> <1> <G> <_> <_> <_ _ _ _ 7.025> <kg_> <CR>

<LF> <_> <1> <G> <M> <_> <_ _ _ _ 7.650> <kg_> <CR>

... repeat...

<LF> <_> <1> <G> <_> <_> <_ _ _ _ 7.650> <kg_> <CR>

The scale repeats the weight, until another command is received.

Advertising