Accubar SDI-12 Barometric Pressure Sensor Operations & Maintenance Manual Rev-B 30 Nov 2017
pg. 18
aXUP+n+d!
where n is one of the selections from the following
table and d is the number of digits to the right of the
decimal point.
N
Type Units
Comments
0
mB (hPa)
1
inches of
mercury
2
kPa
3
mmHg
4
Atm
5
psia
9
user units
the value has units that depend on
the values entered using the XUU
command.
For example, the command
aXUP+0+2!
will specify the output to be in the default units (mB) with a resolution of 2 decimal places. The second
parameter (2 in the example) is optional. If omitted, the resolution is not changed.
Setting User Units
If you want the sensor to read out in units other than the factory-programmed units, you will need to
use the XUP command to set the units to 9, user units. When user units are selected, the software will
use the equation:
output = mB * scale + offset
where scale and offset are values you can enter into the system.
The XUU command is used to enter the user scale and offset. The format of the command is:
aXUUso!
where s is the signed scale and o is the signed offset.