6.12 REGISTER MEASUREMENT UNITS
Each register has a unit, although many simply have ‘None’ as a unit. These are displayed on the LCD when selected, and are available to command line users using the information command. A single capital letter is used to refer to the unit.
These units are important when reading register information out (and thusly used to decode the register data returned from a register read).
The possible units are listed below.
Unit Code Displayed Unit Measurement Unit
A A Amps
D Deg Angle in degrees
G m^3/h Cubic meters per hour
H Hz Hertz
N No unit No unit
O m^3 Cubic meters
R var vars
S VA VA
T s Seconds and time in general
V V Volts
W W Watts
X Wh Watt hours
Y var varh
Z VAh VAh
Figure 6.11 Atlas Register Units
Generally no unit (N unit code) responses for register information requests correspond to registers which are null terminated strings or special block registers (containing many different bits of data packed into a single blob of data).
6.12.1.1. C# SAMPLE CODE
public enum AtlasMeasurementUnit : byte
{ Amps = (byte)'A',
Deg = (byte)'D', CubicMetersPerHour = (byte)'G', Hertz = (byte)'H',
None = (byte)'N', CubicMeters = (byte)'O', Vars = (byte)'R',
VA = (byte)'S', Seconds = (byte)'T', Volts = (byte)'V', Watts = (byte)'W', WattHours = (byte)'X', Varh = (byte)'Y', VAh = (byte)'Z' };