Result location, Routing table information (p199), Example – Campbell Scientific TD Operating System Addendum for CR510, CR10X, and CR23X User Manual

Page 60

Advertising
background image

Section 12. Program Control Instructions

12-16

Result Location

Result Code

Description

-1001

The attempted setting is a read-only setting

-1002

Out of space in the remote

-1003

Syntax error

0

Success

>1

Number of communication failures

Routing Table Information (P199)

A program control instruction that is used to store the datalogger's routing table
information in a series of input locations. This instruction is used most often as
a trouble-shooting tool.

10: PakBus - Routing Table Information (P199)
1: 0000 First Loc [ ______________ ]

Parameter 1 specifies the first input location in which to begin storing the
information. For each route, there are 3 pieces of information returned:

1. The PakBus Address of the Destination datalogger.
2. The PakBus address of any datalogger used as a hop to the Destination

datalogger.

3. The Response Metric, in seconds (each hop takes 1 second).

A -1 in an input location indicates the end of the routing table information.

Note: The input locations required for this instruction must be allocated
manually.

Example

Consider the following routing table information:

Master Datalogger

PakBus Addr 3

PakBus Addr 4

PakBus Addr 5

Advertising