Campbell Scientific CR510 TD Operating System Addendum for CR510, CR10X, and C - Page 60

Routing Table Information P199

Page 60 highlights

Section 12. Program Control Instructions Result Location Result Code -1001 -1002 -1003 0 >1 Description The attempted setting is a read-only setting Out of space in the remote Syntax error Success 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 12-16

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

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