Addressing and routing, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 113

Advertising
background image

L-force | PLC Designer

Concepts and Base Components

DMS 4.1 EN 03/2011 TD29

111

3.11.3

Addressing and Routing
Addressing maps the topology of the control network to unique addresses. A node
address
is built up hierarchically:
For each network connection a local address identifying the node uniquely within its
respective local network is allocated by the relevant block driver. For the entire node
address this local address is preceded by the subnet index the local network is assigned
to by the parent. Furthermore it must be preceded by the node address of its parent.
Thereby, the length of the subnet index (in bit) is determined by the device, whereas
the length of the local address is determined by the network type.
A node without main network is a top-level node with address 0. A node with a main
network that does not contain a parent is also a top-level node and will be assigned to
its local address in the main network.

Abb. 21

Example - Main net and sub nets

In the example the addresses of the child nodes are given in hexadecimal
representation. The first 4 digits represent the address of the particular parent within
the main net, e.g. 0x007A=122 for PLC1. The next byte (displayed in blue) is reserved
for the subnet index and this is followed by the local address, e.g. C=12 for NodeId 12.
Due to the structuring of the address the routing algorithm can be kept relatively lean.
For example, no routing tables are necessary. Information is required locally: on the
own address and on the address of the parent node.

Advertising