{
 "manufacturer": "Mitsubishi Electric",
 "manufacturer_slug": "mitsubishi-electric",
 "model": "MelcoBEMS MINI (A1M) gateway for Air-To-Air split units",
 "model_slug": "melcobems-mini-a1m-ata",
 "short_model": "A1M Air-To-Air",
 "aliases": [
  "MelcoBEMS MINI (A1M)",
  "A1M",
  "Procon A1M",
  "MelcoBEMS MINI"
 ],
 "equipment_type": "VRF / split AC gateway",
 "applies_to": "Procon MelcoBEMS MINI (A1M) on the CN105/CN92 connector of a Mitsubishi Electric Air-To-Air indoor unit, installation manual v1.1.11 (firmware 3.0.28 for revision 2-4 hardware, 3.1.1 for revision 5).",
 "summary": "Procon protocol converter that plugs into the CN105/CN92 connector of one Mitsubishi Electric split indoor unit and serves Modbus RTU or BACnet MS/TP on RS-485. For Air-To-Air units it exposes mode, setpoint, fan, vane and on/off, room temperature and fault code, the BMS room-sensor setpoint offset and deadband auto-changeover settings.",
 "transport": [
  "RTU"
 ],
 "defaults": {
  "unit_id": null,
  "baud": null,
  "parity": null,
  "data_bits": 8,
  "stop_bits": 1,
  "tcp_port": null
 },
 "addressing": {
  "convention": "Modicon",
  "note": "Every row prints a 0-based 'Address' next to the Modicon address (40001 = holding 0, 30001 = input 0, 00001 = coil 0). The 0-based address is the wire address."
 },
 "default_word_order": null,
 "firmware": "3.0.28 / 3.1.1",
 "source": {
  "title": "Procon MelcoBEMS MINI (A1M) Installation Manual",
  "doc_number": "Manual version 1.1.11",
  "revision_date": "2024-03-14",
  "url": "https://library.mitsubishielectric.co.uk/pdf/download_full/5186",
  "pages": "pp. 15-16 (DIP switches), pp. 32-35 (Air-To-Air Modbus tables)"
 },
 "notes": [
  "This file covers only the Air-To-Air tables (section 11). The same manual has Lossnay tables (section 13); the Air-To-Water tables are in a separate register-table document.",
  "Input values and the coil are mirrored as read-only holding registers for BMSs that only read holding registers. There are no discrete inputs for Air-To-Air systems.",
  "BMS room temperature is given signed (40016) and unsigned (40017). Deadband setpoints (40019/40020) are whole °C, unlike the x10 setpoint and temperatures.",
  "Holding 4 and 5 serve as the Modbus slave ID / baud rate or the BACnet station ID / baud rate, depending on the protocol chosen on DIP 7.",
  "The BACnet device instance is a 32-bit value: the manual names 272 the most significant and 273 the least significant 16 bits, so it is listed as UINT32 high word first.",
  "Fault codes other than 8000 / 0x8000 and 6999 / 0x6999 are the indoor unit's own codes."
 ],
 "registers": [
  {
   "table": "coil",
   "address": 0,
   "documented": "00001",
   "name": "Drive On/Off",
   "description": "Same as holding register 7.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Drive off",
    "1": "Drive on"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 0,
   "documented": "30001",
   "name": "Room temperature",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 1,
   "documented": "30002",
   "name": "Fault code (hex)",
   "description": "0x8000 = no error, 0x6999 = no comms with indoor unit.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "32768": "No error",
    "27033": "Bad communication with indoor unit"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 3,
   "documented": "30004",
   "name": "Firmware version",
   "description": "MelcoBEMS MINI (A1M) firmware version.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 5,
   "documented": "30006",
   "name": "Modbus comms counter",
   "description": "Counts valid Modbus commands; wraps after 65535.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8,
   "documented": "30009",
   "name": "Fault code (decimal)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "8000": "No error",
    "6999": "Bad communication with indoor unit"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 9,
   "documented": "30010",
   "name": "System type detected",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "0": "Air-to-air",
    "1": "Air-to-water",
    "2": "Lossnay",
    "255": "Undetermined (no unit detected yet)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 10,
   "documented": "30011",
   "name": "Deadband enabled state",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "0": "Deadband disabled (DIP 8 off)",
    "1": "Deadband enabled (DIP 8 on)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 0,
   "documented": "40001",
   "name": "Drive mode",
   "description": "i-see codes are read only.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Heating",
    "2": "Humidity reduction",
    "3": "Cooling",
    "7": "Ventilation / clean air",
    "8": "Auto",
    "9": "i-see heating (read only)",
    "10": "i-see humidity reduction (read only)",
    "11": "i-see cooling (read only)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1,
   "documented": "40002",
   "name": "Temperature setpoint",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 2,
   "documented": "40003",
   "name": "Fan speed",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Auto",
    "2": "Quiet",
    "3": "Weak",
    "5": "Strong",
    "6": "Very strong (SH i)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 3,
   "documented": "40004",
   "name": "Air direction",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Auto",
    "1": "Position 1",
    "2": "Position 2",
    "3": "Position 3",
    "4": "Position 4",
    "5": "Position 5",
    "7": "Swing"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 4,
   "documented": "40005",
   "name": "Modbus slave ID / BACnet station ID",
   "description": "Modbus 1-247, BACnet 1-127; used when DIP 1-5 are all ON.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 5,
   "documented": "40006",
   "name": "RS-485 baud rate",
   "description": "Used when DIP 6 is OFF. BACnet allows only 0, 4, 6, 8, 10.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "9600",
    "1": "1200",
    "2": "2400",
    "3": "4800",
    "4": "9600",
    "5": "14400",
    "6": "19200",
    "7": "28800",
    "8": "38400",
    "9": "56000",
    "10": "57600",
    "11": "115200"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 6,
   "documented": "40007",
   "name": "RS-485 parity",
   "description": "Used when DIP 6 is OFF.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "None",
    "1": "Even",
    "2": "Odd"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 7,
   "documented": "40008",
   "name": "Drive On/Off",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Drive off",
    "1": "Drive on"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 8,
   "documented": "40009",
   "name": "Room temperature",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 9,
   "documented": "40010",
   "name": "Fault code (hex)",
   "description": "0x8000 = no error.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "32768": "No error",
    "27033": "Bad communication with indoor unit"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 10,
   "documented": "40011",
   "name": "Firmware version",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 11,
   "documented": "40012",
   "name": "Modbus comms counter",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 12,
   "documented": "40013",
   "name": "Fault code (decimal)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "8000": "No error",
    "6999": "Bad communication with indoor unit"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 13,
   "documented": "40014",
   "name": "System type detected",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "0": "Air-to-air",
    "1": "Air-to-water",
    "2": "Lossnay",
    "255": "Undetermined (no unit detected yet)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 14,
   "documented": "40015",
   "name": "Deadband enabled state",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "0": "Deadband disabled (DIP 8 off)",
    "1": "Deadband enabled (DIP 8 on)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 15,
   "documented": "40016",
   "name": "BMS room temperature (signed)",
   "description": "Room reading from the BMS for the setpoint offset feature.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 16,
   "documented": "40017",
   "name": "BMS room temperature",
   "description": "Unsigned version, 0-50 °C.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 17,
   "documented": "40018",
   "name": "BMS virtual setpoint",
   "description": "10-40 °C.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 18,
   "documented": "40019",
   "name": "Deadband heating setpoint",
   "description": "Whole degrees, default 19 °C; at least 2 °C below the cooling setpoint.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 19,
   "documented": "40020",
   "name": "Deadband cooling setpoint",
   "description": "Whole degrees, default 23 °C; at least 2 °C above the heating setpoint.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 272,
   "documented": "40273 / 40274",
   "name": "BACnet device instance",
   "description": "Most significant 16 bits at 272, least significant at 273.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 274,
   "documented": "40275",
   "name": "BACnet max master",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 275,
   "documented": "40276",
   "name": "BACnet max info frames",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 276,
   "documented": "40277",
   "name": "BACnet APDU timeout",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 277,
   "documented": "40278",
   "name": "BACnet APDU retries",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  }
 ],
 "integration": {
  "summary": "Set DIP 7 ON for Modbus RTU, choose the slave ID on DIP 1-5 and set DIP 6 ON for 9600 / no parity. Write mode, setpoint, fan, vane and on/off at holding 0-3 and 7, and poll room temperature (8) and fault code (12).",
  "minimum_registers": [
   {
    "table": "holding_register",
    "address": 7,
    "why": "On/off"
   },
   {
    "table": "holding_register",
    "address": 0,
    "why": "Mode"
   },
   {
    "table": "holding_register",
    "address": 1,
    "why": "Setpoint (x10)"
   },
   {
    "table": "holding_register",
    "address": 2,
    "why": "Fan speed"
   },
   {
    "table": "holding_register",
    "address": 8,
    "why": "Room temperature (x10)"
   },
   {
    "table": "holding_register",
    "address": 12,
    "why": "Fault code (8000 = none)"
   }
  ],
  "enable": "DIP 7 ON = Modbus RTU (OFF = BACnet MS/TP).",
  "watchdog": null,
  "quirks": [
   "Node address on DIP 1-5 (1-30, binary); all ON = address from holding 4; all OFF = address 1.",
   "DIP 6 ON = 9600 baud, no parity; OFF = holding 5 and 6. Data bits 8 and stop bits 1 are fixed.",
   "Setting the BMS room temperature to 0 °C turns the setpoint offset feature off."
  ],
  "setup": [
   "Plug the flying lead into CN105/CN92 on the indoor unit PCB; it is powered from there (12 V DC).",
   "Use one A1M per indoor unit if the fault register is used; with MXZ multi-splits one A1M per indoor unit is required."
  ],
  "gotchas": [
   "The RS-485 ACK LED flashes on valid Modbus or BACnet traffic; if it stays lit without flashing, check the RS-485 wiring and the protocol / baud / parity settings."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/mitsubishi-electric/melcobems-mini-a1m-ata",
 "address_note": "address = 0-based Modbus wire (PDU) address; documented = as printed in the source.",
 "note": "Re-typed from the manufacturer's public documentation (see source) and verified against it. Registers vary by firmware and options; verify against the live device before writing."
}
