Campbell CR800 Specifications Page 280

  • Download
  • Add to my manuals
  • Print
  • Page
    / 324
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 279
Section 13. PakBus Communication Instructions
13-2
The Timeout parameter in these instructions is in units of .01 seconds. If 0 is
used, then the default timeout defined by the time of the best route is used.
PakBus “Hop Metrics” are used to calculate this time.
Presently there is not a number of tries parameter. It is easy to retry within
CRBasic: For I = 1 to 3: SetSettings(ResultCode,….): if ResultCode = 0 Exit
For
(If needed, we can add a retry parameter or default to more than one try.)
These communication instructions will by default wait for a response or
timeout before the program moves on to the next instruction. They of course
can be used in a SlowSequence Scan. Optionally the ComPort parameter can
be negated, which will cause the instruction not to wait for a response or
timeout. This will make the instruction execute faster but any data that it
retrieves and the ResultCode will be set asynchronously with the Scan, i.e.,
whenever the communication is complete.
ClockReport
The ClockReport instruction sends the datalogger's internal clock value to a
remote datalogger in the PakBus network.
Syntax
ClockReport ( ComPort, RouterAddr, PakBusAddr )
Remarks
This instruction initiates a one-way transmission of the datalogger's clock value
to a remote datalogger. No response is returned from the remote datalogger. If
the remote datalogger has a PakBusClock instruction with this datalogger's
address, the remote will set its clock according to the transmitted time value.
See the CRBasic Editor help for parameter details.
Note: By default, LoggerNet uses PakBus address 4094 and PC400 uses 4093.
PakBusClock (PakBusAddr)
When the datalogger program contains a PakBusClock instruction, the
datalogger will set its clock to the clock value of a sending datalogger with the
specified PakBus address.
Syntax
PakBusClock ( PakBusAddr )
Remarks
The PakBusAddr parameter is the address of the remote datalogger from which
this datalogger will accept a ClockReport. The ClockReport instruction is used
in the remote datalogger to send its clock value to this datalogger.
Routes (Dest)
The Routes instruction returns a list of known dynamic routes for a PakBus
datalogger.
Page view 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 323 324

Comments to this Manuals

No comments