LTI TruSense S300 Series Integration Manual 3nd Edition
Page 31
Copyright © [2016] Laser Technology, Inc. All Rights Reserved. Unauthorized duplication, in whole or in part, is strictly prohibited.
11 SDI-12 Communication
INTRODUCTION
In addition to a standard serial RS-232 for configuration and reporting interface, the TruSense S300
and S310 liquid laser sensors also provide a standardized SDI-12 serial interface for level
measurement reporting and configuration.
This section of the manual provides a detailed description of the LTI-implemented SDI-12 commands of
the SDI-12 communications protocol for the S300/S310. For more information on the SDI-12
commands, please refer to
SDI-12
–
A
S
erial-
D
igital
I
nterface Standard for Microprocessor-Based
Sensors, Version 1.3, January 28, 2016
,
The SDI-12 protocol allows sensor specific setup commands (Extended Commands). The TruSense
S300 and S310 provides a complete command set to configure the sensor in any liquid level
measurement environment.
The TruSense S300 and 310 are configured with the SDI-12 enabled and basic liquid mode settings
that will cover most liquid management level installations. The heart of the liquid setup is the $OS
serial command and its parameters. For more information see $OS under the RS-232 ASCII
commands. All commands for setting up liquid measurements are accessible through the serial RS-
232 ASCII commands or the SDI-12 Extended commands. Below is a table of the commands directly
relevant to Liquid sensing.
Liquid Setup Commands
Serial
Commands
Description
SDI-12
equivalent
Liquid Setup
$OS
Filter Mode
aXBn!
Frequency
aXDn!
Advanced Filtering
aXEn!
Running Average
aXFn!
Consecutive Error Reporting
$CE
Error Count
aXGn!
Measurement Mode
$MM
Liquid Mode = 4
aXAn!
Target Mode
$DM
First = 5 Last = 7
aXHn!
Table 4: Liquid Setup Commands
S300 / S310 SDI-12 Configuration
To use the SDI-12 interface of the S300/S310 laser sensors, the sensor
’
s factory default
enables the SDI -12 interface (See $TG). Once SDI-12 is enabled, the sensor can be
configuring via SDI-12 or RS-232 using the standard serial interface commands. The following
outlines the S300/S310 configuration process to enable the SDI-12 communications if disabled
through the RS-232 communication:
•
If pass word is enabled, enter th
e password (assumes default password) with “$PW,admin”
Note: Factory default is password disabled.
•
Enable the SDI-
12 interface with the “$TG,5” command.
•
Enable error reporting “$NE,0” command.