l
DNP()
l
DNPUpdate()
l
DNPVariable()
See the CRBasic Editor help for detailed instruction information and program examples:
https://help.campbellsci.com/crbasic/cr6/.
When
DNPUpdate()
is used to set up the data logger as a remote (slave) device, up to three
DNP3 masters are supported.
For additional information on DNP3 see:
l
DNP3 with Campbell Scientific Dataloggers
l
l
How to Access Your Measurement Data Using DNP3
7.5 Serial peripheral interface (SPI) and I2C
Serial Peripheral Interface is a clocked synchronous interface, used for short distance
communications, generally between embedded devices. I2C is a multi-master, multi-slave, packet
switched, single-ended, serial computer bus. I2C is typically used for attaching lower-speed
peripheral ICs to processors and microcontrollers in short-distance, intra-board communications.
I2C and SPI are protocols supported by the operating system. See CRBasic Editor help for
instructions that support these protocols.
For additional information on I2C, see
7.6 PakBus communications
PakBus is a Campbell Scientific communications protocol. By using signed data packets, PakBus
increases the number of communication and networking options available to the data logger.
The data logger allows PakBus communications on all available communications ports. For
additional information, see
The Many Possibilities of PakBus Networking
blog article.
Advantages of PakBus include:
l
Simultaneous communications between the data logger and other devices.
l
Peer-to-peer communications - no computer required. Special CRBasic instructions simplify
transferring data between data loggers for distributed decision making or control.
l
Data consolidation - other PakBus data loggers can be used as "sensors" to consolidate all
data into one data logger.
l
Routing - the data logger can act as a router, passing on messages intended for another
Campbell Scientific data logger. PakBus supports automatic route detection and selection.
7. Communications protocols
103