Echelon LNS User Manual

Page 76

Advertising
background image

LNS Programmer's Guide

62

3. If

the

System is being opened for the first time and can share media with

other independently managed systems, configure the system to use
shared media by setting the InstallOptions property to
lcaSharedMedia. The default for this property is private media

(lcaPrivateMedia). The shared media setting is typically required for

systems with power line, RF, or L

ON

W

ORKS

/IP channels.

Setting the InstallOptions property after you have initially

opened a system has no effect. You can only set this property

with a Local client application before opening the system for the
first time. You cannot set this property with a remote client

application.

When the lcaSharedMedia option is specified, the LNS ObjectServer

assigns a unique 6-byte value to the DomainId property that is based on

the Neuron ID of the Network Service Device that the LNS Server is

using. It also disables background discovery by setting the
DiscoveryInterval property to zero, disables background device-

pinging, and disables automatic registration of devices when service pin

messages are received. This is to avoid registering devices from other

systems. For more information on shared media, see Using Shared Media
on page 167.

MySystem.InstallOptions = lcaPrivateMedia

4. If the system is being opened for the first time and you are not using

shared media, set the system’s domain ID. Domain IDs can be 1, 3, or 6

bytes in length and are represented using 2 hexadecimal characters per
byte. If shared media was not selected and no domain ID is specified, the

LNS Object Server will set the domain ID length to 1 byte and the value
to 01. The following code shows a 3-byte domain ID.

MySystem.DomainId = "32A0CF"

NOTE: You can change the domain ID after opening the system. If you

plan on using the engineered mode installation scenario described in

Chapter 5 of this document, you do not need to set the domain ID until
the commissioning stage. This allows a single database to be defined that

is commissioned with many systems, each with a different domain ID.

Advertising