23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LonWorks 41-11<br />

TABLE 41.1<br />

Definition of Standard Network Variable Types Used in the Example<br />

SNVT Purpose Data Type Range<br />

SNVT_lux Illumination level unsigned long 0…65,535lx (raw: 0…65,535)<br />

SNVT_occupancy Occupancy state enum occup_t OC_OCCUPIED,<br />

OC_UNOCCUPIED,…<br />

SNVT_scene Calling scenes struct of:<br />

enum scene_t function<br />

unsigned short<br />

scene_number<br />

SNVT_setting<br />

Setting value<br />

(e.g., for<br />

sunblind)<br />

struct of:<br />

enum setting_t function<br />

unsigned short setting<br />

signed long rotation<br />

SC_RECALL, SC_LEARN,…<br />

1…255<br />

SET_DOWN, SET_UP, SET_STOP,…<br />

0.0…100.0% (raw: 0…200)<br />

−359.98…360.00°<br />

(raw: −17,999…18,000)<br />

SNVT_speed Linear velocity unsigned long 0…6,553.5 m/s (raw: 0…65,535)<br />

Composite types are structures (struct) and unions (union) of basic types. Each SNVT field has a scale<br />

and an offset to represent values with a resolution lower than one. SNVT _ temp has, for example, a scale<br />

of 0.1 and an offset of −2740 to represent a range of −274.0°C to 6,279.5°C by raw values 0–65,535 (2 bytes).<br />

Other SNVTs, which are used in the example, are described in Table 41.1.<br />

SCPT types often reference SNVT types. For example, SCPTtempOffset, which is used as calibration<br />

offset of temperature probes, references SNVT _ temp _ diff _ p, which describes a temperature<br />

difference.<br />

Manufacturers can use their own user-defined network variable and configuration types (UNVT/<br />

UCPT), which can be new types or referenced SNVT/SCPTs. These user types are always manufacturer<br />

specific, so they are only valid for one manufacturer. They additionally have a scope, which defines the<br />

range of application of a type. The range can be further limited to a device class, usage, channel type,<br />

or an application itself. System integration tools ensure that only network variables of the same type<br />

(SNVT or UNVT) can be bound.<br />

41.6 Network Design Tools<br />

Traditionally, each assembly section, such as lighting, sunblind, and HVAC, has its own designers and<br />

system integrators. Since LonWorks covers all these assembly sections, the bus can be shared. If all<br />

nodes are installed on one shared bus and the system integrators do not coordinate each other, which<br />

often was the case, the completed system will not work: Logical addresses are used more than once or<br />

bindings will be overwritten. A solution to this problem is to use a central database, where all assembly<br />

sections are working on. On this account, Echelon released LonWorks network services (LNS) in 1996,<br />

which is a de facto standard in the LonWorks world now. The LNS Server offers a database, where networks<br />

can be stored, and an API, which provides network management methods for adding devices to a<br />

network, binding network variables, and setting node and application-specific configuration properties.<br />

With the first release of the LNS database, Echelon created the prerequisites for the development of<br />

a wide range of LNS-based system integration tools for LonWorks networks. Today, tools from several<br />

manufacturers are available on the market, which use the LNS database as backend [13]. Examples<br />

are the LonMaker from Echelon [14], NL 220 and NL Facilities from Newron System [15], Alex TE<br />

from Spega [16], and the Network Integrator from Circon Systems [17]. They all incorporate mostly all<br />

LNS functions and enable the design, parameterization, commissioning, and test of open multi-vendor<br />

LonWorks <strong>systems</strong>.<br />

Besides, also LonWorks system integration tools exist that are specialized to devices from a<br />

specific manufacturer. This limitation to a small number of devices makes an easier, semiautomatic<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!