LonWorks SNVT Reference & XIF Mapping Guide

Reference guide for LonWorks Standard Network Variable Types (SNVTs), XIF device interface files, and network variable mapping for gateway integration projects.

Categories:

Overview

LonWorks (Local Operating Network) is an open standard (ISO/IEC 14908) control networking platform created by Echelon Corporation, now maintained by Renesas Electronics. It is widely deployed in building automation — HVAC controllers, lighting systems, and fire safety panels — and is one of the most common legacy protocols encountered in BACnet and Modbus integration projects.

Two concepts are central to every LonWorks gateway integration:

  • SNVTs (Standard Network Variable Types) — the standardized data types that define how LonWorks devices expose sensor readings, setpoints, and commands
  • XIF files (eXternal Interface Files) — device descriptor files that list all network variables, their SNVT types, and their addressing — the “register map” equivalent for LonWorks

This guide covers both in depth, with practical mapping guidance for QuickServer gateway configurations.

LonWorks Network Variable Data Flow

LonWorks Protocol Fundamentals

Network Variables (NVs)

LonWorks devices communicate through network variables — typed data points published or consumed across the network. Every sensor reading, setpoint, and command is a network variable.

Network variables come in two directions:

AbbreviationFull NameDirectionBACnet Equivalent
NVINetwork Variable InputWrite to deviceAnalog Output, Binary Output
NVONetwork Variable OutputRead from deviceAnalog Input, Binary Input

[!NOTE] The direction is from the device’s perspective. An NVO (output) is data the device publishes — you read it. An NVI (input) is data the device accepts — you write to it.

Neuron IDs

Every LonWorks node has a unique Neuron ID — a 48-bit hardware identifier burned into the Neuron chip at manufacture. Neuron IDs are required for device binding and cannot be discovered remotely in most configurations. They must be collected from device labels, commissioning records, or the installing contractor.

[!WARNING] Neuron IDs are a hard prerequisite for any LonWorks integration. Without them, the gateway cannot bind to devices. Collect Neuron IDs before ordering hardware or starting configuration.

Physical Layer

LonWorks uses FT-10 (Free Topology, twisted pair) at 78 kbit/s as its primary physical layer. Fiber optic networks require an FTT-10 USB converter for gateway connectivity.

MediaSpeedNotes
FT-10 (twisted pair)78 kbit/sMost common in building automation
TP/XF-12501.25 Mbit/sHigher speed, transformer-isolated
Power line3.6–5.4 kbit/sUsed in lighting and metering
IP (CEA-852 tunneling)VariesLonWorks over IP backbone

Standard Network Variable Types (SNVTs)

SNVTs (pronounced “sniv-its”) are the standardized data types maintained by LonMark International. Each SNVT defines the encoding, resolution, range, and engineering units for a particular type of measurement or command.

Why SNVTs Matter for Integration

Unlike Modbus (where registers are raw integers and the integrator assigns meaning), LonWorks network variables carry built-in type information. The SNVT tells the gateway exactly what data type to expect and what units it represents.

This is both a strength and a constraint:

  • Strength: No guesswork about whether a register is a temperature, pressure, or setpoint — the SNVT declares it
  • Constraint: The SNVT defines the unit — and that unit cannot be changed at the protocol level

Common SNVT Types

SNVTDescriptionData TypeRangeResolutionUnit
SNVT_tempTemperature (signed)16-bit signed−274.0 to 6279.5 °C0.1 °C°C
SNVT_temp_pTemperature (unsigned, positive)16-bit unsigned0 to 6553.5 °C0.1 °C°C
SNVT_pressPressure16-bit signed−3276.8 to 3276.7 kPa0.1 kPakPa only
SNVT_lev_percentLevel / percent16-bit signed−163.840% to 163.835%0.005%%
SNVT_flowFlow rate16-bit unsigned0 to 6553.5 L/s0.1 L/sL/s
SNVT_countCount16-bit unsigned0 to 65,5351(unitless)
SNVT_switchSwitch stateStruct (value + state)0.0–100.0% + on/off0.5%
SNVT_hvac_modeHVAC operating modeEnum (8-bit)0–255
SNVT_occupancyOccupancy statusEnum (8-bit)0–255
SNVT_time_stampDate/timeStruct (7 bytes)1 s
SNVT_str_ascASCII string31-byte string
SNVT_elapsed_tmElapsed timeStruct (6 bytes)1 ms

[!CAUTION] SNVT_press is kPa only. There is no PSI option at the protocol level. If the BMS requires PSI, the unit conversion must be done in the gateway configuration (1 kPa = 0.145038 PSI) or in the BMS itself. This is a frequent source of surprise at commissioning.

SNVT Scaling and Encoding

Most SNVTs use fixed-point integer encoding with an implicit scale factor. The raw integer on the wire must be converted to engineering units using the SNVT-defined resolution:

SNVTRaw Wire ValueScale FactorEngineering 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

When configuring a QuickServer, the gateway handles SNVT-to-engineering-unit conversion automatically if the SNVT type is correctly specified in the configuration. If the SNVT type is wrong, readings will be off by orders of magnitude.

[!TIP] If a temperature reading shows 3000 instead of 30.0, the most likely cause is a missing or incorrect scale factor in the gateway configuration. Verify the SNVT type assignment in the config matches the device’s XIF file.

Metric-to-Imperial Conversion

LonWorks SNVTs use metric units exclusively (°C, kPa, L/s). Building Management Systems in North America typically expect imperial units (°F, PSI, CFM).

Configure the unit conversion in the gateway point map:

SNVT UnitBMS UnitConversion
°C°F°F = (°C × 9/5) + 32
kPaPSIPSI = kPa × 0.145038
L/sCFMCFM = L/s × 2.11888

The QuickServer supports slope/intercept math in the point map configuration to perform these conversions inline.

XIF Files (eXternal Interface Files)

What a XIF File Is

A XIF file is the LonWorks equivalent of a Modbus register map. It is a binary or XML file extracted from a LonWorks device that describes:

  • All network variables (NVs) the device exposes
  • The SNVT type of each network variable
  • The NV index (address) for each variable
  • Whether each NV is an input (NVI) or output (NVO)
  • Any configuration properties (SCPTs/UCPTs)

Without a XIF file, you are configuring the gateway blind — guessing at NV indexes, SNVT types, and read/write capabilities.

[!WARNING] XIF files are a hard prerequisite for LonWorks gateway configuration. Do not start a configuration build without the XIF file for every device type on the network.

How to Obtain XIF Files

XIF files can be obtained through several methods:

MethodTool RequiredNotes
Export from commissioning toolLNS (LonMaker), Tridium Niagara, or OEM toolMost reliable — contains the exact NV list as configured
Extract from device firmwareEchelon NodeUtil or equivalentExtracts the default XIF from the Neuron chip directly
Request from device manufacturerNoneAsk for the XIF file matching the firmware version installed
Extract via gateway discoveryQuickServer NodeUtil modeQuickServer can discover and extract XIFs from connected devices

[!TIP] Always verify the XIF file matches the firmware version installed on the device. Manufacturers sometimes add or remove network variables between firmware revisions. A mismatched XIF will produce “phantom” points that cannot be read or missing points that should exist.

XIF File Contents

A typical XIF file for an HVAC controller contains entries like:

NV IndexNameDirectionSNVT TypeDescription
0nvoSpaceTempNVO (read)SNVT_temp_pSpace temperature sensor
1nvoDischargeTempNVO (read)SNVT_temp_pDischarge air temperature
2nviSetpointNVI (write)SNVT_temp_pTemperature setpoint
3nvoOccupancyNVO (read)SNVT_occupancyOccupancy status
4nviHvacModeNVI (write)SNVT_hvac_modeOperating mode command
5nvoDamperPosNVO (read)SNVT_lev_percentDamper position (0–100%)
6nvoFanSpeedNVO (read)SNVT_lev_percentFan speed (0–100%)
7nvoAlarmNVO (read)SNVT_alarmAlarm status

UCPT and SCPT Properties

Beyond standard NVs, LonWorks devices may expose configuration properties:

  • SCPT (Standard Configuration Property Type) — predefined by LonMark (e.g., SCPTminRnge, SCPTmaxRnge for sensor calibration ranges)
  • UCPT (User Configuration Property Type) — manufacturer-defined proprietary properties

[!NOTE] UCPT/SCPT properties often contain critical calibration and configuration parameters. Some devices expose runtime data through UCPTs rather than standard NVs — a pattern seen frequently in Siemens LON TEC controllers. Verify with the device manufacturer whether any data points of interest are UCPTs rather than NVs, as the gateway configuration uses a different access method for properties vs. network variables.

Mapping LonWorks to BACnet Objects

The most common LonWorks integration pattern is LonWorks → BACnet/IP using a QuickServer gateway. The gateway reads LonWorks NVs and exposes them as BACnet objects.

NV-to-BACnet Object Mapping

LonWorks NVDirectionSNVT TypeBACnet ObjectNotes
NVO (analog sensor)ReadSNVT_temp_p, SNVT_press, SNVT_flowAnalog Input (AI)Read-only measurement
NVI (analog setpoint)WriteSNVT_temp_p, SNVT_lev_percentAnalog Value (AV) or Analog Output (AO)Writable setpoint
NVO (binary state)ReadSNVT_switch (state byte)Binary Input (BI)On/off status
NVI (binary command)WriteSNVT_switchBinary Output (BO)On/off command
NVO (enum)ReadSNVT_hvac_mode, SNVT_occupancyMulti-State Input (MSI)Map enum values to state names
NVI (enum command)WriteSNVT_hvac_modeMulti-State Value (MSV)Writable mode selector

For detailed guidance on BACnet object type selection, see BACnet Object Types & Properties Reference.

Write Functions: NVUI vs NVPO

When the gateway needs to write to a LonWorks device, the correct write function must be selected:

FunctionFull NameUse Case
NVUINetwork Variable Update (Input)Standard write to an NVI — the default for most setpoints and commands
NVPONetwork Variable Poll (Output)Force-read an NVO — used to explicitly poll a device output
WRBXWrite Byte ExtendedDirect memory write — advanced, used when NVUI doesn’t apply
WRBCWrite Byte CompactCompact direct memory write — advanced

[!TIP] Start with NVUI for all write operations. If writes succeed on some devices but not others (e.g., AHU controllers accept writes but FCU controllers don’t), the issue is often that the target device requires a different function or has write protection enabled. Consult the device manufacturer’s documentation for write capabilities.

LonWorks Application IDs

LonWorks devices are classified by application ID (also called functional profile). Common application IDs in building automation:

App IDDescriptionTypical Points
8101VAV ControllerZone temp, setpoint, damper position, fan speed
8501AHU ControllerSupply/return air temp, fan status, valve positions
8515Chiller/Heat PumpEntering/leaving water temp, compressor status
9086Energy MeterkWh, kW demand, voltage, current
9641Boiler ControllerSupply water temp, firing rate, flame status

[!NOTE] Devices with the same application ID from different manufacturers may not have identical NV lists. Always verify against the actual XIF file — the application ID is a guideline, not a guarantee of compatibility.

Pre-Project Intake Checklist

Collect this information before starting any LonWorks integration. Missing items at this stage are the #1 cause of project delays.

Device Information

  • Device manufacturer and model — needed to source the correct XIF file
  • Firmware version — XIF files may differ between firmware revisions
  • Neuron ID(s) for every device on the network — 48-bit hardware address; cannot be discovered remotely
  • XIF file for each device type — required before configuration can begin
  • Subnet/Node IDs — required if replacing an existing gateway or node
  • Number of devices on the LonWorks trunk

Network Information

  • Physical media — FT-10 (twisted pair), fiber optic, or IP tunneling?
  • Existing network topology — is there a LonWorks router, repeater, or network manager?
  • Other devices on the trunk — any existing gateways or controllers sharing the network?

Integration Requirements

  • SNVT types needed — which measurements, setpoints, and commands are required?
  • Unit preferences — metric (°C, kPa, L/s) or imperial (°F, PSI, CFM)?
  • Desired BACnet point names — LonWorks NVs have technical names (e.g., nvoSpaceTemp) but no human-readable descriptions; the BMS integrator must specify the desired object names
  • Read/write requirements — which points are read-only monitoring vs. writable setpoints/commands?
  • Destination protocolBACnet/IP, BACnet MS/TP, Modbus TCP, or Modbus RTU?
  • Device Instance number for the gateway (if BACnet)

[!CAUTION] LonWorks network variables have no description metadata. Unlike BACnet objects (which have a Description property) or Modbus maps (which have documented register descriptions), LonWorks NV names like nvo3 or nvoSpaceTemp are all you get. The BMS integrator must provide the desired point names separately.

Troubleshooting Common Issues

SymptomLikely CauseFix
Temperature reads as 3000 instead of 30.0Missing scale factor — raw integer not divided by resolutionVerify SNVT type in config matches XIF; check slope/intercept settings
Pressure values in kPa but BMS expects PSISNVT_press is always kPaAdd slope = 0.145038 in gateway point map for kPa → PSI conversion
Write commands have no effectWrong write function (NVUI vs NVPO vs WRBX)Start with NVUI; consult device documentation for write capabilities
Writes work on AHUs but not FCUsDevice-specific write protection or different NV functionCheck if FCU requires different NV index or has write-protect enabled in device firmware
”Phantom” points — NVs in config but no dataXIF file doesn’t match installed firmware versionRe-extract XIF from device or request correct version from manufacturer
Gateway cannot discover devicesMissing or incorrect Neuron IDsVerify Neuron IDs from device labels; check physical wiring
Intermittent communication on fiber opticFTT-10 USB converter neededStandard USB-to-serial adapters don’t work on fiber; use Echelon 75010R or equivalent
Config builds fail or produce errorsUCPT/SCPT properties not handled as standard NVsUCPT/SCPT properties require different access method; check gateway documentation
Values show but are stuck / not updatingDevice not bound to gateway nodeRe-bind using Neuron ID; verify Subnet/Node ID assignments
Multi-year project reactivated — nothing worksNeuron IDs or network topology changedRe-collect Neuron IDs; re-extract XIF files; verify physical network

Chipkin Tools

  • QuickServer — LonWorks FT-10 to BACnet/IP or Modbus TCP gateway with built-in NodeUtil discovery
  • QuickServer — Multi-protocol gateway supporting LonWorks, BACnet, Modbus, and 35+ other protocols
  • CAS BACnet Explorer — Verify BACnet object exposure from the gateway after LonWorks point mapping
  • Chipkin Support — XIF file analysis, SNVT mapping, and LonWorks gateway configuration services

Need more help?

If this page does not resolve the issue, contact Chipkin support with the product model, protocol details, and any diagnostics you have already captured.

Open Chipkin Support