lonworks-DynamicDevice

This component represents a Lonworks node. It adds support to the LonDevice with dynamically created components from a device’s self documentation or a Lon Xml (.lnml) file. Almost all Lon devices are implemented as dynamic device components.

In addition to the standard component views (Property Sheet, Wire Sheet, Category Sheet, Slot Sheet, and Link sheet, this component has two special views: Nv Manager and the Nc Manager.

Figure 30.   Dynamic device properties
Image

To access these properties, expand Config > Drivers > LonNetwork, right-click a dynamic device node and click Views > AX Property Sheet. (Your dynamic device node is probably named for the device rather than named “Dynamic Device.”)

In addition to the standard properties (Status, Enaled, Fault Cause, Health and Alarm Source Info), these properties are unique to this component.

Property container Example properties Description
Device Data additional properties
Identifies the Neuron chip and other information about the Local Lon device.
Points contained Holds individual proxy points.
Message In additional properties
Provides a message ID. Represents a single network variable in a Lon device.
Xml File text Configures the path to the xml file for a specific function.

Actions

Figure 31.   Lon device actions
Image

To access these actions, expand LonNetwork, right-click a dynamicdevice and click Actions.

 NOTE: Similar actions exist for the Local Lon Device, with exception of Learn Nv and Trim. 
Action Description
Ping
Attempts communication with the device. If successful, the device status reports {ok}. If this fails, the system sets device status to {down}
Upload
Reads transient (nvs) and persistent (ncis and cps) data from the device and writes them to the station database (Lon device). An Upload window selects the type of data.
Download
Writes persistent data (ncis and cps) to the device from values in the station database (Lon device). A Download window selects recursive writes.
Reset
Issues a reset command to the device.
Learn Nv Builds the Lon device’s child Lon components as a collection of nvs, ncis, and (if available) cps variables based on the Lonworks self documentation that resides in the device.
Service Pin
Issues a Lonworks service pin message for the host node. This action is unique to Local Lon Device, and is useful if installing the host using an external Lonworks network management tool (station as a Lon node only).

Actions

Figure 32.   nviRequest/nvoStatus actions
Image

By default, Lon components have two available actions, with right-click menu access from the Lon device’s Property Sheet, Nc Manager and Nv Manager views.

Action Description
Force Read Causes a read of the item’s Lon data from the device.
Force Write Sends the Lon component’s Lon data values to the device again. This does not apply to nvos.