Using shared media – Echelon LNS User Manual

Page 181

Advertising
background image

LNS Programmer's Guide

167

To re-associate a client with the correct network service device and re-attach the client to

the network, follow these steps:

1. Open the system, and get the Network Service Device to be attached to

the network from the NetworkServiceDevices collection.

Set MySystems = MyNetwork.Systems

Set MySystem = MySystems.Item(1)

MySystem.Open()

Set MyNSDCollection = MySystem.NetworkServiceDevices

Set MyNSD = MyNSDCollection.Item(“MyNSD”)

2. Call

PreReplace() on the network to be attached to, with the selected

Network Service Device as the sourceNSD element.

MyNetwork.PreReplace(MyNSD)

3. Close the system, and release all references to the system.

MySystem.Close()

4. Close the network, and release all references to the network.

MyNetwork.Close()

5. Call

Replace() on the network.

MyNetwork.Replace()

6. Re-open the network.

MyNetwork.Open()

Using Shared Media

A network is said to contain shared media if it shares channels with other independently

managed networks. For example, power line and RF networks often use shared media,

since all networks plugged into the power line (or transmitting over the radio) share the

same media. A network is said to contain private media if only one network
communicates using the channels. Media such as twisted pair is more easily isolated and

tends to be used as private media; however, you can still create a design where multiple,
independent networks share a twisted pair channel.

When determining whether your installation is shared or private, you should consider

whether you intend to share the media with another network, and whether the end-user

may add another network to the media in the future. For example, if the media is power

line, it is likely to be shared, now or in the future, even if you are installing only one LNS
network.

If you are installing a twisted-pair based stand-alone alarm system, then it will probably

always be private. However, networks intended for private use often use a shared high-

performance backbone, for example when connecting multiple buildings on a site. Subject

to the technology used for this shared channel, each network sharing this channel can
use private media, or become a shared media network. Generally, it is desirable to use

private media, due to more efficient network use and simplified installation and

maintenance. For shared backbones using a L

ON

W

ORKS

/IP channel, network design

should allow for one virtual L

ON

W

ORKS

/IP channel exclusive to each of the participating

Advertising