Danfoss Danfoss Gas Detection Unit Modbus RTU template

Danfoss Gas Detection Unit

Gas detection for machine rooms: gas values, alarms, errors and maintenance days per sensor.

Danfoss Gas Detection units watch the air in machine rooms and cold stores for ammonia, CO2, hydrocarbons and HFC refrigerants, and switch alarm relays at four thresholds. This Modbus RTU template reads gas values, alarm and error bits, thresholds and maintenance data of each sensor into ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
98, read and write
Brand
Danfoss
Key readings
Gas concentration · Average gas value · Alarm status · Error code · Alarm thresholds · Days until maintenance · Sensor sensitivity
Available commands
Device address
Compatible models
GDA · GDC · GDH · GDHC · GDHF · Danfoss Gas Detection units in Basic, Premium and Heavy Duty versions
Last updated

Registers (98)

97 read, 1 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Sensor 1 Current Value (compressed)Read
Sensor 1 Average Value (compressed)Read
Sensor 2 Current Value (compressed)Read
Sensor 2 Average Value (compressed)Read
Sensor 3 Current Value (compressed)Read
Sensor 3 Average Value (compressed)Read
Sensor 1 Type and Range (compressed)Read
Sensor 2 Type and Range (compressed)Read
Sensor 3 Type and Range (compressed)Read
Current Temperature (compressed)°CRead
Sensor 1 Gas TypeRead
Sensor 1 Measuring RangeRead
Sensor 1 DivisorRead
Sensor 1 Current ValueRead
Sensor 1 Average ValueRead
Sensor 1 ErrorRead
Sensor 1 Alarm StatusRead
Sensor 1 Relays and Digital InputsRead
Sensor 1 Alarm Threshold 1Read
Sensor 1 Alarm Threshold 2Read
Sensor 1 Alarm Threshold 3Read
Sensor 1 Alarm Threshold 4Read
Sensor 2 Gas TypeRead
Sensor 2 Measuring RangeRead
Sensor 2 DivisorRead
Sensor 2 Current ValueRead
Sensor 2 Average ValueRead
Sensor 2 ErrorRead
Sensor 2 Alarm StatusRead
Sensor 2 Relays and Digital InputsRead
Sensor 2 Alarm Threshold 1Read
Sensor 2 Alarm Threshold 2Read
Sensor 2 Alarm Threshold 3Read
Sensor 2 Alarm Threshold 4Read
Sensor 3 Gas TypeRead
Sensor 3 Measuring RangeRead
Sensor 3 DivisorRead
Sensor 3 Current ValueRead
Sensor 3 Average ValueRead
Sensor 3 ErrorRead
Sensor 3 Alarm StatusRead
Sensor 3 Relays and Digital InputsRead
Sensor 3 Alarm Threshold 1Read
Sensor 3 Alarm Threshold 2Read
Sensor 3 Alarm Threshold 3Read
Sensor 3 Alarm Threshold 4Read
Sensor 1 Manufacturing Day and MonthRead
Sensor 1 Manufacturing YearRead
Sensor 1 Serial NumberRead
Sensor 1 Unit TypeRead
Sensor 1 Operating DaysdRead
Sensor 1 Days Until MaintenancedRead
Sensor 1 Operating Day of Last CalibrationdRead
Sensor 1 Maintenance IntervaldRead
Sensor 1 Remaining Days Previous PerioddRead
Sensor 1 Sensor Sensitivity%Read
Sensor 1 Calibration CountRead
Sensor 1 Calibration Tool TypeRead
Sensor 1 Calibration Tool NumberRead
Sensor 1 Long Term Average Gas ConcentrationRead
Sensor 1 Highest Gas ConcentrationRead
Sensor 1 Lowest TemperatureRead
Sensor 1 Highest TemperatureRead
Sensor 2 Manufacturing Day and MonthRead
Sensor 2 Manufacturing YearRead
Sensor 2 Serial NumberRead
Sensor 2 Unit TypeRead
Sensor 2 Operating DaysdRead
Sensor 2 Days Until MaintenancedRead
Sensor 2 Operating Day of Last CalibrationdRead
Sensor 2 Maintenance IntervaldRead
Sensor 2 Remaining Days Previous PerioddRead
Sensor 2 Sensor Sensitivity%Read
Sensor 2 Calibration CountRead
Sensor 2 Calibration Tool TypeRead
Sensor 2 Calibration Tool NumberRead
Sensor 2 Long Term Average Gas ConcentrationRead
Sensor 2 Highest Gas ConcentrationRead
Sensor 2 Lowest TemperatureRead
Sensor 2 Highest TemperatureRead
Sensor 3 Manufacturing Day and MonthRead
Sensor 3 Manufacturing YearRead
Sensor 3 Serial NumberRead
Sensor 3 Unit TypeRead
Sensor 3 Operating DaysdRead
Sensor 3 Days Until MaintenancedRead
Sensor 3 Operating Day of Last CalibrationdRead
Sensor 3 Maintenance IntervaldRead
Sensor 3 Remaining Days Previous PerioddRead
Sensor 3 Sensor Sensitivity%Read
Sensor 3 Calibration CountRead
Sensor 3 Calibration Tool TypeRead
Sensor 3 Calibration Tool NumberRead
Sensor 3 Long Term Average Gas ConcentrationRead
Sensor 3 Highest Gas ConcentrationRead
Sensor 3 Lowest TemperatureRead
Sensor 3 Highest TemperatureRead
Modbus Device AddressWrite

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.

Use cases

  • Show the gas value of every detector in a machine room on one dashboard next to the refrigeration plant.
  • Get an email when an alarm bit of a sensor turns on, or when the error word is not 0.
  • Follow days until maintenance and plan the calibration visit before the interval runs out.
  • Watch sensor sensitivity over months to see when a sensor head is due for replacement.
  • Keep a history of the highest measured concentration as evidence for leak checks.

Installation

  1. Wire the Bus A and Bus B terminals of the gas detection unit to the RS485 port of the ModbusCloud Gateway, with a 120 ohm resistor at both ends of the bus.

  2. Give each unit a unique Modbus address and set the bus to 19200 baud, 8 data bits, even parity, 1 stop bit.

  3. In ModbusCloud, add a Modbus device (RTU) with that address and import this template.

  4. Read the gas type, range and divisor of each sensor and check that the current value divided by the divisor matches the unit display.

  5. Set alarm rules on the alarm status and error registers of the sensors you use.

Things to watch for

Why is the gas value 100 times too high?

Gas values and thresholds are sent multiplied by the divisor of the sensor, which depends on the measuring range. Read the divisor register of the same sensor and divide by it, for example 314 with divisor 100 is 3.14.

How do I read the alarm status word?

Bits 4 to 7 are alarm 1 to 4 and bits 12 to 15 are the self hold of alarm 1 to 4. A value of 16 means alarm 1 is active; 0 means no alarm. An alarm rule on greater than 0 catches every stage.

Can I change thresholds or acknowledge alarms over Modbus?

No. The only register you can write is the device address, register 333 with function 16. All other settings are blocked for safety reasons and stay on the unit itself. After writing a new address the unit only answers on that address.

The unit answers irregularly. What should I check?

Poll each address no faster than every 100 ms, and with a short polling cycle add a pause of more than 550 ms per cycle. Check even parity and 1 stop bit, and the 120 ohm termination at both ends.

Want to see how it works?

Electrician working in an open distribution board