Command
Description
$mt
Trigger a measurement
$pt
Return measurement values
XX
Read a parameter with identifier XX
XX=xxxx
Write a parameter with identifier XX and the value xxx
Table 16:
List of RS-485 commands
Trigger a measurement
The command
$mt
triggers a complete measurement sequence as in the following example:
EXAMPLE
#W0001$mt|BE85;
Answer:
#A0001ok$mt|4FA9;
Read a parameter value
Read measurement interval (in the example below the menu item
B
):
EXAMPLE
#R0001B|228E;
Answer:
#A0001B=300|F8B3;
Request a complete data string
The command
$pt
requests a data string as in the following example:
EXAMPLE
#S0001$pt|
Answer: none
The data string is returned as soon as the SPA-2 has processed the command.
Request a single measurement value
The reading command
R
together with the index of the requested measurement returns a single
measurement value. In the following example the measurement value with index
01
(in this
example a water level) is requested:
EXAMPLE
#R0001_010cv|EA62;
11
S
er
ia
lc
o
m
m
u
n
ic
at
io
n
Manual
69