
AD104-R2, AD104-R5
15 / 75
ba_aed104_8_e.doc
6.2
Answers to commands
Answers to inputs (exception COF64...COF79):
Answer
End character
Correct input
0 (zero)
CRLF
Faulty input
?
CRLF
Exceptions: The commands
RES, STP, S00 ... S99
deliver no answer.
The command
BDR
delivers the answer in the new baud rate.
An error flag is received through the command
ESR.
Answers to output commands:
Correct command
Parameter1, ... Parameter n, or measured values CRLF
Faulty command
? CRLF (error flag via command ESR )
6.3
Output types for the measured values
You can select two types of output and a data delimiter (command
TEX
).
Output type 1:
The measured values are output arranged beneath one another.
Measured value1 CRLF
Measured value2 CRLF
. . . . . . . .
Measured value n CRLF
Output type 2:
The measured values are output arranged next to one another.
Measured value1 (data delimiter) Measured value2 (data delimiter) ... Measured value n CRLF
The measured value query works with fixed output lengths
(see command COF):
Format command
AED answer
Number of bytes
COF0; msv?;
yyyy CR LF (y- binary)
6
COF2; msv?;
yy CR LF (y- binary)
4
COF3; msv?;
xxxxxxxx CR LF (x- ASCII)
10
COF9; msv?;
xxxxxxxx,xx,xxx CR LF (x- ASCII)
17
There is always a CRLF or the data delimiter defined by the command TEX as end identification of the
measured value output. However these characters must not be filtered out as end identification in the binary
output, since these characters can also be contained in the binary code of the measured value. Therefore only
counting the bytes helps in the binary output. The corresponding places after CR or LF or the data delimiter can
then be enquired for subsequent syntax testing.
Password protection:
The password protection of the AED comprises important settings for the characteristic of the scale
and its identification. Commands with password protection are activated only after the password is
entered. These commands are answered with “?“ without entry of the password through the command
SPW.