{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Socomec",
  "model": "Diris A20 Modbus",
  "models": ["Diris A20 Modbus"],
  "vendor_website": "socomec.com",
  "revision": 2,
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table socomec/diris-a20-modbus; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/socomec-diris-a20-modbus.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Socomec Diris A20 Modbus.",
    "Converted automatically from the Modbus Database (MIT licence, Jibril Sharafi).",
    "Not verified against the manufacturer's documentation. The byte order is a guess: the source does not give one.",
    "Corrections are welcome (CONTRIBUTING.md). Change x_status once this table has been checked against the manual."
  ],
  "byte_order": "big",
  "word_order": "big",
  "address_base": 0,
  "x_status": "unofficial",
  "x_origin": "modbus-database",
  "registers": [
    {"name": "Phase 1 current (768)", "area": "holding", "address": 768, "type": "uint32", "access": "R"},
    {"name": "Phase 2 current (770)", "area": "holding", "address": 770, "type": "uint32", "access": "R"},
    {"name": "Phase 3 current (772)", "area": "holding", "address": 772, "type": "uint32", "access": "R"},
    {"name": "Neutral current (774)", "area": "holding", "address": 774, "type": "uint32", "access": "R"},
    {"name": "Phase to phase voltage U12 (776)", "area": "holding", "address": 776, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase to phase voltage U23 (778)", "area": "holding", "address": 778, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase to phase voltage U31 (780)", "area": "holding", "address": 780, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase to neutral voltage phase 1 (782)", "area": "holding", "address": 782, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase to neutral voltage phase 2 (784)", "area": "holding", "address": 784, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase to neutral voltage phase 3 (786)", "area": "holding", "address": 786, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Frequency (788)", "area": "holding", "address": 788, "type": "uint32", "unit": "Hz", "access": "R"},
    {"name": "E active power (790)", "area": "holding", "address": 790, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "E reactive power (792)", "area": "holding", "address": 792, "type": "uint32", "unit": "kvar", "access": "R"},
    {"name": "E apparent power (794)", "area": "holding", "address": 794, "type": "uint32", "unit": "kVA", "access": "R"},
    {"name": "E power factor (796)", "area": "holding", "address": 796, "type": "uint32", "access": "R"},
    {"name": "Average value I1 max (838)", "area": "holding", "address": 838, "type": "uint32", "access": "R"},
    {"name": "Average value I2 max (840)", "area": "holding", "address": 840, "type": "uint32", "access": "R"},
    {"name": "Average value I3 max (842)", "area": "holding", "address": 842, "type": "uint32", "access": "R"},
    {"name": "E active power + max", "area": "holding", "address": 844, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "Active energy +", "area": "holding", "address": 856, "type": "uint32", "access": "R"},
    {"name": "Reactive energy +", "area": "holding", "address": 858, "type": "uint32", "access": "R"},
    {"name": "Average value in max (916)", "area": "holding", "address": 916, "type": "uint32", "access": "R"},
    {"name": "Phase 1 current (1792)", "area": "holding", "address": 1792, "type": "uint16", "access": "R"},
    {"name": "Phase 2 current (1793)", "area": "holding", "address": 1793, "type": "uint16", "access": "R"},
    {"name": "Phase 3 current (1794)", "area": "holding", "address": 1794, "type": "uint16", "access": "R"},
    {"name": "Neutral current (1795)", "area": "holding", "address": 1795, "type": "uint16", "access": "R"},
    {"name": "Phase to phase voltage U12 (1796)", "area": "holding", "address": 1796, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Phase to phase voltage U23 (1797)", "area": "holding", "address": 1797, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Phase to phase voltage U31 (1798)", "area": "holding", "address": 1798, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Phase to neutral voltage phase 1 (1799)", "area": "holding", "address": 1799, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Phase to neutral voltage phase 2 (1800)", "area": "holding", "address": 1800, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Phase to neutral voltage phase 3 (1801)", "area": "holding", "address": 1801, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Frequency (1802)", "area": "holding", "address": 1802, "type": "uint16", "unit": "Hz", "access": "R"},
    {"name": "E active power (1803)", "area": "holding", "address": 1803, "type": "uint16", "unit": "kW", "access": "R"},
    {"name": "E reactive power (1804)", "area": "holding", "address": 1804, "type": "uint16", "unit": "kvar", "access": "R"},
    {"name": "E apparent power (1805)", "area": "holding", "address": 1805, "type": "uint16", "unit": "kVA", "access": "R"},
    {"name": "E power factor (1806)", "area": "holding", "address": 1806, "type": "uint16", "access": "R"},
    {"name": "Average value I1 max (1827)", "area": "holding", "address": 1827, "type": "uint16", "access": "R"},
    {"name": "Average value I2 max (1828)", "area": "holding", "address": 1828, "type": "uint16", "access": "R"},
    {"name": "Average value I3 max (1829)", "area": "holding", "address": 1829, "type": "uint16", "access": "R"},
    {"name": "E active power + average value max", "area": "holding", "address": 1830, "type": "uint16", "unit": "kW", "access": "R"},
    {"name": "Active power + &lt; 10 000", "area": "holding", "address": 1835, "type": "uint16", "access": "R"},
    {"name": "Active power +", "area": "holding", "address": 1836, "type": "int16", "access": "R"},
    {"name": "Reactive power + &lt; 10 000", "area": "holding", "address": 1837, "type": "uint16", "access": "R"},
    {"name": "Reactive power +", "area": "holding", "address": 1838, "type": "int16", "access": "R"},
    {"name": "Average value in max (1891)", "area": "holding", "address": 1891, "type": "uint16", "access": "R"},
    {"name": "Phase 1 current (2816)", "area": "holding", "address": 2816, "type": "uint16", "access": "R"},
    {"name": "Phase 2 current (2817)", "area": "holding", "address": 2817, "type": "uint16", "access": "R"},
    {"name": "Phase 2 current (2818)", "area": "holding", "address": 2818, "type": "uint16", "access": "R"},
    {"name": "Neutral current (2819)", "area": "holding", "address": 2819, "type": "uint16", "access": "R"}
  ]
}
