Campbell Scientific CWS220 Wireless Sensor Network (CWB100, CWS220, and CWS900 - Page 38
CWB100 Instruction
View all Campbell Scientific CWS220 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 38 highlights
Wireless Sensor Network TABLE 4.1-1. Values Transmitted by CWS Sensors Sensor Values Transmitted CWS220 Wireless Infrared Radiometer 5 CWS655 Wireless Water Content Reflectometer 8 CWS900 Wireless Sensor Interface* 4 - 10 *See Section 1.4 for more information on number of values transmitted by the CWS900 In the network example shown in Section 3, a CWS655 and a CWS900 configured for a 109-L probe are used. The CWS655 transmits 8 values and the CWS900 transmits 4 values. The array needs to be dimensioned for at least 12 variables, for example: Public WSN(12) The array can be sized larger than necessary to allow additional sensors to be added to the network later without reprogramming the datalogger. Oversizing the array will use extra datalogger memory and should be implemented with caution. 4.2 CWB100() Instruction The CRBasic instruction CWB100 is used to set up the polling of the base station by the datalogger. The instruction has the following format: CWB100( Port, Destination Array, Configuration ) Port: The Port parameter is a constant indicating the odd numbered control port (C1, C3, C5, or C7) to which the CWB100 DATA line will be connected. Destination Array: The Destination Array is the array variable that will hold the values from the network. Its size determines the maximum number of values expected from the sensor network. One of the following error codes may be written to the first element of the destination array if there is a problem with communication between the datalogger and the CWB100 (see Section 7 Troubleshooting for more information): Error Code -1 -2 -3 Meaning of Error Code The datalogger has failed after three consecutive attempts to collect data from the base station. The signature verifying communication is wrong. The signature of the names held by the datalogger is different from the signature of names held by the CWB100. 30