LTI TruSense S300 Series Integration Manual 3nd Edition
Page 38
Copyright © [2016] Laser Technology, Inc. All Rights Reserved. Unauthorized duplication, in whole or in part, is strictly prohibited.
13 SDI-12 Commands Detailed descriptions and Examples
This subsection provides detailed descriptions of the SDI-12 command support for the TruSense
S300/S310 laser sensors. Examples identify the command sent to the sensor is shown in
BLUE
, and
the response is shown in
GREEN
.
“?!” Address Query
This command queries for
any
devices on the SDI-12 bus. There should only be one device on the SDI-12
bus when this command is issued as all devices will respond with their address, resulting in a corrupted
received response if more than one device is responding.
Command:
?!
Response:
a<CR><LF>
where:
?
= wildcard SDI-12 address
!
= SDI-12 command termination
character a
= responding sensor
’
s SDI-12 address
Example:
?!
8<CR><LF>
The responding sensor
’
s SDI-12 address is
„
8
‟
.
“a!” Acknowledge Active
This command queries for a
specific
device on the SDI-12 bus by its address. If no device is on the
SDI-12 bus at the specified address, there will be no response.
Command:
a!
Response:
a<CR><LF>
where:
a
= specified sensor
’
s SDI-12 address
!
= SDI-12 command termination character
Example:
8!
8<CR><LF>
The specified sensor responded.
“aI!” Send Identification
This command queries the S300/S310 for its SDI-12 compatibility level, company name, model
number, firmware version, and serial number.
Command:
Example:
8I!
813LASERTECS300
413000403<CR><LF>
. where:
sensor
’
s SDI-12
address =
„
8
‟
SDI-12 version
=
“
1.3
”
company name
=
“
LASERT
EC”
sensor model
=
“
S300
”
Firmware version
=
“
1.14-113
”
serial number
=
“
DS000403
”
“aAb!” Change Address
This command is used to change the SDI-12 for the S300/S310 sensor. The S300/S310 sensor will
reset after its SDI-12 address is changed.
aI!
Response:
annccccmmmvvvxxxx<CR><LF>
annccccccccmmmmmmvvvxxxxxxxxxxxxx<CR>
<LF>
where:
a
= specified sensor
’
s SDI-12 address
I
= Send Identification SDI-12 command
!
= SDI-12 command termination character
nn
= SDI-12 compatibility version number (n.n)
cccc
= company name
mmm
= sensor model
vvv
= sensor FW version number
xxxx
= sensor serial number