Page 2
Dear User You are advised to read this manual carefully before you start using the SHM 31 snow depth sensor. This is necessary to ensure that you will be able to use all the features, which have been integrated in the device.
Pay attention to the technical data, storage and operating conditions. 1.3 Safety notes regarding laser system SHM 31 is a laser class 2 product in accordance with IEC 60825-1: Third Edition 2014-03. Class 2 lasers are only during short time exposure to the beam (<0.25s) safe for the eyes.
Snow Depth Sensor SHM 31 Read before commissioning! Caution Do not stare into the direct or reflected laser beam or direct it towards persons or animals! When not in use the laser should be stored in a location where unauthorized personnel cannot gain access (no toy).
Order numbers and technical data Snow Depth Sensor SHM 31 Order numbers and technical data Article Order number SHM31 Snow depth sensor 8365.30 Mounting clamp stainless steel band for mast up to 8365.608-11 Ø80 mm Mounting clamp stainless steel band up to Ø300 mm 8365.609-11 Flexible mast clamp (standard) up to Ø72 mm...
Snow Depth Sensor SHM 31 Order numbers and technical data 2.2 Technical data Category Description Value Measurands Snow depth 0 … 15 m Accuracy ± (5 mm + 0.06 %) Repeatability / reproduciblity 0,6 mm / 5 mm Resolution 0.1 mm...
The delivery consists of the standard delivery scope (see 4) and additional components (see Figures 5 to 9). Figure 4: Standard delivery scope 8365.30, consists of SHM 31 sensor, test reports and quick start guide and an USB stick with additional software, manual and documents Manual Rev 1.9...
Page 11
Snow Depth Sensor SHM 31 Order numbers and technical data SHM31 8365.30 Mounting clamp 8365.610-11 Connection cable 8365.KAB015 Figure 5: SHM31 sensor, with mounting clamp 8365.610-11 and connection cable Mounting clamp (flexible) 8365.610-11 Figure 6: Mounting clamp 8365.610-11 Mounting clamp with stainless steel band 8365.608-11...
The latest version of the firmware and the configuration software UMB ConfigTool.NET can be downloaded from our web page www.lufft.com. The software is available for Windows ®, Android and can be converted in future to single Linux distributions. Please check our web page or ask for further information.
The procedure allows to differentiate surfaces with different reflectivity coarsely, for example, to distinguish snow and grass. Another aim of the normalisation is to make all SHM 31 sensors comparable to each other. More information on this topic can be found in the section: Testing and error descriptions.
Page 14
UMB-ASCII 2.0 protocol (query mode or automatic transmission mode) or with the UMB-Binary protocol (only query mode). Various tools are available for the UMB- Binary protocol, for example, the Lufft UMB ConfigTool.NET, in addition to other Lufft specific communication and data based solutions like SmartView.
Snow Depth Sensor SHM 31 Generation of the measurement results Generation of the measurement results 4.1 Measurement values (cur, avg) Factory setting: The current measurement value is an average of the measurement values over 60s. The sensor performs a new measurement every 10 seconds, therefore the current value is an average of 6 measurements.
5.1 Installation instructions Please avoid starring into the laser beam of the SHM 31. Do not switch the SHM 31 on until the final assembly and alignment has been completed. 5.2 Assembly The snow depth sensor is mounted on a mast using the available mast clamps. The sensor is oriented towards the surface.
Page 17
Snow Depth Sensor SHM 31 Installation In the first installation step, the mast clamp itself should be fixed to the mast. After that the sensor can be mounted on the mast clamp using the 360° pattern disc and the tri star knob to position and adjust the sensor.
Page 18
Figure 15: Mounting direction and angle of the SHM 31 for best performance. In contrast to the SHM 30, the angle at the SHM 31 no longer has to be measured manually and communicated to the sensor. The SHM 31 has a built-in 3 axis acceleration sensor.
Snow Depth Sensor SHM 31 Connections Connections An 8-pin connector is located at the rear of the sensor's internal housing. This is used to connect the supply voltage and the data interface. A connection cable with a length of 15 m is offered separately.
Snow Depth Sensor SHM 31 6.3 Supply voltage The SHM 31 should be supplied with a DC voltage of either 12 or 24 VDC ± 10%. 6.4 Data interfaces The sensor has a half-duplex 2 wire RS485 interface for the configuration, data query and firmware update.
7.2 Switching the device on As soon as the SHM 31 is supplied with power, it starts with its internal measuring cycle and can be addressed via RS232 and via RS485 or SDI-12 connection depending on the selected setting.
Use the device template download function to update the current list of available UMB channels. Lufft expands this list regularly regarding both, available languages and support of more recent sensors and sensor-options. This step requires an internet connection d) Confirm the settings by clicking “OK”...
Page 23
Snow Depth Sensor SHM 31 Start-up procedure 3. ConfigTool.NET allows you to create different workspaces to manage your sensor settings and measurements. You can access the workspace options on the top left corner of the main panel. a) Click “Edit workspaces...” in the main window. Unless no existing workspace has been selected a new workspace will be created.
Page 24
“SHMx-UMB” from the drop-down menu at “Device Address”. Confirm the settings to continue the device setup Figure 23: Setting up the SHM 31 as a measurement device in ConfigTool.NET g) At the “Workspace Details” page, your SHM31 can now be found in the device list.
Page 25
Snow Depth Sensor SHM 31 Start-up procedure Figure 24: Selecting a device for further settings in ConfigTool.NET h) The following steps are necessary after mounting the device and will calibrate it for the operational use. Click the rack wheel-symbol to access the “Device Settings” page Figure 25: Accessing the “Device Settings”...
Page 26
Start-up procedure Snow Depth Sensor SHM 31 Figure 26: Calibration of the SHM 31 sensor at the Device Adjustment page You can now set further sensor parameters. At the “Device Settings” page, scroll down to the section “UMB-ASCII 2.0”. Use the “transmission interval [s]” parameter, to determine how often the sensor will provide new data for snow depth.
Page 27
Snow Depth Sensor SHM 31 Start-up procedure Figure 27: Creating a measurement routine for the SHM 31 sensor k) To check the function of the sensor you can select any channels which can be read out via ConfigTool.NET. You can get the list of available channels by clicking: For a first sensor check we recommend selecting the channels 500, 600, 650, 660, 700 and 800.
Page 28
Start-up procedure Snow Depth Sensor SHM 31 Figure 28: Loading the sensors channel list and selecting measuring channels 4. ConfigTool.NET now has prepared columns for your sensor readings and is ready to receive data. All the previously selected sensor channels should be shown as a table header.
Start-up procedure 7.3.2 Adjusting SHM 31 sensor parameters To take full advantage of the SHM 31 snow depth sensor, a deeper look at the sensors operational parameters is recommended. As seen in the previous chapter, the “Device Settings” page provides a full view of the sensors internally used parameters, thus providing a powerful tool to program the sensors measuring routine.
Page 30
Start-up procedure Snow Depth Sensor SHM 31 Parameter name Default value Domain Description heater defrost Operating mode of the block automatic off, automatic, Heater mode for the sensor housing heater defrost Target temperature of the -50 … 50 Mean target temperature of window window heater [°C]...
Page 31
Snow Depth Sensor SHM 31 Start-up procedure Parameter name Default value Domain Description or can be set manually Reference angle [°] -180 … 180 Will be automatically set during the device calibration procedure or can be set manually Algorithm parameters...
Snow Depth Sensor SHM 31 Communication via UMB-ASCII 2.0 This section describes the communication and output of measurement values of the SHM 31 with the UMB-ASCII 2.0 data protocol. The communication is available via the RS232 and the RS485 interface.
Snow Depth Sensor SHM 31 Communication via UMB-ASCII 2.0 Polling (Request of the data telegram): B001:4E:SS;1<CR><LF> <STX>B001:4E:SS;1=085;003.0117;+02.1253;185;+15;17.8;00:00:94 <CR><LF><EOT> Read Channel (Read a UMB measurement channel): B001:4E:CHN;100<CR><LF> <STX>B001:4E:CHN;100=+23.45:00:<CheckSum><CR><LF><EOT> B001:4E:CHN;110<CR><LF> <STX>7001:4E:CHN;110:28:<CheckSum><CR><LF><EOT> (Channel busy) B001:4E:CHN;523<CR><LF> <STX>B001:4E:CHN;523:24:<CheckSum><CR><LF><EOT> (Channel unknown) 8.4 Description of the data telegram #1 with an example <Add>:<Nr>:Payload:UMB...
Communication via UMB-ASCII 2.0 Snow Depth Sensor SHM 31 8.5 Angle adjustment For the automatic calibration the following commands have to be sent consecutively: MEN, ARV and MST For the manual angle adjustment the commands AOF and AAN are used.
Page 35
Snow Depth Sensor SHM 31 Communication via UMB-ASCII 2.0 List of currently included parameters: • 10 ASCII2_INFO_NAME • 11 ASCII2_INFO_DESC • 12 ASCII2_INFO_VER • 13 ASCII2_INFO_EXT • 14 ASCII2_INFO_E2SIZE • 15 ASCII2_INFO_NUMBEROFCHANNELS • 16 ASCII2_INFO_CHANNELNUMBERS* (starting FW 1.3) • 20 ASCII2_INFO_CHAN_NAME •...
Page 36
Communication via UMB-ASCII 2.0 Snow Depth Sensor SHM 31 Command Standard Read, write, Name Description UMB-ASCII 2.0 value command Cancels the current measurement, and MeasurementEnd the calculation and transmission of telegrams Starts the automatic snow depth MeasurementStart measurement Standard-Set, Requests the current telegram SS<;>...
Page 37
Snow Depth Sensor SHM 31 Communication via UMB-ASCII 2.0 Read, Command Standard Write, Name Description UMB-ASCII 2.0 value Command UMB Device-ID (1-255) Query / set the baud rate for RS485 / SDI- 12 interface 2: 57600 4: 28800 6: 19200...
Page 38
Communication via UMB-ASCII 2.0 Snow Depth Sensor SHM 31 Read, Command Standard Write, Name Description UMB-ASCII 2.0 value Command Measures the current distance and tilt angle and AdjustmentReferenceValues sets the adjustment offset “AOF“ and the adjustment angle “AAN“. Measures the current...
Page 39
Snow Depth Sensor SHM 31 Communication via UMB-ASCII 2.0 Read, Command Standard Write, Name Description UMB-ASCII 2.0 value Command (“HBM“=1). Hysteresis; temperature is kept within this range in the HeaterBlockHysteresis automatic heater mode (“HBM“=1). Window heater mode: 0=off; 1=automatic: heat to set temperature and maintain;...
Page 40
Communication via UMB-ASCII 2.0 Snow Depth Sensor SHM 31 Read, Command Standard Write, Name Description UMB-ASCII 2.0 value Command Defrost: set temperature in °C HeaterDefrostBlock for the block heater. Defrost: set temperature in °C HeaterDefrostWindow for the window heater. Table 10: ASCII parameters for heater control...
Snow Depth Sensor SHM 31 UMB Communication UMB Communication 9.1 UMB Factory settings The factory UMB communication settings of the SHM 31 sensor are as follows: Class ID:............11 (fixed) Device ID:............1 (corresponds to address B001 (hex) = 45057) Baud rate:............19200 RS485 protocol:..........UMB binary...
Page 42
UMB Communication Snow Depth Sensor SHM 31 UMB channel Measured variable Data type Unit snow flag uint8 logic signal normalized uint8 norm value snow signal threshold uint8 norm value device status 4000 uint16 digits if not 0 please contact support...
Page 43
Snow Depth Sensor SHM 31 UMB Communication UMB channel Measured variable Data type Unit 5000 laser gain uint8 raw code 5001 laser sig. strength int32 µV 5002 laser distance float32 5003 laser temperature float32 °C 5004-5030 laser error statistic uint32...
Snow Depth Sensor SHM 31 9.3 Communication in RS485 binary protocol Lufft offers tools to communicate in UMB binary mode with our sensors. The ConfigTool.net was already described here. In addition, the SmartView Collector is a database tool to collect the measured data of Lufft's UMB sensors.
Snow Depth Sensor SHM 31 UMB Communication 9.3.3 Examples for Creating Addresses If, for example, you want to address a SHM31 with the device ID 001, it takes place as follows: The class ID is: 11d = Bh; the device ID is: 001d = 001h Putting the class and device IDs together gives the address B001h (45057d).
UMB Communication Snow Depth Sensor SHM 31 9.3.5 Status and Error Codes in Binary Protocol If a measurement request delivers the <status> 00h, the sensor is working correctly. You can find a complete list of additional codes in the description of the UMB protocol.
• SDI-12 Ground: V_IN- / SDI-12_GND (white) Please refer to table Pin assignment SHM 31 on page 19 in addition. 10.2 Preconditions for SDI-12 Operation As the interface settings defined in the SDI-12 standard are significantly different from the UMB default settings, the related parameters have to be set properly by ConfigTool.NET (latest...
Page 48
Communication in SDI-12 Mode Snow Depth Sensor SHM 31 • When measurement values are received the query process can be terminated, the interface is now open for configuration. (*) Remark: The 5 seconds UMB communication are available from program start. Under consideration of the operating system start, where no communication is possible, the device will be ready for SDI12 requests after 7.0 –...
Snow Depth Sensor SHM 31 Communication in SDI-12 Mode 10.4 Command Set For details of the SDI-12 protocol please refer to the above mentioned standard document. Following commands are available for SHM31-UMB: The examples in the following sections use italics to print the requests from the logger...
Communication in SDI-12 Mode Snow Depth Sensor SHM 31 Due the applied measurement processes the SHM31-UMB will, different from other sensors described in the SDI-12 document, always measure continuously. This causes some special properties: 1. The device does not need a “Wakeup” and does not have a sleep mode.
Snow Depth Sensor SHM 31 Communication in SDI-12 Mode 10.6.1 Example: C and M-requests from SHM31-UMB 0M! or 0C! 00008<CR><LF> 8 measurement values available for immediate retrieval 0D0! 0+2346+0.1000+45.7-2.8<CR><LF> Time stamp 2346sec, snow depth 0.1m, block temperature 45.7°C, ambient temperature -2.8°C 0+2346+0.0+0.0+0.0<CR><LF>...
Communication in SDI-12 Mode Snow Depth Sensor SHM 31 10.7 Additional Measurement Commands The additional measurement commands aM1! … aM2! (M-Command, data transmission with CRC) aMC1! … aMC2! aC1! … aC2! (C- Command, data transmission with CRC) aCC1! … aCC2! can be used to retrieve additional measurement values.
Snow Depth Sensor SHM 31 Communication in SDI-12 Mode Measurand UMB-Channel Unit Buffer ‘0’ Run time 4007 9999999 snow depth (cur) -629.9 629.9 snow flag (cur) code fogging flag (cur) code signal normalized Buffer ‘1’ distance -19.7 826.8 SHM31 error...
Page 54
Communication in SDI-12 Mode Snow Depth Sensor SHM 31 Sensor status codes: Sensor status Code Invalid_Channel E2_CAL_ERROR E2_CRC_KAL_ERR FLASH_CRC_ERR FLASH_WRITE_ERR FLASH_FLOAT_ERR MEAS_ERROR MEAS_UNABLE INIT_ERROR VALUE_OVERFLOW CHANNEL_OVERRANGE VALUE_UNDERFLOW CHANNEL_UNDERRANGE BUSY Other sensor status Example (SHM31-UMB, SDI-12 Address ‘0’, no error): 00002<CR><LF>...
Snow Depth Sensor SHM 31 Communication in SDI-12 Mode 10.10 Message Request Measurement Value Parameters (SDI-12 v1.4) The message requests the measurement value identification of every single measurement value. Request: aI<Measurement Command>_0mm! Measurement Command: M, M1...M9, MC1...MC9, C1...C9, CC1...CC9, R1...R9, V...
Communication in SDI-12 Mode Snow Depth Sensor SHM 31 If the command has been successfully accepted, the response is build by appending an „ok“ to the command code. If the command can not be executed, e.g. due to other procedures still in operation, the response is built by appending a „busy“...
Snow Depth Sensor SHM 31 Communication in SDI-12 Mode Command: aXMST! Response: aXMSTok<CR><LF> If any procedure is active which prohibits the execution of the command, it will be rejected with aXMSTbusy<CR><LF> 10.11.5 Command Laser On The command switches the laser permanently on, e.g. for adjustment of the measurement spot.
Communication in SDI-12 Mode Snow Depth Sensor SHM 31 Response: aXHDSok<CR><LF> 10.11.10 Command Switch off heater defrost mode The command switches off a running heater defrost mode Command: aXHDE! Response: aXHDEok<CR><LF> 10.12 Parameter commands Parameter commands are implemented as SDI12 „extended“ command and are used for reading and setting of parameters.
Snow Depth Sensor SHM 31 Communication in SDI-12 Mode 10.12.2 Setting of Parameters Command: aXPccc<+/->nnn! aXPccc<+/->fff.f! ccc: 3 character parameter code, see table below nnn, fff.f: parameter value to be set, number of digits as required Independent of the parameter’s data type the value given in the command may be integer or floating point.
Communication in Modbus Mode Snow Depth Sensor SHM 31 11 Communication in Modbus Mode For simpler integration of the SHM31-UMB into PLC environments communication using the Modbus protocol has been implemented. The measurement values are mapped to Modbus Input Registers. The range of values available is basically the same as for the UMB protocols, including different unit systems.
Snow Depth Sensor SHM 31 Communication in Modbus Mode 11.3.1 Functions 0x03 Read Holding Registers, 0x06 Write Single Register, 0x16 Write Multiple Registers The Holding Register are used to make a selected set of adjustable parameters as well as actions available for Modbus access.
Communication in Modbus Mode Snow Depth Sensor SHM 31 difference [sec] Range: 0 … 65535 Maximum snow height Maximum accepted snow height difference difference between two measurements [mm] Range: -20000 … +20000 Laser operating mode Not yet implemented Range: 0...
Page 63
Snow Depth Sensor SHM 31 Communication in Modbus Mode Status snow height UMB status code (see chapter 9.3.5) Status distance UMB status code (see chapter 9.3.5) Status normalized signal UMB status code (see chapter 9.3.5) reserved reserved SHM31 error code (see chapter 13.3.3)
Page 64
Communication in Modbus Mode Snow Depth Sensor SHM 31 Distance raw in (cur) Range: -394 … 16536 → -19.7 … 826.8 Reference height mm Range: 0 … 16000 Snow height mm, high resolution Range (mit Offset 1000.0): 0 … 64000 → -1000.0 … 5400.0...
Page 65
Snow Depth Sensor SHM 31 Communication in Modbus Mode -1800 … 1800 → -180.0 … 180.0 X angle ° (cur) Range: -1800 … 1800 → -180.0 … 180.0 Y angle ° (cur) Range: -1800 … 1800 → -180.0 … 180.0 Z angle °...
Check the signal quality Snow Depth Sensor SHM 31 12 Check the signal quality (Instructions for using the Target Set 8365.KWK-SET) The signal quality of the sensor can be checked at the measuring location with well defined target panels. These panels consists of the following DIN A4 high-quality photo cards: •...
Page 67
Snow Depth Sensor SHM 31 Check the signal quality A basic measurement setup is shown in 31. It is important to place the target panels horizontally onto ground to get the angle corrected signal strength value from the sensor. A good result can only be achieved if the sensor was set-up correctly in advance, see section Start-up procedure.
13.1 Firmware update We recommend to keep your SHM31 sensor up-to-date and frequently check the availability of new firmware. The firmware can be downloaded on www.lufft.com/resources/. You can update the firmware easily using the UMB ConfigTool.NET software. To do so, please follow the steps below: 1.
Snow Depth Sensor SHM 31 Service, maintenance and technical support Figure 33: updating the SHM31 sensor firmware 13.2 Maintenance NOTE: Be sure to turn off the power supply of the sensor during maintenance / cleaning! Cleaning of the front screen If the glass pane of the sender / receiver is polluted, please clean it with a moist, well wrung tissue.
● Ambiguous target, e.g. by water on the ground 13.3.3 Error codes In the UMB channels 4100 and 4101, the status codes for the snow depth sensor SHM 31 can be retrieved. In addition the status is part of the UMB-ASCII 2.0 data telegram.
Laser hardware error > sensors module must be returned to Lufft Hardware error > sensors module must be returned to Lufft Hardware error interface board > sensors module must be returned to Lufft Parity error, interface communication (SIO) SIO overflow, timing for output signals in application software...
Service, maintenance and technical support Snow Depth Sensor SHM 31 in the household waste! For environmentally friendly recycling and disposal of your old equipment, please contact a certified disposal company for electronic waste. 13.6 Outside the EU Please check the regulations applicable in the respective country for proper disposal of electronic waste equipment.
Need help?
Do you have a question about the SHM 31 and is the answer not in the manual?
Questions and answers