Danfoss Danfoss ERC 21x Modbus RTU template

Danfoss ERC 21x

Refrigeration controller: temperatures, relay states, setpoints, alarm and defrost parameters over Modbus RTU.

The Danfoss ERC 211, 213 and 214 are refrigeration controllers for cold rooms and display cases with one, three or four relays; this template follows the Danfoss ERC 21X Modbus parameter guide and reads temperatures, inputs and relay states and writes all setpoint, alarm, defrost, fan and compressor parameters. Connection through a TTL to RS485 converter at 19200 baud, 8 data bits, even parity, 1 stop bit, with the address set in o03.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
80, read and write
Brand
Danfoss
Key readings
Air temperature Sair and regulation reference · Defrost and condenser temperature · Controller status · Compressor, fan, defrost, alarm and light relay status · Digital inputs and night mode · Relay counters and firmware version
Available commands
Main switch r12 · Setpoint, differential and setpoint limits · High and low temperature alarm limits and delays · Defrost type, interval, stop temperature and times · Fan and compressor timers · Inputs, outputs, polarity and keyboard lock
Compatible models
ERC 211 · ERC 213 · ERC 214
Last updated

Registers (80)

80 read, 62 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Controller StatusRead2006FC03uint16
Air Temperature Sair°CRead2529FC03int16
Read The Present Regulation Reference°CRead2500FC03int16
Condenser Temperature Sc°CRead2646FC03int16
Di1 InputRead2001FC03uint16
Status on Night OperationRead
Compressor Relay StatusRead
Firmware Version ReadoutRead
Defrost Sensor Temperature Sdef°CRead
Di2 InputRead
Fan Relay StatusRead
Defrost Relay StatusRead
Alarm Relay StatusRead
Light Relay StatusRead
Main SwitchRead and write
Setpoint°CRead and write
Predefined ApplicationsRead and write
Sensor Type SelectionRead and write
DifferentialKRead and write
Min Setpoint Limitation°CRead and write
Max Setpoint Limitation°CRead and write
Display OffsetKRead and write
Display UnitRead and write
Calibration of SairKRead and write
Night Setback ECO ModeKRead and write
Value of Reference Displacement°CRead and write
Compressor Runtime Continuous CycleminRead and write
Setpoint at Continuous Cycle Exit°CRead and write
Alarm DelayminRead and write
Alarm Delay Pulldown Start up DefrostminRead and write
High Temperature Alarm Limit°CRead and write
Low Temperature Alarm Limit°CRead and write
DI1 DelayminRead and write
Condenser High Alarm Limit°CRead and write
Condenser High Block Limit°CRead and write
Voltage ProtectionRead and write
Minimum Cut-in VoltageVRead and write
Minimum Cut-out VoltageVRead and write
Maximum VoltageVRead and write
Defrost TypeRead and write
Defrost Stop Temperature°CRead and write
Defrost IntervalhRead and write
Max Defrost TimeminRead and write
Defrost Delay at Power upminRead and write
Drip DelayminRead and write
Defrost Stop SensorRead and write
Compressor Accumulated Runtime to Start DefrosthRead and write
Defrost Delay After Continuous CycleminRead and write
Compressor Min ON TimeminRead and write
Compressor Min OFF TimeminRead and write
Compressor OFF Delay at Open DoorRead and write
Zero Crossing SelectionRead and write
Delay of Outputs at StartupsRead and write
DI1 ConfigurationRead and write
Serial AddressRead and write
PasswordRead and write
Cooling HeatingRead and write
Display ResolutionRead and write
Relay 1 CounterRead
Save Settings As FactoryRead and write
Display at DefrostRead and write
DI1 Input PolarityRead and write
Key Board LockRead and write
DO2 ConfigRead and write
DI2 DelayminRead and write
Fan Delay After DefrostminRead and write
Fan Start Temperature After Defrost°CRead and write
Fan During DefrostRead and write
Defrost on DemandKRead and write
Fan at Comp OFFRead and write
Fan Stop Evap Temperature°CRead and write
Fan ON CycleminRead and write
Fan OFF CycleminRead and write
Relay 2 CounterRead
Relay 3 CounterRead
DI2 ConfigRead and write
DI2 Input PolarityRead and write
Invert Alarm RelayRead and write
Relay 4 CounterRead
DO4 ConfigRead and write

Loading registers…

The ModbusCloud Gateway, front at an angle, with the RS485 terminal and the antenna connectors

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

  • Alert when Air Temperature Sair rises above High Temperature Alarm Limit for longer than Alarm Delay in a cold room.
  • Log Compressor Relay Status and Defrost Relay Status to check defrost cycles and compressor running time.
  • Watch Condenser Temperature Sc to plan condenser cleaning before Condenser High Block Limit stops the compressor.
  • Change Setpoint remotely for night or weekend operation of a display case.
  • Read Relay 1 Counter to plan relay replacement on a heavily switching controller.

Installation

  1. Connect the ERC programming port through a TTL to RS485 converter to the RS485 port of your ModbusCloud Gateway. Terminate both ends of the bus.

  2. On the controller set the Modbus address in parameter o03 to a value from 1 to 247; the default 0 does not answer.

  3. In ModbusCloud, add a Modbus device (RTU) with that address, 19200 baud, 8 data bits, even parity and 1 stop bit, then import this template.

  4. Check the link: Air Temperature Sair should match the controller display and Setpoint the value of r00.

Things to watch for

The ERC does not answer on the bus. What should I check?

The ERC has no RS485 terminals; communication needs a TTL to RS485 converter on the programming port. Check that o03 is set to an address from 1 to 247 (default 0), that the master uses 19200 baud, 8E1, and swap A and B on the converter side if needed.

Why do temperatures read 250 instead of 2.5 °C?

Temperatures are signed 16-bit integers with scale 0.01. The template applies the scale; if you read the registers yourself, divide by 100.

Some registers return an exception.

Not every register exists on every model. The fan, defrost and alarm relays, DI2 and the fan parameters are only on the ERC 213 and 214, the light relay and DO4 config only on the ERC 214, Cooling Heating only on the ERC 211. The comment of each register names the models.

Writing the sensor type or application has no effect.

Parameters o06, o61, o07, o36 and o71 can only be changed when regulation is stopped. Write 0 to Main Switch first, change the parameter and switch regulation on again.

Want to see how it works?

Electrician working in an open distribution board