{
  "spec_version": 1,
  "slug": "schneider-conext-battery-monitor",
  "manufacturer": "Schneider Electric",
  "model": "Conext Battery Monitor (CM/RCM battery monitor for Conext XW and SW systems)",
  "category": "Battery monitor",
  "supplier_url": "https://www.se.com/us/en/download/document/Conext-Modbus-Maps-V4/",
  "default_configuration": {
    "protocol": "modbus_tcp",
    "port": 502,
    "unit_id": 1,
    "addressing": "zero_based",
    "byte_order": "BigEndian",
    "word_order": "HighFirst"
  },
  "coils": [],
  "discrete_inputs": [],
  "input_registers": [],
  "holding_registers": [
    {
      "address": 0,
      "count": 8,
      "name": "Device Name",
      "data_type": "Ascii",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 10,
      "count": 10,
      "name": "FGA Number",
      "data_type": "Ascii",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 20,
      "count": 10,
      "name": "Unique ID Number",
      "data_type": "Ascii",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 30,
      "count": 10,
      "name": "Firmware Version",
      "data_type": "Ascii",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 40,
      "count": 1,
      "name": "Modbus Address",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 41,
      "count": 1,
      "name": "Device Number",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 42,
      "count": 1,
      "name": "System Instance",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 43,
      "count": 10,
      "name": "Hardware Serial Number",
      "data_type": "Ascii",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 64,
      "count": 1,
      "name": "Device State",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "See section 2"
    },
    {
      "address": 65,
      "count": 1,
      "name": "Device Present",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "0=Inactive (all data invalid) 1=Active (data valid)"
    },
    {
      "address": 66,
      "count": 2,
      "name": "Configuration Errors",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 68,
      "count": 2,
      "name": "DC Source ID",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "See section 8"
    },
    {
      "address": 70,
      "count": 2,
      "name": "Battery Voltage",
      "data_type": "UInt32",
      "units": "V",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 72,
      "count": 2,
      "name": "Battery Current",
      "data_type": "Int32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 74,
      "count": 2,
      "name": "Battery Temperature",
      "data_type": "UInt32",
      "units": "°C",
      "scale_factor": 0.01,
      "offset": -273,
      "access": "R"
    },
    {
      "address": 76,
      "count": 2,
      "name": "Battery State of Charge",
      "data_type": "UInt32",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 78,
      "count": 2,
      "name": "Battery State of Health",
      "data_type": "UInt32",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 80,
      "count": 2,
      "name": "Battery Percent Over Charge",
      "data_type": "UInt32",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 82,
      "count": 2,
      "name": "Battery Midpoint 1 Voltage",
      "data_type": "UInt32",
      "units": "V",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 84,
      "count": 2,
      "name": "Battery Midpoint 2 Voltage",
      "data_type": "UInt32",
      "units": "V",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 86,
      "count": 2,
      "name": "Battery Midpoint 3 Voltage",
      "data_type": "UInt32",
      "units": "V",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 88,
      "count": 2,
      "name": "Battery Capacity Remaining",
      "data_type": "UInt32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 90,
      "count": 2,
      "name": "Battery Capacity Removed",
      "data_type": "UInt32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 92,
      "count": 2,
      "name": "Battery BTS Present",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "See section 4"
    },
    {
      "address": 94,
      "count": 2,
      "name": "Battery Time To Full",
      "data_type": "UInt32",
      "units": "Min",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 96,
      "count": 2,
      "name": "Battery Time To Discharge",
      "data_type": "UInt32",
      "units": "Min",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 98,
      "count": 2,
      "name": "Battery Hours In Float",
      "data_type": "UInt32",
      "units": "Hr",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 100,
      "count": 2,
      "name": "Battery Last Equalize",
      "data_type": "UInt32",
      "units": "Days",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 102,
      "count": 1,
      "name": "Battery Average Discharge",
      "data_type": "Int16",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 103,
      "count": 1,
      "name": "Battery Average Discharge Percent",
      "data_type": "Int16",
      "units": "%",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 104,
      "count": 1,
      "name": "Battery Deepest Discharge",
      "data_type": "Int16",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 105,
      "count": 1,
      "name": "Battery Deepest Discharge Percent",
      "data_type": "Int16",
      "units": "%",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 106,
      "count": 2,
      "name": "Battery Capacity Removed",
      "data_type": "UInt32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 108,
      "count": 2,
      "name": "Battery Capacity Returned",
      "data_type": "UInt32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 110,
      "count": 1,
      "name": "Battery Number of Charge Cycles",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 111,
      "count": 1,
      "name": "Battery Number of Synchronizations",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 112,
      "count": 1,
      "name": "Battery Number of Discharges",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 118,
      "count": 1,
      "name": "Nominal Temperature",
      "data_type": "UInt16",
      "units": "°C",
      "scale_factor": 0.01,
      "offset": -273,
      "access": "RW"
    },
    {
      "address": 119,
      "count": 1,
      "name": "Temperature unit",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=Imperial 1=Metric"
    },
    {
      "address": 120,
      "count": 1,
      "name": "Temperature Coefficient",
      "data_type": "UInt16",
      "units": "Ah/°C",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 121,
      "count": 1,
      "name": "Nominal Discharge Rate",
      "data_type": "UInt16",
      "units": "Hr",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 122,
      "count": 1,
      "name": "Self Discharge Rate",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 123,
      "count": 1,
      "name": "Shunt Amp Rating",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "See section 5"
    },
    {
      "address": 124,
      "count": 1,
      "name": "Shunt Voltage Rating",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=50 1=60"
    },
    {
      "address": 125,
      "count": 1,
      "name": "Charge Efficiency Factor Mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=Manual 1=Automatic"
    },
    {
      "address": 126,
      "count": 1,
      "name": "Backlight mode",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "The map prints this row's unit as s. See section 6 for the backlight modes."
    },
    {
      "address": 127,
      "count": 1,
      "name": "Nominal Voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=12 1=24 2=48"
    },
    {
      "address": 128,
      "count": 1,
      "name": "Setup lock",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=Disable 1=Enable"
    },
    {
      "address": 129,
      "count": 1,
      "name": "Time Remaining Averaging Filter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=Fastest 1=Faster 2=Fast"
    },
    {
      "address": 130,
      "count": 1,
      "name": "Default Temperature",
      "data_type": "UInt16",
      "units": "°C",
      "scale_factor": 0.01,
      "offset": -273,
      "access": "RW"
    },
    {
      "address": 138,
      "count": 1,
      "name": "Charger Float Voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 139,
      "count": 1,
      "name": "Charger Float Current",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 140,
      "count": 1,
      "name": "Discharge Floor",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 141,
      "count": 1,
      "name": "Auto Sync Time",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "See section 7"
    },
    {
      "address": 142,
      "count": 1,
      "name": "Auto Sync Sensitivity",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 144,
      "count": 2,
      "name": "Nominal Voltage Deprecated",
      "data_type": "UInt32",
      "units": "V",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 146,
      "count": 1,
      "name": "Battery Capacity",
      "data_type": "UInt16",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 147,
      "count": 1,
      "name": "Peukert Exponent",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 0.002,
      "offset": 1,
      "access": "RW"
    },
    {
      "address": 148,
      "count": 1,
      "name": "Charge Efficiency Factor",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW"
    },
    {
      "address": 160,
      "count": 1,
      "name": "RS485 Address",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 161,
      "count": 1,
      "name": "RS485 Baud Rate",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "0=9600 1=19200 2=38400 3=57600 4=115200"
    },
    {
      "address": 162,
      "count": 1,
      "name": "RS485 Parity",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "0=None 1=Odd 2=Even"
    },
    {
      "address": 163,
      "count": 1,
      "name": "RS485 Stop Bits",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "1=1 2=2"
    },
    {
      "address": 164,
      "count": 1,
      "name": "Modbus Byte Order",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "0=LSB 1=MSB"
    },
    {
      "address": 172,
      "count": 1,
      "name": "Refresh Configuration Data",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "1=Refresh"
    },
    {
      "address": 173,
      "count": 1,
      "name": "Synchronize Enable/Disable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=Disable 1=Enable"
    },
    {
      "address": 174,
      "count": 1,
      "name": "DC Association (Battery)",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "See section 8"
    },
    {
      "address": 175,
      "count": 1,
      "name": "Identify Enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "0=Disable 1=Enable"
    }
  ],
  "combined_registers": [],
  "notes": "The unit ID is a declared placeholder: the map prints the device's own 'Modbus Address' register but no factory value, and the Conext ComBox / Conext Gateway assigns the Modbus addresses itself (the ComBox Owner's Guide says it assigns them per device type at installation, valid 1-247, and lets you change or reset them), so read the address from the ComBox's Settings > Modbus Address List and use that. Port 502 is the ComBox's default Modbus TCP port as printed in its Owner's Guide. The map prints no function code; the ComBox writes its string registers with function code 0x10 (write multiple registers), so these rows are holding registers. Addresses are the map's own hexadecimal 'Modbus Address' column, stored as zero-based wire addresses. Rows whose type the map gives as str<nn> are seeded as Ascii rows of nn/2 registers. The Conext Battery Monitor speaks Xanbus; these registers are the device map that the Conext ComBox or Conext Gateway presents over Modbus, and every register the map prints is in this file. The map's own RS-485 rows (0x00A0-0x00A4: address, baud rate, parity, stop bits, byte order) are read-only status rows that report the monitor's serial settings; the device is reached here through the ComBox or Gateway, which is why the seed is a TCP device. The printed hexadecimal numbers are the wire addresses (zero_based): in each of these maps the identity block is Device Name (str16) at 0x0000, FGA Number (str20) at 0x000A and Unique ID Number (str20) at 0x0014, so the ten registers of FGA Number run 0x000A-0x0013 into Unique ID Number at 0x0014, which only works if 0x0000 is register 0. The maps print no byte or word order for their uint32/sint32 rows, so HighFirst is the Modbus convention; if a two-register reading looks word-swapped, switch the device to LowFirst. Map: 'Modbus Map: Conext Battery Monitor Device', 503-0261-01-01 Revision A.4, in Schneider's 'Conext Modbus Maps V4' pack."
}
