background image

 

 User Guide 

 

21 

 

The program includes online help instructions that describe its general use with 
the CS120A and also how to load an operating system. 

The Device Configurator can also be used as a terminal emulator to use the built-
in menu system of the CS120A and to access its calibration menu. 

Note that the CS120A is listed on DevConfig as a different sensor to the CS120. If 
only the CS120 is listed then you should update your version of Devconfig. This 
is available free on the Campbell Scientific website. If this is not possible, please 
contact Campbell Scientific. 

The second method is by using the command line interface where discrete 
commands are sent without response from the sensor.  This would be the preferred 
method of setting up a CS120A if it was connected to a logger for instance.  The 
configuration setting commands can be sent via a logger to the CS120A removing 
the need for a local PC to set up the unit. 

The third method is by using the simple menu interface built into the CS120A 
communicating via RS232 or RS485, using a terminal emulator program. This 
menu system gives access to the more common settings. 

All three of these methods use the CS120As serial port A to communicate with the 
sensor. Configuration cable part number 010817, described in Section 8.1 can be 
used. 

11.1  Configuring a PC for talking to the CS120A 

 
Described below is the procedure for setting up communications using a terminal 
emulator program. The terminal emulators built into many Campbell Scientific 
software products can also be used. 

The following settings should then be used by default: 

Bits per second: 38400 
Data bits: 8 
Parity: none 
Stop bits: 1 
Flow control: none 

Ensure that if the baud rate of the unit has been adjusted and then the 
corresponding bits per second value is entered in the port settings of the terminal 
emulator. The CS120A should now be ready to accept commands. 

It is possible to set the CS120A into the default communication state via one of 
the internal switches on the CS120A main board. See Section 9. 

 

 

Summary of Contents for CS120A

Page 1: ...CS120A Visibility Sensor Issued 24 2 15 Copyright 2014 2015 Campbell Scientific Ltd CSL 1036 USER GUIDE...

Page 2: ......

Page 3: ...er the repair is under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for rep...

Page 4: ......

Page 5: ...t for recycling Any batteries contained within the product or used during the products life should be removed from the product and also be sent to an appropriate recycling facility Campbell Scientific...

Page 6: ......

Page 7: ...ore beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit...

Page 8: ......

Page 9: ...fications 5 6 Mechanical specifications 5 7 Installation procedure 5 7 1 Equipment grounding 7 7 2 Mounting the CS120A 7 7 3 Optional Campbell Scientific Mount 8 8 CS120A internal connectors descripti...

Page 10: ...3 2 1 Example of a SETNC Command 26 13 3 The GET command 26 13 4 The POLL command Polling the CS120A 28 14 Entering the CS120A menu system 29 15 Calibrating the CS120A 32 16 Performing an operating sy...

Page 11: ...CS120A uses high speed sampling to reduce missed events such as rain and hail and improves response to other suddenly changing conditions The CS120A is a development of the CS120 Functionally they are...

Page 12: ...ion in the installation use and maintenance of this product These should be followed carefully in order to gain the maximum benefit from the use of this product 1 3 Sensor Unit Safety The CS120A senso...

Page 13: ...nd dew heaters Power supply 12V connection DC only 7V 12V 30V Current consumption sampling continuously with dew heaters active at 12V DC 200mA 248mA Current consumption sampling continuously with dew...

Page 14: ...ly less heat reducing their ability to prevent ice build up 2 Each hood takes 30W 60W is the total for both hoods on the sensor together 3 The ground of the CS120A and the ground of any RS485 equipmen...

Page 15: ...C Hood heater Turn Off 15 C 1 Extended temperature ranges are only guaranteed if the sensor has been tested by Campbell Scientific and verified within this temperature range Some degradation of absol...

Page 16: ...nses Whenever possible the CS120A should be located away from windbreaks Several zones have been identified upwind and downwind of a windbreak in which the airflow is unrepresentative of the general s...

Page 17: ...ting bracket is not guaranteed The pole and foundations of a pole mounted installation will provide some basic lightning protection and protection against radio frequency interference and should also...

Page 18: ...iameter masts 7 3 Optional Campbell Scientific Mount A Campbell Scientific optical sensor mount part number 009354 is available This will put the sample volume at about 1 5 m in compliance with the WM...

Page 19: ...ll four 12 mm diameter holes using the mount base as a template or following the drawing below to a depth of 77 mm Clean the holes of all debris Place washers and nuts on the ends of the wedge anchors...

Page 20: ...communications wires The CS120A is supplied with 5 m cable already connected The second gland is used for the 24 V feeds for the hood heaters fitted with a 5 m cable The third and fourth glands are sp...

Page 21: ...pin 3 and the ve to pin 5 If the heater voltage is AC with a ground or neutral wire then this should be connected to pin 3 Pin 3 should not be more than 5 volts from the main electronics 0V Connector...

Page 22: ...pre wired with a default 5 m power and communications cable which is terminated at one end with a 9 pin D connector DB9 The D connector can be connected directly to a PC or to a datalogger such as th...

Page 23: ...User Guide 13...

Page 24: ...CS120A Visibility Sensor 14...

Page 25: ...User Guide 15...

Page 26: ...rmed Internal switch functions Switch number Function 4 Reserved for future use 3 When switched to the ON position this switch temporarily sets the CS120A communications port to a default RS232 commun...

Page 27: ...Basic Partial and Full All three standard outputs parameters are space delimited with a unique start and end character allowing easy storage into any logger see Section 15 on how to set default output...

Page 28: ...down ID Definition 0 9 Unit number defined by the user to aid identification of data Zero by default Useful for RS485 networks Operates as an address in RS485 mode System status break down 1 Status l...

Page 29: ...ter than a user specified threshold System alarms break down Alarm Range Severity 2 Definition Emitter failure 0 2 1 3 The emitter hoods main LED output power level 0 Everything is within normal param...

Page 30: ...rs writing user variables to flash occurred 1 The emitter power level reporting too high will cause the CS120A to shutdown and go into low power mode 2 The severity of the alarm The higher the number...

Page 31: ...up the unit The third method is by using the simple menu interface built into the CS120A communicating via RS232 or RS485 using a terminal emulator program This menu system gives access to the more c...

Page 32: ...value will correspond to metres or feet depending upon which is selected in Visibility Unit 10000 5 User Alarm 2 Enabled 0 1 User alarm two activation state 0 Alarm two disabled 1 Alarm two enabled 0...

Page 33: ...19 Dirty window compensation 0 1 0 No compensation applied 1 Compensation for dirt on lenses applied The CS120A will compensate for up to 10 signal loss due to dirt per lens 0 20 Use CRC 0 1 0 Disabl...

Page 34: ...13 1 The SET command The set command is used to configure the CS120A via the command line The SET command is a single space delimited string that can be sent from any data logger or PC equipped with a...

Page 35: ...Polling Or Continuous modes Message Format Basic Partial Full RS232 or RS485 serial communications enabled Averaging Period Sample timing Dew heater override Hood heater override Dirty window compens...

Page 36: ...ETNC Command 13 3 The GET Command The GET command retrieves settings data from the CS120A including message format data and user alarm settings amongst others This command does not retrieve visibility...

Page 37: ...tial Full RS232 or RS485 serial communications enabled Averaging Period Sample timing Dew heater override Hood heater override Dirty window compensation CRC checking on received commands Sensor power...

Page 38: ...led Sensor power down voltage 11 5V Checksum D4FD 13 4 The POLL command Polling the CS120A The POLL command requests the current visibility and or alarm conditions from the CS120A The output format of...

Page 39: ...isplayed options are accessed simply by typing the corresponding number then pressing return No changes will take effect until you save and exit The exception to this is the calibration menu but you w...

Page 40: ...A visibility sensor CS120A ALARM MENU 2 ID 0 S N 1009 1 Toggle user alarm one DISABLED 2 Toggle alarm one threshold LESS THAN 3 Set new user alarm one activation point 10000 m 4 Toggle user alarm two...

Page 41: ...ply voltage is only available if the sensor is running firmware version 4 or later and only functional for sensors with serial number greater than E1029 NOTE CS120A INFORMATION MENU 4 ID 0 S N 1009 OS...

Page 42: ...ration you will need a CS120A calibrator disk and a computer with a standard serial port compatible with the CS120A If your CS120A is not currently configured for RS232 communications you can set the...

Page 43: ...cycling the unit at this point will have no adverse effect on the sensor Once you have started the tests you will be asked for the CS120A calibrator serial number and coefficient with a confirmation a...

Page 44: ...ill wait for you to place the foam bungs into the sensor hoods The bungs are designed to block all light from the outside reaching inside the head Place one bung into each hood If either of the bungs...

Page 45: ...mounting point At this stage it is advisable to clean the lenses Refer to Section 18 Cleaning for more information A simple visual check may be enough to confirm the lenses are clean NOTE Starting da...

Page 46: ...ensure that the lenses are free from contaminants The frequency of required cleaning depends on the exposure of the instrument to such contaminants This will vary depending on the site location The CS...

Page 47: ...closure taking care that it is not trapped between the lid and the enclosure when the lid is replaced The second bag of desiccant should be kept in the plastic shipping bag as a replacement for when t...

Page 48: ...any water vapour driven off during reactivation may be re adsorbed during cooling and or handling 5 After the bags of desiccant have been allowed to cool in an airtight desiccator they may be removed...

Page 49: ...it Hood heater drive Low noise PSU Two 5V user alarm outputs RS232 or RS485 serial communication s 24V AC DC 12V DC Hood temperature Photo detector Transimpedance amplifier Dirty window detector Ampli...

Page 50: ...CS120A Visibility Sensor A 2...

Page 51: ...ksum seeded with 0x0000 XModem style using a fast non table based algorithm Pass in the data to convert into a CRC in the form of a NULL terminated character array a string Returns the CRC in the form...

Page 52: ...CS120A Visibility Sensor B 2...

Page 53: ...irty Alias SerialIndest 14 Detector_temp_error 0 3 Detector Temperature Alias SerialIndest 15 Detector_saturated 0 1 Detector DC Saturation Level Alias SerialIndest 16 Hood_temp_error 0 3 Hood Tempera...

Page 54: ...SerialIndest 16 Hood_temp_error 0 3 Hood Temperature Alias SerialIndest 17 Signature_error 0 1 Signature Error Alias SerialIndest 18 Flash_read_error 0 1 Flash Read Error Alias SerialIndest 19 Flash_w...

Page 55: ...lngCRCMsg HexToDec checksumrx ChecksumOK lngCRCMsg lngCRCCalc In critical applications the visibility can be set to NaN if the system status is degraded or a critical error flag is set If ChecksumOK T...

Page 56: ...1 Sensor ID 2 User Alarm 1 Set 3 User Alarm 1 Active 4 User Alarm 1 Distance 5 User Alarm 2 6 User Alarm 2 Active 7 User Alarm 2 Distance 8 Serial BaudRate 9 Serial number Read only so not used 10 Vis...

Page 57: ...r distance to 15000 CS120ACArray 8 2 Set serial baud rate to 38400bps CS120ACArray 9 0 Read only so dummy value added here but not needed CS120ACArray 10 M Set unit type to metres use upper case CS120...

Page 58: ...tatusDewHeater Dim TempString As String 100 Alias TRHData 1 AirTC Alias TRHData 2 RH This function creates a SETNC command string for the CS120A visibility sensor Including all delimiting characters a...

Page 59: ...ecessary but is done as a fail safe in case the GET command does not return data CS120ACArray 1 0 Set ID to 0 CS120ACArray 2 0 Disable alarm 1 CS120ACArray 3 1 Set alarm 1 to if greater than CS120ACAr...

Page 60: ...InStringGET 1 Then Check data was returned SplitStr CS120ACArray 1 InStringGET 21 5 Strip the settings from the returned data string CS120ACArray 1 Right CS120ACArray 1 1 Trim the SOT from the first d...

Page 61: ...Outgoing string Dim CheckVal As Long Checksum value Public InString As String 200 Incomming string Dim TempString As String 16 Main Program BeginProg SerialOpen Com1 38400 3 0 10000 open port to the...

Page 62: ...entific Centro Caribe S A CSCC 300N Cementerio Edificio Breller Santo Domingo Heredia 40305 COSTA RICA www campbellsci cc info campbellsci cc Campbell Scientific Ltd CSL 80 Hathern Road Shepshed Lough...

Reviews: