background image

Once the light level calibration has been completed, the new calibration constants will be saved
automatically. All calibration constants including both the user and the factory setting can be
viewed from menu item (4) from the main menu once the test is completed.

8. OS update

Operating system updates for the CS140 background luminance sensor are performed using
Campbell Scientific

Device Configuration Utility

software. This is available as a free download

from the Campbell Scientific website. Please refer to the help built into the

Device Configuration

Utility

for full instructions on how to update the CS140.

NOTE:
To use the

Device Configuration Utility

to carry out an OS change requires RS-232

communication. However, if a sensor is set to communicate by RS-485, it is not necessary to
change this in the sensor.

Connect a computer with the

Device Configuration Utility

running to the sensor with RS- 232

communications. Run the

Device Configuration Utility

to the stage shown in

Figure 8-1

(p. 31).

Then turn on the sensors power supply. The update will then take place through RS-232. The
sensor will however remain in RS-485 mode afterwards.

The following figures show the instructions for downloading an OS using the

Device

Configuration Utility

.

CS140 Background Luminance Sensor

30

Summary of Contents for CS140

Page 1: ...Revision 03 2022 Copyright 2013 2022 Campbell Scientific CSL I D 998...

Page 2: ...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 repairs can be give...

Page 3: ...cell phones and aerials may also not be applicable according to your locality Some brackets shields and enclosure options including wiring are not sold as standard items in the European market in some...

Page 4: ...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 cl...

Page 5: ...fications 5 3 6 Calibrator specifications 5 4 Installation 6 4 1 Location and orientation 6 4 2 Grounding 6 4 3 Mounting 7 4 4 Connectors 8 4 5 Wiring using supplied Campbell Scientific cables 9 4 6 M...

Page 6: ...6 5 Menu system 23 7 Calibration 27 8 OS update 30 9 Maintenance 32 9 1 General 32 9 2 Cleaning 33 Appendix A Example C code of the CCITT CRC 34 Table of Contents ii...

Page 7: ...sensor being damaged and data being lost NOTE Notes highlight useful information in the installation use and maintenance of this product These should be followed carefully in order to gain the maximu...

Page 8: ...nted horizontally with the required 6 inclination built into the design Other angles are possible via the sensors mounting bracket A heated hood will prevent ice and snow from building up dew heaters...

Page 9: ...rent consumption sampling continuously at 12 V 5 mA 7 mA 9 mA Current consumption sampling continuously with dew heater active at 12 V 90 mA 95 mA 100 mA Hood heater power supply Hood heater voltage A...

Page 10: ...nput threshold voltage 0 2 V 0 2 V RS 485 output unloaded 5V RS 485 output load 50 2 V Maximum voltage at any terminal 7 V 7 V 3 4 Environmental specifications Temperature ranges Operating 25 to 60 C...

Page 11: ...re range 0 to 40 C Calibration value 4 500 cd m2 Accuracy 6 Ingress protection IP52 Communication RS 232 38400 baud connecting the calibrator to the CS140 forces communications to RS 232 38400 baud an...

Page 12: ...e or where measurements may be safety related Point the CS140 towards the desired luminance sources Ensure that only the light sources in which you are interested are within the sensor field of view T...

Page 13: ...between the plate and brackets by tightening using the nuts provided The machine screws A and B in Figure 4 1 p 7 are used to level the CS140 Screw A is used to lock the CS140 at the right elevation...

Page 14: ...r to the sensor The other connector provides power to the hood heater Figure 4 2 Connector layout Figure 4 3 p 8 shows the pin outs of the sockets viewed from outside Colours shown are the colours of...

Page 15: ...R1000X using a suitable interconnecting cable such as the SC110 If another type of connection is required the D connector can be easily removed NOTE The maximum recommended cable length is 10 m Use a...

Page 16: ...he baud rate and ID will return to those previously set Figure 4 5 Maintenance cable 4 7 Storage information The CS140 should be stored between 40 to 85 C in a dry place The optics should be protected...

Page 17: ...4 Message ID break down ID Definition 0 Basic format Contains only luminance and system information 1 Partial format Contains user alarm outputs 2 Full format Contains all system alarms codes Table 5...

Page 18: ...ble 5 10 Averaging duration break down Duration Definition 1 One minute average 10 Ten minute average Table 5 11 User and system alarms break down Alarm Range System status Definition User Alarm 0 or...

Page 19: ...2 Too high Over 70 C 3 Sensor fault No sensor detected or below 49 C Detector DC saturation level2 0 or 1 0 2 The amount of background light as seen by the detector hood 0 Within limits 1 Saturated T...

Page 20: ...if the sun shines directly into the sensor 6 Interface methods 6 1 Command line menu 14 6 2 Configuring computer 15 6 3 Variable definitions 15 6 4 Command line mode 18 6 5 Menu system 23 6 1 Command...

Page 21: ...ator to adjust the bits per second value in the port settings The CS140 can not communicate with the computer if the unit and port setting baud rates differ The CS140 should now be ready to accept com...

Page 22: ...S140 luminance value 0 Candela per metres square cd m2 1 Foot lamberts fL 0 6 Message interval 1 to 3600 Interval in seconds between outputs in continuous mode This value has no effect if the polled m...

Page 23: ...matically control the dew heater 1 Turn the dew heater off 0 12 Hood heater override1 0 or 1 0 Allow the CS140 to automatically control the hood heater 1 Turn the hood heater off 0 13 Dirty window com...

Page 24: ...t is however recommended that checksum checking is enabled to remove any chance of the CS140 being configured incorrectly by accident 6 4 Command line mode The command line interface is broken down in...

Page 25: ...f the sensor The Set command is echoed back Example of a SET command and the echoed reply SET 0 0 0 2 0 0 10 1 2 1 1 0 0 0 1 9 5 0 0 10000 E52F 0 0 2 1000 0 10 1 2 1 1 0 0 0 1 9 5 0 0 10000 0146 Table...

Page 26: ...difference is that the SETNC command does not commit the values set into flash memory This means that the next time the CS140 is power cycled it will revert back to its previous settings This command...

Page 27: ...D1 Carriage return 1 These values are shown in hexadecimal format not ASCII Example of a GET request GET 0 0 2C67 Example data returned by the GET command GET 0 0 2C67 0 0 2 1000 0 60 0 2 1 1 0 0 0 1...

Page 28: ...level Delimiting character 626C Checksum Delimiting character 0x041 EOX 0x0D1 Carriage return 0x0A Line feed 1 These values are shown in hexadecimal format not ASCII 6 4 4 Poll command The POLL comman...

Page 29: ...e values are shown in hexadecimal format not ASCII 6 5 Menu system When connected to the CS140 the user can enter the menu system by typing open id in their terminal program then pressing the return k...

Page 30: ...ou will be informed before any changes are made Type 1 to open the message menu containing settings relating to the CS140 outputs Menu 1 The message output menu CS140 MENU 1 ID 0 S N 1009 1 Toggle mes...

Page 31: ...turn to main menu Option 3 gives the communications menu This is used to set baud rates and the mode of operation RS 232 RS 485 NOTE No change will take effect until you Exit and Save Menu 3 The commu...

Page 32: ...ad errors Supply voltage Aux supply voltages 8 Get debug 9 Refresh 0 Return to main menu Alarm 0 0 0 0 0 0 0 9 0V 5V 5 0 Value 3100 0 No faults 0 28 0 22 7 100 100 00 33 00 30 00 4500 00 19 66 332 4 0...

Page 33: ...ges are immediate but factory calibrations can be restored if needed using option 2 in the calibration menu 7 Calibration The CS140 can be checked and adjusted using the optional calibration device Th...

Page 34: ...Refresh 0 Return to main menu Select option 1 to start the calibration At this point the calibration device and cable should be installed as shown in the following figures Connecting the calibrator sw...

Page 35: ...turn after you type y Input the CS140CAL luminance value cd m2 4500 0 Is 4500 0 correct Y N Y Place the CS140CAL into the hood Ensure the CS140CAL is turned off then press any key H Starting dark leve...

Page 36: ...Configuration Utility for full instructions on how to update the CS140 NOTE To use the Device Configuration Utility to carry out an OS change requires RS 232 communication However if a sensor is set...

Page 37: ...Figure 8 1 CS140 Device Configuration Utility OS download instructions CS140 Background Luminance Sensor 31...

Page 38: ...0 is a robust weather resistant instrument and there is no need for routine maintenance other than cleaning The instrument performance is monitored and any potential problems are covered by error mess...

Page 39: ...and high dependency on the instrument output CAUTION If the window requires cleaning it is very important that only a proper lens cloth or lens tissue is used The use of inappropriate materials to cle...

Page 40: ...self Creates a CCITT CRC16 checksum 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 str...

Page 41: ...nfo campbellsci fr www campbellsci fr Germany Location Phone Email Website Bremen Germany 49 0 421 460974 0 info campbellsci de www campbellsci de India Location Phone Email Website New Delhi DL India...

Reviews: