SDI-12 Commands Tech Note
SDI-12 Commands Tech Note
SDI-12 Commands Tech Note
SDI-12 address: 0
Address Query ?! a<CR><LF>The wildcard address ‘?’ character is only supported for
the Address Query command. It is ignored as an invalid address for
all other commands.
Acknowledge Active a! a<CR><LF>The device supports the basic address characters in the
range ‘0’ to ‘9’ and the extended address characters in the ranges ‘A’ to
‘Z’ and ‘a’ to ‘z’. All other characters are ignored as an invalid address.
The default address is ‘0’.
Change Address aAb! b<CR><LF>Where ‘a’ is the current address and ‘b’ is the new address
Information subject to change without notice. In-Situ, In-Situ logo, Baro Merge, BaroTROLL, HERMIT, HydroVu™, iSitu,
Pocket-Situ, RDO, RuggedCable, RuggedReader, SmarTROLL™, TROLL, VuSitu, and Win-Situ are trademarks or registered
trademarks of In-Situ Inc.©2016. All rights reserved. This product may be covered by patents identified at www.in-situ.com/
patents
2020-05-22
Start Verification aV! a0001<CR><LF>One result is available immediately for reading by
the Send Data command.a+n<CR><LF>where: n = lower 16 bits of
Send Data aDO! device status (0-65535) as described in the “Device Status” section of
this document.a<CR><LF>No values are returned after an additional
Additional Data aD1! ... aD9! data command.
Additional Data aD1! ... aD9! a<CRC><CR><LF>No values are returned after an additional data
command.
Additional Data aD1! ... aD9! No values are returned after an additional measurement command.
Additional Data aD1! ... aD9! No values are returned after an additional concurrent measurement
command.
1-970-498-1500 2 www.in-situ.com
ISCO Compatibility aXPR0! aIxIxIxIx<CR><LF>
where each Ix is a character pair identifying the parameter and units
for each measurement. The number of Ix pairs will equal the number
of data values returned for the Start Measurement and Start
Concurrent commands. The following pairs are supported (all other
units
return “??”).
Temperature, °C = “A0”
Temperature, °F = “A1”
Send Data aD0! One result is available immediately for reading by the Send Data
command.
1-970-498-1500 3 www.in-situ.com
Set Level Units aXLUnn! a0001<CR><LF>
where nn is the level units ID: 33 = mm, 34 = cm, 35 = meters, 37 =
inches, 38 = feet (default).
1-970-498-1500 4 www.in-situ.com
Zero Pressure aXPZ! a0011<CR><LF>
One value will be available for reading by the Send Data command
within 1 second. A service request (a<CR><LF>) will be sent when the
parameter is ready.
One value will be available for reading by the Send Data command
within 1 second. A service request (a<CR><LF>) will be sent when the
parameters are ready.
1-970-498-1500 5 www.in-situ.com
Device Status SDI-12 Configuration File
The device status register holds general status information. The device’s SDI-12 configuration file may be edited with a
Each set bit represents a status value. There are a limited serial connection and Win-Situ® 5 Software. Change the device’s
number of standardized predefined status values that all SDI-12 address and specify the parameter reporting order for
devices will support. These predefined status values are SDI-12 communications in the SDI-12 Setup dialog box (see
contained in the lower register. The upper register is reserved below).
for device specific status values.
1 While connected to a device in Win-Situ 5, click
Device Status Bit Values
the Setup tab, then click the SDI-12 Setup button.
Bit Category Description A dialog box like the one below will open.
0 Alarm Sensor high alarm
Sensor calibration
4 Warning
warning
Power management
8 Status
disabled 2 Address Character. The device’s current SDI-12
9 Status Device off line address is shown (factory default: 0). Enter the
Device hardware reset
desired address character to change the address.
10 Alarm
occurred 3 Select the sensor to report. All sensors supported
11 Alarm Device malfunction by the connected device are available in the drop-
down list.
12 Status No external power
4 Select the parameter to report. All parameters
Low battery – battery
13 Warning
capacity < 5%
supported by the selected sensor are available in
Low memory – data
the drop-down list.
14 Warning log memory capacity 5 Click Add to add the parameter to the Output
< 5%
Order. Repeat for all desired parameters. If you
15 N/A Reserved
wish to change the reporting order, select a
16-31 N/A
Available for device- parameter in the list and click the up arrow or the
specific status
down arrow to change its position in the output
Bits 0-7 of the device status register are reserved for order list.
sensor status. These bits are the logical OR of bits 0-7 of 6 Click OK when done. The software will write the
the sensor status register in each sensor connection. SDI-12 configuration to the device.
Bits 8-15 of the device status register are reserved for References
common device status. Any bit in this range that is not 1 SDI-12, A Serial-Digital Interface Standard for Microprocessor-
applicable to a device will be set to zero. Based Sensors, version 1.3. SDI-12 Support Group, Logan, Utah,
January 12, 2009. Available at www.sdi-12.org.
Bits 16-31 of the device status register are available for 2 In-Situ Modbus Communication Protocol. Available at www.
device-specific status. Any bit in this range that is not in-situ.com.
utilized by a device will be set to zero.
1-970-498-1500 6 www.in-situ.com