LonWorks SNVTs

Reference page for LonWorks Standard Network Variable Types (SNVTs) covering naming, fixed-point encoding, common types, engineering-unit constraints, enumeration types, and configuration-property families.

What LonWorks SNVTs Are

Standard Network Variable Types (SNVTs, pronounced “sniv-its”) are the standardized data types used by LonWorks devices to exchange information. Each Standard Network Variable Type defines a fixed encoding, a numeric range, a resolution, and the engineering unit family the value carries. They are maintained by LonMark International and listed in XIF files so that every network variable on a device carries an explicit, machine-readable type rather than a raw integer.

A Standard Network Variable Type is closer to a typed schema entry than to a Modbus register. It not only says how many bytes are on the wire, it says what the value means and which engineering unit the integrator must accept.

Why SNVTs Matter For Integration

Unlike Modbus registers, where the integrator picks the meaning, LonWorks variables advertise their meaning through the Standard Network Variable Type. That helps in two ways and hurts in one.

  • Helps: No guesswork about whether a value is a temperature, a pressure, or a setpoint. The type declares it.
  • Helps: Scaling and resolution are defined by the type. The gateway can convert correctly the moment the type is assigned.
  • Hurts: The engineering unit is part of the contract. A SNVT_press value is kilopascals. The protocol does not offer a PSI variant. Unit changes belong in the gateway point map or downstream, not in the source variable.

[!CAUTION] Many “wrong value” complaints on LonWorks projects are not communication faults. They are Standard-Network-Variable-Type unit assumptions that did not match the destination expectation. Confirm the type before assuming a transport problem.

SNVT Naming Conventions

Names follow a short pattern that makes the kind of data easy to read at a glance.

TokenMeaningExample
SNVT_All standard types start with this prefixSNVT_temp
_pPositive-only (unsigned) variant of a signed typeSNVT_temp_p
_fIEEE 754 floating-point variantSNVT_temp_f
_lev_Level or percent quantitySNVT_lev_percent
_elapsed_Elapsed timeSNVT_elapsed_tm
_countUnitless integer counterSNVT_count
_str_String typeSNVT_str_asc

Many physical quantities exist in three forms: signed integer, unsigned positive integer (_p), and float (_f). The choice is the device’s, not the integrator’s.

Common SNVTs

The LonMark master list defines hundreds of types. A short working set covers most building-automation deployments.

TypeDescriptionEncodingRangeResolutionUnit
SNVT_tempTemperature, signed16-bit signed−274.0 to 6279.50.1°C
SNVT_temp_pTemperature, positive16-bit unsigned0 to 6553.50.1°C
SNVT_temp_fTemperature, floatIEEE floatfull float rangefloat°C
SNVT_pressPressure16-bit signed−3276.8 to 3276.70.1kPa only
SNVT_lev_percentPercent or level16-bit signed−163.840 to 163.8350.005%
SNVT_flowFlow rate16-bit unsigned0 to 6553.50.1L/s
SNVT_countUnitless integer counter16-bit unsigned0 to 65,5351
SNVT_switchOn/off plus levelStruct (value + state)0–100% + on/off0.5%
SNVT_hvac_modeHVAC operating mode8-bit enum0–255
SNVT_occupancyOccupancy status8-bit enum0–255
SNVT_time_stampDate and time7-byte struct1 s
SNVT_elapsed_tmElapsed time6-byte struct1 ms
SNVT_str_ascASCII string31-byte string
SNVT_alarmAlarm recordStruct

For a wider tabulated view with BACnet mapping suggestions, see the LonWorks SNVT Reference and XIF Mapping Guide.

Fixed-Point Encoding And Scaling

Most non-float Standard Network Variable Types use fixed-point integer encoding with an implicit scale factor. The raw integer on the wire is converted to engineering units by multiplying by the type-defined resolution.

TypeRaw Wire ValueScaleEngineering Value
SNVT_temp_p2350× 0.1235.0 °C
SNVT_lev_percent20000× 0.005100.000 %
SNVT_press1013× 0.1101.3 kPa
SNVT_flow500× 0.150.0 L/s

A gateway such as the QuickServer applies the scale automatically when the type is correctly declared in the configuration. Values that show up off by exactly a factor of ten almost always mean the type assignment is wrong or missing.

[!TIP] If a temperature reads 3000 instead of 30.0, the most likely cause is a missing scale factor in the configuration. Verify the type assignment against the device’s XIF file before adjusting the BMS side.

Enumeration SNVTs

Several Standard Network Variable Types carry enumerated state values rather than scalar readings. The numbers map to named states defined by LonMark.

TypeCommon Values
SNVT_hvac_modeAuto (0), Heat (1), Morning Warm-Up (2), Cool (3), Night Purge (4), Off (6), Test (7)
SNVT_occupancyOccupied (0), Unoccupied (1), Bypass (2), Standby (3)
SNVT_switchStruct of value (0–100%) and state (-1, 0, or 1)

Enumeration types map naturally to BACnet Multi-State Input or Multi-State Value objects. Preserve the LonMark state names in the downstream object descriptor so technicians do not need to memorize numeric codes.

Engineering-Unit Constraints

Standard Network Variable Types are metric. North American supervisory systems usually expect imperial units. The unit conversion happens in the gateway map or in the BMS, never in the source variable.

Source UnitCommon BMS UnitConversion
°C°F°F = (°C × 9 / 5) + 32
kPaPSIPSI = kPa × 0.145038
L/sCFMCFM = L/s × 2.11888
L/hGPMGPM = L/h × 0.004403

The metric-only constraint is one of the most common surprises on retrofit jobs. Decide the unit policy before commissioning rather than during it.

SCPT And UCPT Configuration Properties

Some LonWorks values live outside the network-variable list. They sit in configuration properties.

FamilyDefined ByExamples
SCPTLonMarkSCPTminRnge, SCPTmaxRnge, SCPTlocation, SCPTalarmLimits
UCPTThe device manufacturerVendor-defined calibration, schedule, or behavior settings

[!NOTE] SCPT and UCPT entries can carry runtime data on some devices, not only static configuration. If an expected value never appears as a network variable, search the configuration-property section of the XIF file before assuming the device does not expose it.

Common Failure Modes

FailureLikely CauseAction
Value is off by a factor of tenWrong or missing scaleRe-declare the Standard Network Variable Type in the gateway configuration
Pressure reads kPa, BMS wants PSISNVT_press is kPa onlyConvert in the gateway point map or in the BMS
Enum value displays as a raw numberNo state-name mapping in the destinationMap LonMark state names to the BACnet MSI/MSV
Expected value is not in the XIFData is exposed through SCPT or UCPTCheck the configuration-property section
Two devices report the same name but different unitsDifferent Standard Network Variable Type variants (_p vs _f)Treat them as different interfaces; do not share the map