Result code location, Send final storage data (p191), Table id – Campbell Scientific TD Operating System Addendum for CR510, CR10X, and CR23X User Manual

Page 52: Flag, Send message (p192)

Advertising
background image

Section 12. Program Control Instructions

12-8

or unpacked with the least significant bit of the first byte, starting at this
location. Incoming discrete values are set to -1.0 for ON and 0 for OFF.
Outgoing discrete values are translated as 0.0 to OFF and non-zero to ON.

For general information on input locations, see Input Locations.

Result Code Location

The input location in which to store the results of the data transfer.

Result

Description

0

Successful

>0

Initial attempt failed (value indicates the number of retries)

Up to 2 retries will be attempted if data transfer fails. The retry interval is 1
second, plus 1/2 * number of hops for the node. The instruction runs in the
background after initiated.

Note: If this instruction is used within a loop, index this parameter to
automatically increment the input location in which the result is stored with
each pass through the loop.

Send Final Storage Data (P191)

A program control instruction that transfers final storage data from one or more
tables in a PakBus datalogger to a computer.

2: PakBus - Send Final Storage Data (P191)
1: 00 Port
2: 0000 Address
3: 0000 Table ID
4: 00 Flag

Table ID

The ID for the data table that should be sent to the computer using this
instruction. If the ID is set to 0, then all final storage tables will be transferred.

Flag

The user flag that will determine if the table definitions are transferred along
with the data table(s). When the flag is high, the table definitions for the
specified table(s) will be output as a separate data gram.

Send Message (P192)

A program control instruction that sends a message to another datalogger in the
PakBus network.

This instruction can be used in a network with several Master dataloggers to
synchronize all Master datalogger's clocks. One datalogger would use this
instruction to periodically broadcast a clock report, and the remaining
dataloggers would use instruction 195, Use Remote Clock Report, to set their
clocks by the transmitted value.

Advertising