81
26.5.2. Response syntax
Response can include parameters or not and additionally can signalize errors.
After receiving an appropriate command scales response immediately with:
Immediate
response
Acknowledge of receiving a command
Accepting of a received command
Not accepting of a received command
Overall format:
ID _ STATUS CR LF
- example of a command without a parameter
ID _ STATUS _ PARAMETER CR LF
- example of a command with a
parameter
E S CR LF
- error detected or not listed command
where:
•
ID – command 1-4 characters
•
_
- space (ASCII 32 dec)
•
STATUS
– one character that outlines the response status or a status
of the scale.
Different possibilities:
A
– in case of commands that cannot be completed immediately -
command accepted
I
– correct command but cannot be executed at that moment
D
– in case of commands that cannot be completed immediately -
command completed
E
– error of execution of a command e.g. incorrect parameter value.
Additionally when the parameter is a weighings result, STATUS can
be:
_
- (space ASCII 32 dec) stable result
?
– non-stable result
^
- error – result over the range
v
– error – result below the range