Change Address - aAb!
The factory setting of the address is ‘
0
’. If there are several sensors connected to one bus, the sensor address
can be changed with the command
aAb!
. The address is always a single ASCII character. Standard for addresses
are the ASCII characters ‘
0
’ to ‘
9
’ (decimal 48 to 57). If there are more than 10 sensors connected to one bus,
using the characters ‘
A
’ to ‘
Z
’ (decimal 65 to 90) and ‘
a
’ to ‘
z
’ (decimal 97 to 122) is allowed. The sensor answers
with its new address and
<CR><LF>
. After the address is changed, one should not send further commands to
the sensor for a period of one second (see also ‘SDI-12 Standard, Version 1.3, 2012’).
Syntax
Command
Answer
aAb!
b<CR><LF>
a
– Old sensor address
b
– New sensor address
A
– Command ‘Change Address’
b
– New sensor address
!
– End of command
<
CR><LF>
– End of answer
Example:
Command
Answer
0A1!
1<CR><LF>
Start Measurement - aM!
The command
aM!
requests that the sensor process the returning string and provide the available measured data.
In contrast to standard sensors described in the SDI-12 documentation the
RAINE-HYDRO
measures continuously.
Thus the measured values from the continuous measurement are stored in a
buff
er
while the string is being
processed. These values are processed after the string processing.
Th
erefore th
e RAINE-HYDRO alw
ays responds with ‘a003x’. This is also the reason why the
RAINE-HYDRO
does
not send a Service Request and ignores signals to interrupt the measurement. Prior to the returned waiting time (3 s)
the data logger must not send further commands. After expiration of the waiting time the data can be requested with
the commands
aD0!
and
aD1!
(see
Send Data
).
The data will not be overwritten until the next
C
,
M
, or
V
command
and can be read several times until then.
Syntax
Command
Answer
aM!
a0036<CR><LF>
a
– Sensor address
a
– Sensor address
M
– Command ‘Start Measurement’
003
– Seconds the sensor needs until the
measured
data
can
be
returned
(= 3 s)
06
– Number of provided measured data
!
– End of command
<CR><LF>
– End of answer
Example:
Command
Answer
1M! 10036<CR><LF>
The measured data can be requested with the commands
aD0!
and
aD1!
. (see
Send Data
).
19
SDI-RAINE-HYDRO
USER MANUAL
700-SDI-RAINE-HYDRO Rev1 03 Mar 2021
Part# 21184