{
  "rmc_models_export": 1,
  "device_models": {
    "Siemens RDFxxxMB": {
      "info": {
        "id": "siemens/rdf4xx-mb",
        "version": 1,
        "date": "2026-11-20",
        "vendor": "Siemens",
        "category": "HVAC",
        "devices": "RDF400MB, RDF460MB (RDF4..MB room thermostats)",
        "description": "Room thermostat for fan coil units, Modbus RTU. Status (FC04), configuration parameters P01-P89, control (operating mode, fan speed, comfort setpoint, window/presence/keycard inputs) and system time. Configuration, control and system registers are writable at their read address.",
        "source": "Siemens manual A6V14153583, section 4.13.3",
        "source_file": "source/A6V14153583.pdf",
        "source_sha256": "7f0b0b18bf56077cfcd54b2a79a0f1df96ad7af4770f0cfef6d2daa913f77d11",
        "device_firmware": "not stated by the source",
        "min_firmware": "1.0.59",
        "notes": [
          "quiet_before_ms 35: the device misses a request sent less than about 35 ms after a frame not addressed to it (measured on the bench, 2026-11-19)."
        ],
        "frames": {
          "Status": {
            "description": "Room temperature and setpoint, heating/cooling request, fan state, operating mode, input D1, fault",
            "recommended": true
          },
          "Configuration": {
            "description": "Commissioning parameters P01-P89 (application, control sequence, fan, setpoint limits, keypad lock, password)",
            "recommended": false
          },
          "Control": {
            "description": "Operating mode, forced protection, fan speed, comfort setpoint, room temperature via bus, window/presence/keycard, changeover",
            "recommended": true
          },
          "System": {
            "description": "System time, restart, Y1/Y2 output test",
            "recommended": false
          }
        },
        "changes": [
          "1: first version; corrected in place 2026-11-20 (owner): default zone names removed (values go to the project's first zone of their kind)"
        ]
      },
      "frames": {
        "Status": {
          "fc": 4,
          "reg_start": 0,
          "reg_count": 14,
          "poll_interval": 1,
          "response_timeout": 1,
          "retries": 1,
          "variables": [
            {
              "offset": 0,
              "name": "software_version",
              "description": "000…999; e.g. 102 = V1.0.2 (0…999)"
            },
            {
              "offset": 1,
              "name": "hardware_version",
              "description": "000…999; e.g. 102 = V1.0.2 (0…999)"
            },
            {
              "offset": 2,
              "name": "present_application",
              "state_map": {
                "1": "No application",
                "2": "2-pipe, 2-wire on/off valve",
                "3": "2-pipe, modulating valve",
                "4": "2-pipe, 3-wire on/off valve",
                "5": "2-pipe, 3-position valve",
                "6": "2-pipe el. heat 2-wire on/off vlv (RDF400MB.., RDF460MB..)",
                "7": "4-pipe, 2-wire on/off valve",
                "8": "4-pipe, modulating valve",
                "9": "2-pipe el. heat modulating valve"
              },
              "description": "1 = No application; 2 = 2-pipe, 2-wire on/off valve; 3 = 2-pipe, modulating valve; 4 = 2-pipe, 3-wire on/off valve; 5 = 2-pipe, 3-position valve; 6 = 2-pipe el. heat 2-wire on/off vlv; (RDF400MB.., RDF460MB..); 7 = 4-pipe, 2-wire on/off valve; 8 = 4-pipe, modulating valve; 9 = 2-pipe el. heat modulating valve"
            },
            {
              "offset": 3,
              "name": "present_operating_mode",
              "state_map": {
                "1": "Protection",
                "2": "Economy",
                "3": "Not used",
                "4": "Comfort"
              },
              "description": "1 = Protection; 2 = Economy; 3 = Not used; 4 = Comfort"
            },
            {
              "offset": 4,
              "name": "room_temperature",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "-20…70 °C; -100 = Out of service",
              "state_map": {
                "-100": "Out of service"
              }
            },
            {
              "offset": 5,
              "name": "room_temperature_setpoint",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "5...40 °C; 0 = OFF",
              "state_map": {
                "0": "OFF"
              }
            },
            {
              "offset": 6,
              "name": "heating_request",
              "unit": "%",
              "description": "0...100 %"
            },
            {
              "offset": 7,
              "name": "cooling_request",
              "unit": "%",
              "description": "0...100 %"
            },
            {
              "offset": 8,
              "name": "fan_operating_state",
              "state_map": {
                "1": "Automatic",
                "2": "Manual"
              },
              "description": "1 = Automatic; 2 = Manual"
            },
            {
              "offset": 9,
              "name": "three_speed_fan",
              "state_map": {
                "1": "OFF",
                "2": "Low fan",
                "3": "Medium fan",
                "4": "High fan"
              },
              "description": "1 = OFF; 2 = Low fan; 3 = Medium fan; 4 = High fan"
            },
            {
              "offset": 10,
              "name": "variable_speed_fan",
              "unit": "%",
              "description": "0...100 %"
            },
            {
              "offset": 11,
              "name": "operating_hours_fan",
              "unit": "h",
              "description": "0 = no counting; 1...1999 (resolution 1 hour)",
              "state_map": {
                "0": "no counting"
              }
            },
            {
              "offset": 12,
              "name": "input_d1",
              "state_map": {
                "0": "OFF",
                "1": "ON"
              },
              "description": "0 = OFF; 1 = ON"
            },
            {
              "offset": 13,
              "name": "fault",
              "state_map": {
                "1": "No fault",
                "2": "Built-in sensor",
                "3": "Not used",
                "4": "Input D1",
                "5": "Not used",
                "6": "Not used",
                "7": "Communication"
              },
              "description": "1 = No fault; 2 = Built-in sensor; 3 = Not used; 4 = Input D1; 5 = Not used; 6 = Not used; 7 = Communication"
            }
          ]
        },
        "Configuration": {
          "fc": 3,
          "reg_start": 17,
          "reg_count": 36,
          "poll_interval": 1,
          "response_timeout": 1,
          "retries": 1,
          "variables": [
            {
              "offset": 1,
              "name": "p02_control_sequence",
              "writable": true,
              "state_map": {
                "1": "Heating only",
                "2": "Cooling only",
                "3": "H/C changeover auto",
                "4": "H/C changeover manual",
                "5": "Heating and cooling"
              },
              "description": "1 = Heating only; 2 = Cooling only; 3 = H/C changeover auto; 4 = H/C changeover manual / 4 = H/C changeover manual; 5 = Heating and cooling"
            },
            {
              "offset": 2,
              "name": "p03_fan_type",
              "writable": true,
              "state_map": {
                "1": "1-speed fan",
                "2": "3-speed fan",
                "3": "ECM fan"
              },
              "description": "1 = 1-speed fan; 2 = 3-speed fan / 1 = 1-speed fan; 2 = 3-speed fan; 3 = ECM fan / 3 = ECM fan"
            },
            {
              "offset": 3,
              "name": "p04_valve_actuator_type",
              "writable": true,
              "state_map": {
                "1": "2-wire on/off valve actuator",
                "2": "3-wire on/off valve actuator",
                "3": "3-position valve actuator",
                "4": "Modulating valve actuator"
              },
              "description": "1 = 2-wire on/off valve actuator; 2 = 3-wire on/off valve actuator; 3 = 3-position valve actuator / 4 = Modulating valve actuator"
            },
            {
              "offset": 4,
              "name": "p10_operating_mode_selector",
              "writable": true,
              "state_map": {
                "1": "Comfort, Protection",
                "2": "Comfort, Economy, Protection"
              },
              "description": "1 = Comfort, Protection; 2 = Comfort, Economy, Protection / 1 = Comfort, Protection"
            },
            {
              "offset": 5,
              "name": "p11_display_information",
              "writable": true,
              "state_map": {
                "1": "Room temperature, built-in",
                "2": "Temperature setpoint",
                "3": "Temperature via bus"
              },
              "description": "1 = Room temperature, built-in; 2 = Temperature setpoint; 3 = Temperature via bus"
            },
            {
              "offset": 6,
              "name": "p12_temperature_unit",
              "writable": true,
              "state_map": {
                "1": "Celsius",
                "2": "Fahrenheit"
              },
              "description": "1 = Celsius; 2 = Fahrenheit"
            },
            {
              "offset": 7,
              "name": "p13_measured_value_adjustment",
              "data_type": "int16",
              "unit": "K",
              "scale": 0.02,
              "description": "-5…5 K",
              "writable": true
            },
            {
              "offset": 8,
              "name": "p14_additional_display_information",
              "writable": true,
              "state_map": {
                "1": "Off",
                "2": "Temperature in deg C and deg F",
                "3": "Temperature setpoint",
                "4": "Time of day am/pm"
              },
              "description": "1 = Off; 2 = Temperature in deg C and deg F; 3 = Temperature setpoint; 4 = Time of day am/pm"
            },
            {
              "offset": 9,
              "name": "p15_keypad",
              "writable": true,
              "state_map": {
                "1": "Unlock",
                "2": "Lock, except on/off",
                "3": "Lock, except setpoint",
                "4": "Lock setpoint",
                "5": "Lock fan",
                "6": "Lock operating mode",
                "7": "Lock all"
              },
              "description": "1 = Unlock; 2 = Lock, except on/off; 3 = Lock, except setpoint; 4 = Lock setpoint; 5 = Lock fan; 6 = Lock operating mode; 7 = Lock all"
            },
            {
              "offset": 10,
              "name": "p20_min_room_temp_setpoint_for_comfort",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "5 °C…(P21-1)",
              "writable": true
            },
            {
              "offset": 11,
              "name": "p21_max_room_temp_setpoint_for_comfort",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "(P20+1)...40 °C",
              "writable": true
            },
            {
              "offset": 12,
              "name": "p22_heating_setpoint_for_economy",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "0 = OFF; 5 °C…P23 (WCoolEco)",
              "writable": true,
              "state_map": {
                "0": "OFF"
              }
            },
            {
              "offset": 13,
              "name": "p23_cooling_setpoint_for_economy",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "0 = OFF; P22 (WHeatEco)…40 °C",
              "writable": true,
              "state_map": {
                "0": "OFF"
              }
            },
            {
              "offset": 14,
              "name": "p30_fan_operation_in_zero_energy_zone",
              "writable": true,
              "state_map": {
                "1": "Disable",
                "2": "Low speed, heating and cooling",
                "3": "Low speed, cooling only"
              },
              "description": "1 = Disable; 2 = Low speed, heating and cooling; 3 = Low speed, cooling only"
            },
            {
              "offset": 15,
              "name": "p40_enable_electric_heat_coil_when_cooling",
              "writable": true,
              "state_map": {
                "0": "Disable",
                "1": "Enable"
              },
              "description": "0 = Disable; 1 = Enable"
            },
            {
              "offset": 16,
              "name": "p41_zero_energy_zone",
              "data_type": "int16",
              "unit": "K",
              "scale": 0.02,
              "description": "0.5…5 K",
              "writable": true
            },
            {
              "offset": 17,
              "name": "p42_setpoint_difference",
              "data_type": "int16",
              "unit": "K",
              "scale": 0.02,
              "description": "0.5…5 K",
              "writable": true
            },
            {
              "offset": 18,
              "name": "p43_p_band_hysteresis_for_heating",
              "data_type": "int16",
              "unit": "K",
              "scale": 0.02,
              "description": "0.5…6 K",
              "writable": true
            },
            {
              "offset": 19,
              "name": "p44_p_band_hysteresis_for_cooling",
              "data_type": "int16",
              "unit": "K",
              "scale": 0.02,
              "description": "0.5…6 K",
              "writable": true
            },
            {
              "offset": 20,
              "name": "p45_integral_action_time_for_temp_ctr",
              "unit": "min",
              "description": "0…120 min",
              "writable": true
            },
            {
              "offset": 21,
              "name": "p46_runtime_0_to_100",
              "unit": "s",
              "description": "20…300 s",
              "writable": true
            },
            {
              "offset": 22,
              "name": "p50_heating_setpoint_for_protection",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "0 = OFF; 5...P51 (WCoolProt) (40 °C, when P51 = OFF)",
              "writable": true,
              "state_map": {
                "0": "OFF"
              }
            },
            {
              "offset": 23,
              "name": "p51_cooling_setpoint_for_protection",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "0 = OFF; P50 (5 °C, when P50 = OFF)...40 °C",
              "writable": true,
              "state_map": {
                "0": "OFF"
              }
            },
            {
              "offset": 24,
              "name": "p62_configuration_input_d1",
              "writable": true,
              "state_map": {
                "1": "No input",
                "2": "Not used",
                "3": "H/C changeover",
                "4": "Window contact",
                "5": "Fault input",
                "6": "Monitor input",
                "7": "Not used",
                "8": "Presence detector",
                "9": "Hotel presence detector"
              },
              "description": "1 = No input; 2 = Not used; 3 = H/C changeover; 4 = Window contact; 5 = Fault input; 6 = Monitor input; 7 = Not used; 8 = Presence detector; 9 = Hotel presence detector"
            },
            {
              "offset": 25,
              "name": "p63_signal_type_input_d1",
              "writable": true,
              "state_map": {
                "1": "Normally open",
                "2": "Normally closed"
              },
              "description": "1 = Normally open; 2 = Normally closed"
            },
            {
              "offset": 26,
              "name": "p70_fan_kick_in_economy_mode",
              "unit": "min",
              "description": "0 = Off or 1…359 minutes; 360 = Fan continues to run",
              "writable": true,
              "state_map": {
                "0": "Off",
                "360": "Fan continues to run"
              }
            },
            {
              "offset": 27,
              "name": "p71_enable_fan_start_kick",
              "writable": true,
              "state_map": {
                "0": "Disable",
                "1": "Enable"
              },
              "description": "0 = Disable; 1 = Enable"
            },
            {
              "offset": 28,
              "name": "p72_maximum_fan_speed",
              "unit": "%",
              "description": "ECM fan med.…100 %",
              "writable": true
            },
            {
              "offset": 29,
              "name": "p73_medium_fan_speed",
              "unit": "%",
              "description": "ECM fan min.... ECM fan max.",
              "writable": true
            },
            {
              "offset": 30,
              "name": "p74_minimum_fan_speed",
              "unit": "%",
              "description": "1 %... ECM fan med.",
              "writable": true
            },
            {
              "offset": 31,
              "name": "p75_operating_hours_configuration_fan",
              "writable": true,
              "state_map": {
                "1": "Enable",
                "2": "Disable",
                "3": "Reset"
              },
              "description": "1 = Enable; 2 = Disable; 3 = Reset"
            },
            {
              "offset": 32,
              "name": "p80_restart_after_power_failure",
              "writable": true,
              "state_map": {
                "1": "Previous operating mode",
                "2": "Comfort mode",
                "3": "Protection mode"
              },
              "description": "1 = Previous operating mode; 2 = Comfort mode; 3 = Protection mode"
            },
            {
              "offset": 33,
              "name": "p82_enable_password",
              "writable": true,
              "state_map": {
                "0": "Disable",
                "1": "Enable"
              },
              "description": "0 = Disable; 1 = Enable"
            },
            {
              "offset": 34,
              "name": "p83_password",
              "description": "00…99",
              "writable": true
            },
            {
              "offset": 35,
              "name": "p89_reset_parameter",
              "writable": true,
              "state_map": {
                "0": "Disable",
                "1": "Enable"
              },
              "description": "0 = Disable; 1 = Enable"
            },
            {
              "offset": 0,
              "name": "p01_application",
              "writable": true,
              "state_map": {
                "1": "2-pipe, H/C changeover",
                "2": "2-pipe, electrical heating coil",
                "3": "4-pipe"
              },
              "description": "1 = 2-pipe, H/C changeover; 2 = 2-pipe, electrical heating coil; 3 = 4-pipe"
            }
          ]
        },
        "Control": {
          "fc": 3,
          "reg_start": 100,
          "reg_count": 9,
          "poll_interval": 1,
          "response_timeout": 1,
          "retries": 1,
          "variables": [
            {
              "offset": 0,
              "name": "room_operating_mode_switch",
              "writable": true,
              "state_map": {
                "1": "Protection",
                "2": "Economy",
                "4": "Comfort",
                "5": "Not used"
              },
              "description": "1 = Protection; 2 = Economy; 4 = Comfort; 5 = Not used"
            },
            {
              "offset": 1,
              "name": "forced_operating_mode_for_protection",
              "writable": true,
              "state_map": {
                "0": "Disable",
                "1": "Enable"
              },
              "description": "0 = Disable; 1 = Enable"
            },
            {
              "offset": 2,
              "name": "fan_speed_command",
              "writable": true,
              "state_map": {
                "1": "Auto",
                "2": "Low speed",
                "3": "Medium speed",
                "4": "High speed"
              },
              "description": "1 = Auto; 2 = Low speed; 3 = Medium speed; 4 = High speed"
            },
            {
              "offset": 3,
              "name": "setpoint_for_comfort",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "5...40 °C",
              "writable": true
            },
            {
              "offset": 4,
              "name": "room_temperature_via_bus",
              "data_type": "int16",
              "unit": "°C",
              "scale": 0.02,
              "description": "-20...70 °C",
              "writable": true
            },
            {
              "offset": 5,
              "name": "window_contact",
              "writable": true,
              "state_map": {
                "0": "Open",
                "1": "Closed"
              },
              "description": "0 = Open; 1 = Closed"
            },
            {
              "offset": 6,
              "name": "presence_detector",
              "writable": true,
              "state_map": {
                "0": "Absent",
                "1": "Present"
              },
              "description": "0 = Absent; 1 = Present"
            },
            {
              "offset": 7,
              "name": "keycard",
              "writable": true,
              "state_map": {
                "0": "No",
                "1": "Yes"
              },
              "description": "0 = No; 1 = Yes"
            },
            {
              "offset": 8,
              "name": "changeover_mode",
              "writable": true,
              "state_map": {
                "0": "Heating",
                "1": "Cooling"
              },
              "description": "0 = Heating; 1 = Cooling"
            }
          ]
        },
        "System": {
          "fc": 3,
          "reg_start": 199,
          "reg_count": 6,
          "poll_interval": 3,
          "response_timeout": 1,
          "retries": 1,
          "variables": [
            {
              "offset": 0,
              "name": "system_time_year",
              "description": "0000YYYY YYYYYYYY; Y 2000…2100 = Year",
              "writable": true
            },
            {
              "offset": 1,
              "name": "system_time_month_day",
              "description": "0000MMMM 000DDDDD; M 1…12 = Month; D 1…31 = Day of month",
              "writable": true
            },
            {
              "offset": 2,
              "name": "system_time_weekday_hour_minute",
              "description": "dddhhhhh 00mmmmmm; d 0, 1…7 = Any, Mon…Sun; h 0…23 = Hours; m 0…59 = Minutes",
              "writable": true
            },
            {
              "offset": 3,
              "name": "system_time_second",
              "description": "00ssssss xxxxxxxx; s 0…59 = Seconds; x reserve",
              "writable": true
            },
            {
              "offset": 4,
              "name": "restart_device",
              "writable": true,
              "state_map": {
                "0": "OFF",
                "1": "Restart"
              },
              "description": "0 = OFF; 1 = Restart"
            },
            {
              "offset": 5,
              "name": "test_mode_y1_y2_output",
              "writable": true,
              "state_map": {
                "1": "Released",
                "2": "Y1, Y2 on for 10 min",
                "3": "Y1, Y2 off for 10 min",
                "4": "Y1 off, Y2 on for 10 min",
                "5": "Y1 on, Y2 off for 10 min"
              },
              "description": "1 = Released; 2 = Y1, Y2 on for 10 min; 3 = Y1, Y2 off for 10 min; 4 = Y1 off, Y2 on for 10 min; 5 = Y1 on, Y2 off for 10 min"
            }
          ]
        }
      },
      "address_mode": "modicon",
      "modicon_form": "6",
      "quiet_before_ms": 35
    }
  }
}
