beautypg.com

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

Page 133

background image

PR 5220 Instrument Manual

SMA Protocol

Sartorius

EN-133

Scale Reply with ‘I’ and ‘N’ Commands
Reply format with and 'N' commands (variable length):
:
Reply format and meaning:

Start of reply from 'I'/'N' command

The field name is three characters long, left-adjusted and filled up with spaces, if necessary.

The following fields are sent:

“SMA”

level/revision

(reply from ‘I’ command)

“TYP”

Scale type: ‘S’= scale

(reply from the 1st ‘N’ command)

“CAP”

Max, unit, scale interval and decimal position, separated by ‘:’

Meaning
:

yyyyyy= uuu:c..c:n:d

uuu= unit

n= scale interval (e.g. 1, 2, 5,10,20…) without decimal point

d= decimal point position

‘0’= without, ‘1’= xxxx.x, ‘2’= xxx.xx, ‘3’= xx.xxx , ... etc.

(reply from the 2nd ‘N’ command)

“CMD”

Supported SMA commands

(reply from the 3rd ‘N’ command)

“END”

This is always the last inscription field

(reply from the last ‘N’ command)

‘:’

Separator between field name and field content.

The data field has up to 25 characters.

The SMA field contains

Meaning: level= (1, 2, etc.); revision= (1.0, 1.1, etc.)

Start of reply from 'I'/'N' command

Example: 6000kg x 1kg platform scale

Command

Reply

I

SMA:2/1.0

N

TYP:S

N

CAP:kg_:6000:1:0

N

CMD:HPTMCR

N

END:

Example: 5000g x 1g, 10000g x 2, 25000g x 5 multiple range / multi-interval

Command

Reply

I

SMA:2/1.0

N

TYP:S

N

CAP:g_:5000:1:0

CAP:g_:10000:2:0

CAP:g_:25000:5:0

N

CMD:HPTMCRQ

N

END: