Danfoss Danfoss SonoMeter 40 Modbus RTU template

Danfoss SonoMeter 40

Ultrasonic heat and cooling meter for energy, power, flow, temperatures and volume in heating and cooling systems.

The Danfoss SonoMeter 40 is an ultrasonic energy meter that measures heating and cooling energy, power, flow and temperatures in heating and cooling systems, for example the heat delivered to a greenhouse. This Modbus RTU template reads energy, volume, power, flow, forward and return temperature and the error code, and lets you write the module address, update rate and serial settings from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 9600 baud
Registers
51, read and write
Brand
Danfoss
Key readings
Heating energy · Cooling energy · Power · Flow · Forward temperature · Return temperature · Temperature difference · Error code
Available commands
Modbus address · Update rate from the meter · Baud rate · Parity
Compatible models
SonoMeter 40 · Axioma Qalcosonic E3 with Modbus RTU Slave Module · Axioma Qalcosonic E4 with Modbus RTU Slave Module
Last updated

Registers (51)

51 read, 6 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Heating EnergyRead
Cooling EnergyRead
PowerkWRead
Flowm³/hRead
Forward Temperature°CRead
Return Temperature°CRead
Temperature DifferenceKRead
Volumem³Read
Tariff Energy 1Read
Tariff Energy 2Read
Pulse Input Volume 1m³Read
Pulse Input Volume 2m³Read
Forward Temperature Fixed°CRead
Return Temperature Fixed°CRead
Temperature Difference FixedKRead
Error CodeRead
Modbus Slave IDRead and write
Update Rate Data From MetersRead and write
Baud RateRead and write
Data BitsRead and write
ParityRead and write
Stop BitsRead and write
Heating Energy IntegerRead
Cooling Energy IntegerRead
Tariff Energy 1 IntegerRead
Tariff Energy 2 IntegerRead
Volume IntegerRead
Pulse Input Volume 1 IntegerRead
Pulse Input Volume 2 IntegerRead
Power IntegerRead
Flow IntegerRead
Heating Energy Unit FactorRead
Cooling Energy Unit FactorRead
Tariff Energy 1 Unit FactorRead
Tariff Energy 2 Unit FactorRead
Volume Unit FactorRead
Pulse Input Volume 1 Unit FactorRead
Pulse Input Volume 2 Unit FactorRead
Power Unit FactorRead
Flow Unit FactorRead
Heating Energy UnitRead
Cooling Energy UnitRead
Tariff Energy 1 UnitRead
Tariff Energy 2 UnitRead
Volume UnitRead
Pulse Input Volume 1 UnitRead
Pulse Input Volume 2 UnitRead
Power UnitRead
Flow UnitRead
Heat Meter Serial NumberRead
Heat Meter Serial Number ASCIIRead

Loading registers…

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Number of installations (optional)

Use cases

  • Show heat power, flow and forward and return temperature of each heat meter on a dashboard, for example per greenhouse section or heat source.
  • Keep a year of heating energy history to compare the daily and monthly heat delivered to each part of the greenhouse.
  • Get an email alert when the error code is not 0, so a temperature sensor fault, an empty flow sensor or reverse flow is noticed quickly.
  • Set an alarm when the power or the temperature difference stays below a threshold you choose.
  • Set the update rate of the module to 300 seconds remotely, so the meter data refreshes as often as ModbusCloud reads it by default.
  • Download energy and volume readings as CSV for your own heat delivery reports.

Installation

  1. Connect a 12 to 24 V AC/DC SELV power supply to terminals 60 and 61 of the Modbus RTU module of the SonoMeter 40. The polarity does not matter.

  2. Wire terminals 90 (A+) and 91 (B-) to the RS485 port of the ModbusCloud Gateway with twisted pair cable, and terminate the bus with 120 Ohm at both ends.

  3. By default the Modbus address is the last two digits of the meter serial number (00 gives 100) or the meter M-Bus address. The default bus settings are 9600 baud, 8 data bits, even parity and 1 stop bit.

  4. In ModbusCloud, add a Modbus device with protocol RTU, that address and 9600 8E1, then import this template.

  5. Compare Heating Energy, Power and the temperatures in ModbusCloud with the meter display. The status LED of the module blinks with every request and response.

Things to watch for

The meter does not answer. What should I check?

Check that the module has its 12 to 24 V supply on terminals 60 and 61 and that its LED blinks when the Gateway polls. Then check 9600 baud, 8 data bits, even parity, 1 stop bit and the address. That is the last two digits of the serial number, 100 if those are 00, or the M-Bus address. Swap A and B and check the 120 Ohm termination at both ends of the bus.

Why do the values only change every ten minutes?

The module reads the meter itself at a fixed interval, by default every 600 seconds, and answers Modbus requests from that copy. Write Update Rate Data From Meter to set a shorter interval, for example 300 seconds (raw value 3000) to match the default ModbusCloud reading interval.

Energy, power and temperatures show absurd values. Why?

The template reads 32-bit values high word first. If the floating point values show huge or tiny numbers while the unit registers show normal text such as MWh, the word order on your installation is reversed. Set the 32-bit registers to low word first in ModbusCloud and compare Heating Energy with the meter display.

Why does heating energy have no unit?

The meter counts energy in MWh or GJ, depending on its configuration. Heating Energy Unit shows the unit as text. Read it once and enter that unit on the energy registers in ModbusCloud. Use the floating point values for dashboards, because the integer values also need their unit factor.

Can I change the address or serial settings from ModbusCloud?

Yes, the module address, update rate, baud rate, data bits, parity and stop bits are writable. Writing is off per gateway by default, so request it for the gateway in the portal first. After a change, set the Modbus device in ModbusCloud to the same values. If the module no longer answers, power it off for 10 seconds, hold SET while you power it on and release it when the LED blinks fast after about 12 seconds.

Want to see how it works?

Electrician working in an open distribution board