EasyManua.ls Logo

Campbell CR300 series - 19.1 General serial communications

Campbell CR300 series
321 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l
Set the data logger to be a PakBus router only as needed. When the data logger is a router,
and it connects to another router like LoggerNet, it exchanges routing information with that
router and, possibly (depending on your settings), with other routers in the network.
Network Planner set this appropriately when it is used. This is also set through the IsRouter
setting in the Settings Editor. For more information, see the Device Configuration Settings
Editor IsRouter(p. 216).
l
Set PakBus beacons and verify intervals properly. For example, there is no need to verify
routes every five minutes if communications are expected only every 6 hours. Network
Planner will set this appropriately when it is used. This is also set through the Beacon and
Verify settings in the Settings Editor. For more information, see the Device Configuration
Settings Editor Beacon() and Verify() settings.
For information on Designing a PakBus network using the Network Planner tool in LoggerNet,
watch the following video:https://www.campbellsci.com/videos/loggernet-software-network-
planner .
19.1 General serial communications
The data logger supports two-way serial communications. These communications ports can be
used with smart sensors that deliver measurement data through serial-data protocols, or with
devices such as modems, that communicate using serial data protocols.
CRBasic instructions for general serial communications include:
l
SerialOpen()
l
SerialClose()
l
SerialIn()
l
SerialInRecord()
l
SerialInBlock()
l
SerialInChk()
l
SerialOut()
l
SerialOutBlock()
l
SerialBrk()
l
SerialFlush()
See the CRBasic Editor help for detailed instruction information and program examples:
https://help.campbellsci.com/crbasic/cr300/ .
To communicate over a serial port, it is important to be familiar with the protocol used by the
device with which you will be communicating. Refer to the manual of the sensor or device to find
its protocol and then select the appropriate options for each CRBasic parameter. See the
application note Interfacing Serial Sensors with Campbell Scientific Dataloggers for more
programming details and examples.
19. Communications protocols109

Table of Contents

Other manuals for Campbell CR300 series

Related product manuals