System information

Section 3. The CR200 Datalogger
3-2
An example of a “Ready” response from a datalogger with an address of 1 to
an application with an address of 4094 letting the application know it can
proceed with communication is as follows:
BD AF FE 00 01 5A 89 BD
The datalogger may not be aware that a connection has been established from
the PC when beginning the initial communication process. The application
should initiate communication to the CR200 by sending a series of 0xbd
SerSyncBytes to wake up the datalogger and clear the communication buffer.
The CR200 series datalogger only supports connections at 9600 baud.
3.3 Getting the PakBus Address of the CR200
The address of the CR200 datalogger is necessary for communication. Every
PakBus device needs a PakBus address to send and receive packets. In
addition all devices on the network require unique addresses. The valid range
for PakBus addresses is 1 to 4094. The address range of 1 to 3999 is normally
reserved for dataloggers while the address range of 4000 to 4094 is normally
reserved for applications. The CR200 ships with a default PakBus address of 1
but could have any address within the allowable range.
If the address of the CR200 datalogger is unknown, this information can be
obtained with a PakCtrl Hello Request Message. Since all PakBus dataloggers
on the network will respond to this broadcast type message, make sure you are
connected to a single datalogger before you send a PakCtrl Hello Request
Message in order to determine that specific datalogger’s address.
The DstPhyAddr and DstNodeId in the header of the Hello Request Message
should be specified as 4095 to indicate a broadcast packet. The datalogger will
respond to the application with a Hello Command transaction that contains its
PakBus address in the header.
3.4 Getting and Setting CR200 Settings
The settings within the CR200 datalogger are obtained with the Get Settings
transaction. Similarly the CR200 settings can be set with the Set Settings
transaction. The CR200 uses datalogger settings much like a personal computer
uses environmental variables.
Datalogger settings exist as ASCII strings in the CR200. They are returned to
the application in a response message as a string containing a list of name-
value pairs with each name separated by the value with the “=” sign. Each
value-pair is also separated with a semi-colon. For example:
Model=CR200;PakBusAddress=1
Some examples of available CR200 settings include:
Model: The datalogger model name or number
Version: The version of the datalogger
SerialNbr: The serial number of the datalogger