beautypg.com

Sma protocol, Pr 5220 instrument manual – Rice Lake PR5220 Ethernet Transmitter User Manual

Page 130

background image

SMA Protocol

PR 5220 Instrument Manual

EN-130

Sartorius

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

Reply format and meaning:

Start of reply message

Scale status

Definition / example

‘Z’

Zero within 1/4d = 0.000

‘O’

Above Max = +weight

‘U’

Below zero = - weight

‘E’

Zero setting error

‘T’

Taring error

None of the above conditions

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

= ————— (minus sign)

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

Range

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

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

Stability status

‘M’

The scale is not stable

The stability-of-scale condition is met

Reserved for future extensions

Weight value; the field has always 10 characters

Unit of the weight value

End of the reply message

Example:

Command

Reply

W

<_> <1> <_> <_> <_ _ _ _ 5.025>

W

<_> <1> <_> <_> <_ _ _ _ 100000>

H

<_> <1> <_> <_> <_ _ _ _5.0025>

Z

<1> <_> <_> <_ _ _ _ _0.000>

R

<_> <1> <_> <_> <_ _ _ _ 7.025>

<_> <1> <_> <_ _ _ _ 7.650>

... repeat...

<_> <1> <_> <_> <_ _ _ _ 7.650>

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