{
 "manufacturer": "Mitsubishi Electric",
 "manufacturer_slug": "mitsubishi-electric",
 "model": "MelcoBEMS MINI (A1M+) gateway for Air-To-Air split units (M, S and P series)",
 "model_slug": "melcobems-mini-a1m-plus-ata",
 "short_model": "A1M+ Air-To-Air",
 "aliases": [
  "A1M+",
  "MelcoBEMS MINI",
  "Procon A1M+",
  "MelcoBEMS MINI A1M PLUS",
  "A1M+ ATA"
 ],
 "equipment_type": "VRF / split AC gateway",
 "applies_to": "MelcoBEMS MINI (A1M+) on the CN105 connector of a Mitsubishi Electric Air-To-Air indoor unit (M series MSZ/MFZ/MLZ, S series SEZ/SLZ, P series per Appendix A), installation manual v1.0.3, firmware 4.1.1.",
 "summary": "Small Procon protocol converter that plugs into the CN105 connector of one Mitsubishi Electric split indoor unit and serves Modbus RTU (RS-485) or Modbus TCP. For air-to-air units it exposes mode, setpoint, fan, vane and on/off, room temperature and fault code, plus a BMS room-sensor offset feature and an optional deadband auto-changeover.",
 "transport": [
  "RTU",
  "TCP"
 ],
 "defaults": {
  "unit_id": null,
  "baud": null,
  "parity": null,
  "data_bits": 8,
  "stop_bits": 1,
  "tcp_port": 502
 },
 "addressing": {
  "convention": "Modicon",
  "note": "Each row prints both an 'Address' (0-based) and a 'Modicon address' (40001 = holding address 0, 30001 = input address 0, 00001 = coil 0). The 0-based address is the wire address."
 },
 "default_word_order": null,
 "firmware": "4.1.1",
 "source": {
  "title": "Procon MelcoBEMS MINI (A1M+) Installation Manual",
  "doc_number": "Manual version 1.0.3",
  "revision_date": "2025-09-18",
  "url": "https://library.mitsubishielectric.co.uk/pdf/download_full/5538",
  "pages": "pp. 16-17 (DIP switches), pp. 18-20 (deadband and setpoint offset), pp. 53-56 (Air-To-Air Modbus tables)"
 },
 "notes": [
  "This file covers only the Air-To-Air tables (section 10). The same device has separate Air-To-Water and Lossnay tables; the ATW map is a separate file in this library.",
  "Registers are 16-bit unsigned except BMS room temperature (signed) at 40016, which the manual gives as signed °C x 10 with an unsigned twin at 40017.",
  "All input registers and the coil are mirrored as read-only holding registers for BMSs that read only holding registers.",
  "Deadband heating/cooling setpoints (40019/40020) are printed in whole °C, unlike the x10 setpoint and temperature registers.",
  "With the BMS room temperature and virtual setpoint written, the gateway shifts the unit's setpoint by the difference between the BMS sensor and the unit's return-air reading.",
  "DIP switches: 1-5 slave address (all off = 1, all on = use register 40005), 6 on = 9600 no parity (off = registers 40006/40007), 7 on = Modbus RTU (off = BACnet), 8 = deadband mode. Data bits 8 and stop bits 1 are fixed.",
  "Unit ID, baud rate and parity are chosen with the unit's DIP/rotary switches; the manual does not give factory defaults for them."
 ],
 "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": "°C x 10.",
   "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": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "32768": "No error (0x8000)",
    "27033": "Bad communication with indoor unit (0x6999)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 3,
   "documented": "30004",
   "name": "Firmware version",
   "description": "",
   "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": "",
   "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": "ATA (air-to-air)",
    "1": "ATW (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": "Codes marked read-only (i-see) cannot be written.",
   "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": "°C x 10 (200 = 20 °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": 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 (SHi)"
   },
   "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": "Slave ID 1..247 (Modbus) or station 1..127 (BACnet); 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 accepts only 0, 4, 6, 8, 11.",
   "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": "76800",
    "12": "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": "Return air, °C x 10. Same as input register 0.",
   "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": "Indoor unit fault code in hex form; see indoor unit documentation.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "32768": "No error (0x8000)",
    "27033": "Bad communication with indoor unit (0x6999)"
   },
   "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": "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": "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": "ATA (air-to-air)",
    "1": "ATW (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": "°C x 10 from the BMS sensor; 0xFF9C = -10 °C .. 0x01F4 = 50 °C.",
   "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 twin, °C x 10, 0..500. Not kept over power loss.",
   "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": "°C x 10, 100..400. Non-volatile.",
   "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 °C, default 19; 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 °C, default 23; 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",
   "name": "BACnet device instance (high 16 bits)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 273,
   "documented": "40274",
   "name": "BACnet device instance (low 16 bits)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "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, pick the slave address on DIP 1-5 and DIP 6 on for 9600 / no parity, then use holding registers 0-3 and 7 for mode, setpoint, fan, vane and on/off, and poll 8-9 for room temperature and fault.",
  "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": 9,
    "why": "Fault code (0x8000 = none)"
   },
   {
    "table": "holding_register",
    "address": 13,
    "why": "Confirms an air-to-air unit was detected"
   }
  ],
  "enable": "DIP switch 7 on selects Modbus RTU on RS-485 (off = BACnet MS/TP and BACnet IP). Modbus TCP on the Ethernet port came with firmware 4.1.0; the manual says the Ethernet protocol follows the DIP switch setting and needs application mode (DIP switches not all off).",
  "watchdog": null,
  "quirks": [
   "Fault code 0x8000 (decimal register: 8000) means no fault; 0x6999 / 6999 means the gateway cannot talk to the indoor unit.",
   "Fan speed codes skip 1 and 4: 0 Auto, 2 Quiet, 3 Weak, 5 Strong, 6 Very strong.",
   "The i-see mode codes 9-11 are read-only."
  ],
  "setup": [
   "RS-485 A, B and GND must all be connected; shielded cable, daisy chain only.",
   "Factory IP 192.168.92.114, Modbus TCP port 502.",
   "Node address 1..30 on DIP 1-5 (binary); all off = 1."
  ],
  "gotchas": [
   "The gateway detects ATA vs ATW by itself; check register 13 reads 0 before trusting the ATA map."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/mitsubishi-electric/melcobems-mini-a1m-plus-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."
}
