SMA Protocol PR 5211 Instrument Manual
EN-54 Sartorius
5.4.6 Scale Information ‘I’ and ‘N’ Command Response
Response Format for Information commands ‘I’, ‘N’ (variable length):
<LF><xxx>:<yyyyyy><CR>
where:
<LF> Start of Information response
<xxx> About field descriptor is fixed at 3 characters, is left justified, filled with blanks on the right side.
Following fields are required:
“SMA” compliance level/revision
(response of ‘I’ command)
“TYP” Scale type: ‘S’= Scale
(response 1st ‘N” command)
“CAP” capacity of range, unit-of-measure, count-by and decimal position, each delimited by
‘:’
where: yyyyyy= uuu:c..c:n:d
c..c= full scale capacity of this range (may include decimal point)
n= least significant count-by digit (e.g. 1, 2, 5,10,20…) no decimal point
d= decimal point position
‘0’= none
‘1’= xxxx.x
‘2’= xxx.xx
‘3’= xx.xxx . . etc. (response of 2nd ‘N’ command)
“CMD” supported SMA commands
(response of 3nd ‘N’ command)
this is the last INformation field
(response of the last ‘N’ command)
‘:’ Separator between field name and field contents.
<yyyyyy> About fields contain 25 characters maximum.
SMA field contents <level/revision>
where: level= (1, 2, etc.); revision= (1.0, 1.1, etc.)
<CR> End of Information response
Example:
6000 kg × 1 kg platform scale
Command Response
<LF> I <CR> <LF>SMA:2/1.0 <CR>
<LF>N<CR> <LF>TYP:S <CR>
<LF>N<CR> <LF>CAP:kg_:6000:1:0 <CR>
<LF>N<CR> <LF>CMD:HPTMCR <CR>
<LF>N<CR> <LF>END: <CR>
5.5 Communication Error Handling
If a communication error is detected by the scale either through parity bit (optional) or a data framing error
the scale will respond with an ASCII ‘!’. The only other error mechanism that has been incorporated into the
scale is the unrecognized or unsupported command response message, in this case the scale responds with
an ASCII ‘?’. Upon error discovery the host can then decide which course of action to take to re-affirm or
re-establish proper communications with the scale.