23.03.2017 Views

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LonWorks 41-3<br />

Channel 1<br />

Subnet 2<br />

Channel 4<br />

Repeater<br />

Channel 3<br />

Group 1<br />

1/3<br />

2/3<br />

2/10 2/11<br />

3/3<br />

Channel 2<br />

1/2<br />

2/2<br />

3/2<br />

1/1<br />

2/1<br />

Subnet 4<br />

3/1<br />

Subnet 1<br />

Subnet 3<br />

s/n ... Subnet/node address<br />

4/12<br />

Router Router Domain ID of all nodes: 0×53<br />

Router<br />

Channel 5 (backbone)<br />

FIGURE 41.2<br />

Physical and logical segmentation in LonWorks <strong>systems</strong>.<br />

The physical and logical view of a LonWorks network example is shown in Figure 41.2. The network<br />

physically consists of several channels connected by routers and repeaters. Logically, it is separated<br />

into subnets. One domain can consist of up to 255 subnets with a maximum of 127 nodes each, which<br />

results in a maximum of 32,385 nodes per domain. Additionally, nodes can be grouped. Per domain 256<br />

groups can be defined. The example contains one group, which spans three nodes in different subnets<br />

and channels.<br />

As mentioned before, different transceivers support different <strong>communication</strong> media. A common<br />

medium is twisted pair with a data rate of 78.kbps, where the signal is coded as voltage difference<br />

between the two conductors. A compatible variant of twisted pair is Link Power, which also provides<br />

the power supply (42.4.V DC) for the nodes over the twisted pair medium. For backbones, twisted pair<br />

can also be run with 1250.kbps, but only with a reduced maximum distance of 130.m among the nodes.<br />

The topology of twisted pair networks does not have to be a strict line or star. Networks can also<br />

be built as free topology containing arbitrary branches and loops. However, the maximum distance<br />

decreases when using free topology. So, for example, a line bus with short branches allows a maximum<br />

distance of 2700.m among the nodes, whereas in a free topology, it is limited to 500.m.<br />

Other supported media are power line with up to 10.kbps, fiber optics (1.25.Mbps), radio frequency<br />

(up to 19.5.kbps), and the above-mentioned LonWorks/IP (100.Mbps with current IP routers).<br />

To increase the maximum distance of LonWorks networks, repeaters can be used. They simply refresh<br />

all incoming signals and send them to the other network segment, which has to be the same medium<br />

and has to use the same message coding.<br />

Since LonTalk implements the OSI reference model, LonWorks networks can be connected at higher<br />

layers, too. Bridges, working on the data link layer, can be used to connect networks based on different<br />

media and coding. They also ensure that only valid messages are forwarded to the other side.<br />

More common than pure LonTalk bridges are routers, which work on the network layer. Routers have<br />

the advantage that they do not only increase the range of the signals or connect different media, but<br />

they also separate the network traffic of different subnets because routers only forward those messages,<br />

whose destination is on the other side of the router. Therefore, routing tables are used. They describe<br />

which subnets or groups are connected on which port of the router. There are two methods how routing<br />

tables can be obtained: In configured router mode, the tables have to be defined by the system integrator<br />

and in learning router mode, the network traffic is used to determine which subnets are connected to<br />

which port. LonWorks routers can also operate in bridge and repeater mode.<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!