
PakBus Networking Guide
32
For example - the Quick Start network in Section 1:
Number of nodes = 4 (LoggerNet is one node) CR10XPB memory usage = 64 bytes
Number of neighbors to the CR10XPB router = 3CR10XPB memory usage = 24 bytes
Number of routers = 2 (counting LoggerNet) CR10XPB memory usage = 4 bytes
4.1.2.2 *D17 View Routing Table
01 :xxxx PakBus Address of destination node
01 :yyyy via neighbor (router) with PakBus Address yyyy
(yyyy is present only if a router is needed to access xxxx)
01 :zzzz worst case response time in seconds (hop metric)
02 :xxxx PakBus Address of destination node
02 :yyyy via neighbor (router) with PakBus Address yyyy
02 :zzzz worst case response time in seconds
...
0n :xxxx PakBus Address of destination node
0n :yyyy via neighbor (router) with PakBus Address yyyy
0n :zzzz worst case response time in seconds
A *D17 listing is added after 1 beacon response, held at least 1 beacon interval,
and dropped ≈ 20 secs after no beacon response.
A *D17 listing is added after one hello response, held for at least 2.5 × the
comms verification interval, and dropped if no response.
A “neighbor” is indicated in a *D17 Routing Table by a single PakBus Address
in that window number. For example, if device 0003 is a neighbor to a
datalogger, the datalogger’s routing table will look like this:
01: 0003 PakBus Address of destination node
01: 1.0000 worst case response time in seconds
The *D17 listing will change once the datalogger discovers a change in the
neighbor list of any router in the network (including itself) that results in a
change in the best routes to the nodes in the network. *D17 shows the current
"best" routes; it does not show all routes even though the datalogger has access
to all possible routes to any given node. If a router's neighbor list changes, all
routers are notified and will recalculate their "best route" routing table based on
the new information.
Although *D17 shows neighbors, in the case of multiple peripherals it does not
show the ports you use to access the respective neighbors.
The P199 instruction copies the *D17 Routing Table to a block of Input
Locations for transfer to another PakBus device.
Commentaires sur ces manuels