700-SDI-RADAR-300W-Man Rev 2 30 May 2022
19
/39
Part# 21370
Table 4-7: Common SDI-12 Read/Write Commands
NAME
COMMAND(S)
RESULTS
Get Readout
Duration
aXGRRT!
ad1
a = sensor address
d1 = Readout duration in seconds.
The duration is the length of time the adapter will power on the
sensor after an aM! command is received, before the data is ready
for readout
Set Readout
Duration
d1!
ad1
a = sensor address
+d1 = Readout duration in seconds to be set.
See “Get Readout Duration” for explanation of duration
Change Unit
Type
2+d1!
ad1
a = sensor address
+d1 = unit type
0: mm/s
4: fps
1: m/s
5: fpm
2: mph
6: cm/s
3: km/h
Read Unit Type
Read last value
2!
then
aXGRMV!
Response: a<val0>
<val0> = number of seconds to wait until the holding register
is available for reading
Input “Read last value” command after waiting time indicated in
the above response.
Response: a<val>
<val> = Unit type. See “Change Unit type” above for unit codes.
Change
Direction
Filter
9+d1!
ad1
a = sensor address
+d1 = direction filter type
0: both directions enabled
1: detect only incoming flow
2: detect only outgoing flow
Read Direction
Filter
Read last value
9!
then
aXGRMV!
Response: a<val0>
val0 = number of seconds to wait until the holding register is
available for reading
Input “Read last value” command after waiting time indicated in
the above response
Response: a<val>
<val> = Direction filter type. See above for filter type codes.