{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Unipi Technology",
  "model": "Edge E413",
  "models": [
    "Edge E413"
  ],
  "vendor_website": "www.unipi.technology",
  "description": "Modbus TCP unit; the manual documents only the system registers (user LEDs, storage status, connection status)",
  "x_status": "official",
  "revision": 3,
  "revised": "2026-11-10",
  "source": "Edge E413 Modbus map v2.0, Unipi technology",
  "sources": [
    {
      "title": "Edge E413 Modbus map",
      "version": "2.0",
      "url": "https://kb.unipi.technology/_media/files:products:edge:unipi-edge-e413-modbus-map-v2.0.pdf",
      "note": "Holding registers and Coils sheets (Unit ID 0), Description sheet"
    }
  ],
  "notes": [
    "Registers are 0-based. Bit numbers: 0 = LSB, 15 = MSB. 32-bit values are assumed low word first (CDAB), as on the Unipi extensions; the manual does not state the word order.",
    "Registers marked Reserved in the manual are left out.",
    "Transport is not stated in the manual; Modbus TCP on port 502 is assumed.",
    "All registers in this map are on Unit ID 0; the manual lists no Unit ID 1 tables for this model."
  ],
  "protocol": "tcp",
  "unit_id": 0,
  "port": 502,
  "byte_order": "big",
  "word_order": "little",
  "address_base": 0,
  "registers": [
    {"name": "User LED 1", "group": "LEDs", "area": "holding", "address": 3998, "type": "bool", "bit": 0, "access": "W"},
    {"name": "User LED 2", "group": "LEDs", "area": "holding", "address": 3998, "type": "bool", "bit": 1, "access": "W"},
    {"name": "User LED 3", "group": "LEDs", "area": "holding", "address": 3998, "type": "bool", "bit": 2, "access": "W"},
    {"name": "Storage - erase cycles used", "group": "System", "area": "holding", "address": 4000, "type": "uint16", "unit": "%", "access": "R"},
    {"name": "Storage - good blocks", "group": "System", "area": "holding", "address": 4001, "type": "uint16", "unit": "%", "access": "R"},
    {"name": "Connection mode", "group": "Connection", "area": "holding", "address": 4200, "type": "uint16", "access": "R"},
    {"name": "Connection network type", "group": "Connection", "area": "holding", "address": 4201, "type": "uint16", "access": "R"},
    {"name": "Connection RSSI", "group": "Connection", "area": "holding", "address": 4202, "type": "uint16", "unit": "dBm", "access": "R"},
    {"name": "Connection signal quality", "group": "Connection", "area": "holding", "address": 4203, "type": "uint16", "access": "R"},
    {"name": "User LED 1 (coil)", "group": "LEDs", "area": "coil", "address": 3000, "type": "bool", "access": "W"},
    {"name": "User LED 2 (coil)", "group": "LEDs", "area": "coil", "address": 3001, "type": "bool", "access": "W"},
    {"name": "User LED 3 (coil)", "group": "LEDs", "area": "coil", "address": 3002, "type": "bool", "access": "W"}
  ]
}
