4 serial command set reference, Remote interface reference – American Magnetics 185 & 186 Liquid Level Instruments (CE-Marked) User Manual
Page 48

38
Rev. 3
Remote Interface Reference
Serial Command Set Reference
5.1.4
Serial Command Set Reference
All commands sent to the Model 185/186 are processed and the Model 185/
186 responds with a return value (if applicable) and termination. If the
command is invalid, the Model 185/186 will respond with an error code
(see the Error Codes section). All return values including error codes are
terminated with
For those commands that do not return a value, the Model 185/186 will
return the
5.1.4.1 Commands for controlling the units of measurement
The CM command sets the units of measurement to centimeters and the
INCH command selects inches. The PERCENT command sets the units of
measurement to the percentage of active sensor length that is immersed in
liquid. The units of measurement selected through the serial
interface are controlled independently from the units mode toggle
switch used for controlling the front panel display.
The remote units
setting is saved in permanent memory by the SAVE command and is
restored at power-up. The UNIT command returns a one character value
(and termination) indicating the current units—C for centimeters, I for
inches, or % for percentage.
Command: CM
Function: Sets the units of
measurement to
centimeters
Returns:
Command: INCH
Function: Sets the units of
measurement to
inches
Returns:
Command: PERCENT
Function: Sets the
measurement to % of
sensor length
Returns:
Command: UNIT
Function: Returns the current
units in use
Returns: C, I, or %