Echelon LNS User Manual
Page 125
LNS Programmer's Guide
111
SFPTnodeObject implements two network variables: nviRequest of type
SNVT_obj_request, and nvoStatus of type SNVT_obj_status. It also implements a single
configuration property: cpLocation of type SCPTlocation.
The UFPTcooker LonMark Functional Block implements two network variables:
nviEnable of type UNVTenable to enable the heaters, and nvoDemand of type
UNVTdemand to request a time-slice of energy to be allocated. In addition, it implements
two configuration properties: cpTimeSlice of the ACME-defined type UCPTtimeSlice, and
cpDefault of the standard SCPTdefault type.
All SNVT, SCPT, and SFPT types are defined in the standard resource file set, which is
automatically available on every LNS-based PC. No extra steps need to be taken to
enable those types.
However, the UNVT, UCPT, and UFPT types are defined in user-defined resource file
sets, which you must register with the device catalog on each PC that will access devices
implementing these types. You can perform many of the basic network management
functions without registering the related device resource files. However, monitoring,
control, and enhanced diagnostics features may require the resource files to be
registered. Figure 6.2 illustrates the device interface and device resource files on a single
PC, as related to the fictitious Cooker 2010 device.
SFPTnodeObject
nviRequest
nvoStatus
SCPTlocation cpLocation
UFPTcooker
nviEnable
nvoDemand
UCPTtimeSlice cpTimeSlice
SCPTdefault cpDefault
SNVT_obj_request SNVT_obj_status
UNVTenable UNVTdemand
acme.typ/.fpt/.fmt/
.enu
UFPTcooker,
UNVTenable,
UNVTdemand,
UCPTtimeSlice,
...
nviRequest,
nvoStatus,
nviEnable,
nvoDemand,
...
Cooker.xif/.xfb
+
Local Disk (C:)
+
LonWorks
+
Import
+
ACME
+
Types
+
User
+
Acme
standard.typ/.fpt/.fmt/
.enu
SFPTnodeObj...,
SNVT_obj_...,
SCPTlocation,
SCPTdefault,
...
LDRF.cat
acme.typ/.fpt/.fmt/
.enu
UFPTcooker,
UNVTenable,
UNVTdemand,
UCPTtimeSlice,
...
+
Local Disk (C:)
+
LonWorks
+
Types
+
User
+
Acme
standard.typ/.fpt/.fmt/
.enu
SFPTnodeObj...,
SNVT_obj_...,
SCPTlocation,
SCPTdefault,
...
LDRF.cat
Device Implementation
Support files on an LNS Server PC
Support files on an LNS Remote Client PC
Figure 6.2 Device Interface and Resource Files on a PC