Section 11. Programming Resource Library
110
Either the output array or the input array or both can be specified as 0 meaning
no data flow in the corresponding direction.
The HostAddr parameter is the PakBus Address of the master of the network,
the destination of the sensor’s data. The RouterAddr is the PakBus Address of a
router if the distance is too far to reach the Host directly. Typically a router will
not be present so this address with be identical to the HostAddr. If it is 0, then
the system will automatically find a neighbor it can route through.
All communication with the host datalogger (CR800, CR1000 or CR3000) takes
place through the SendGetData() instruction. When SendGetData() is included
in the CR200 CRBASIC program, the CR200 calls the host approximately every
60 seconds with a random time into interval setting to establish the first
connection. At first connection, the CR200 sends a variable array to the host,
retrieves a variable array from the host, and retrieves a call time slot and a clock
synchronization setting. Thereafter, the CR200 calls at the appointed time slot.
11.2 Radio Power Minimization
Power settings on the CR200(X) radio are used to optimize the current drain of
the system. The radio can be set to be always on, power up once a second or
every 8 seconds, or be turned on by the CR200(X) program. When the status
table field RF_ForceOn is set true under program control, the radio is on only as
long as necessary for data transmission and receiving. This provides the lowest
power usage by the radio.
RF_ForceOn can be controlled with table access syntax
(SetStatus(Rf_ForceOn,1) for example) or it is controlled by the instruction
SendGetData() as shown in the following
example
p. 111.
A CR1000 datalogger with PakBus address 2 and a RF401 radio is configured
as the “master”. It sends a Network() command every 5 minutes to synchronize
the radio transmission. A CR206X datalogger with PakBus address 3 measures
its sensors every 15 minutes and runs a countdown using TimeUntilTransmit().
When the countdown reaches zero, the CR206X powers its radio and transmits
data to the CR1000 as well as receiving the CR1000 battery voltage.
The radio address and hop sequence of the CR206X must match the same
settings in the RF401.
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......