Result code location, Force route (p197), Neighbor's address – Campbell Scientific TD Operating System Addendum for CR510, CR10X, and CR23X User Manual

Page 59: Hops, Set setting (p198)

Advertising
background image

Section 12. Program Control Instructions

12-15

For general information on input locations, see Input Locations.

Result Code Location

The input location in which a code is stored to indicate the result of the data
transfer. A 0 indicates the data transfer was successful; any number greater
than 0 indicates a failure. A -2 indicates that communication was established
with the datalogger at the specified address, but the datalogger was not
programmed as a host (master) datalogger using Instruction 193. In this
instance, a 0 is stored in parameter 5, First Location for Data Received.

For general information on input locations, see Input Locations.

Force Route (P197)

A program control instruction that is used to force the datalogger to use a
specific route in the PakBus network to communicate with the destination
datalogger. This information is set in the datalogger's routing table.

8: PakBus - Force Route (P197)
1: 00 Port
2: 0000 Neighbor's Address
3: 0000 Address
4: 00 Hops

Note: For communications paths where there are multiple hops, this instruction
fixes only the first hop.

Neighbor's Address

The address of the first hop (or repeater) in the PakBus network that the
datalogger should use in communicating with the destination datalogger.

Hops

The number of hops (or repeaters) in the communications path to the
destination datalogger.

Set Setting (P198)

A program control instruction that is used to set a setting in a PakBus
datalogger. This instruction should be followed by instruction 63 or instruction
68 with the values for the setting that should be changed.

If the address in this instruction is set to the address of the datalogger executing
the instruction, the datalogger will change its own setting.

9: PakBus - Set Setting (P198)
1: 00 Port
2: 0000 Address
3: 0000 Result Code Loc [ ______________ ]

Advertising