3 sma command set, Sma command set, Sma protocol – Rice Lake PR5220 Ethernet Transmitter User Manual

Page 126: Pr 5220 instrument manual

Advertising
background image

SMA Protocol

PR 5220 Instrument Manual

EN-126

Sartorius

6.3

SMA Command Set

The SMA command set is intended for requesting weight values and status information as well as for control
of the scale. The commands start with <LF> and end with <CR>.
Format: <LF>c<CR>

Requesting a Weight

Requesting a Weight

Command: <LF>W<CR>
Reply:

The scale immediately returns the weight and status: gross weight if not tared, net weight if
tared.

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

For details, see page 130.

Requesting the Weight with Stability

Command: <LF>P<CR>
Reply:

The scale returns the weight and the status only, when the stability condition is met: Gross
weight if not tared, net weight if tared.

For this function, the stability condition must be met. The maximum waiting time for stability is
set under [Tare timeout]; see Chapter 4.4.13.

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

After elapse of the waiting time without reaching stability, the following reply is sent:

<LF><_><1><n><_><f><----------><___><CR>

For details, see page 130.

Requesting Weight Continuously
This is a command which generates non-requested replies, because it does not function according to the strict
pattern of command and reply. After the command, the scale repeats the reply continuously.

Command: <LF>R<CR>
Reply:

The scale repeats the weight and status information continuously until another command is
received.

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

For details, see page 130.


Dependent on the used baud rate, the repetition rate of reply telegrams is roughly as follows:
19200 bd

100ms

9600 bd

110ms

4800 bd

170ms


Advertising