{
 "manufacturer": "Lovato Electric",
 "manufacturer_slug": "lovato-electric",
 "model": "ATL610 automatic transfer switch controller",
 "model_slug": "atl610",
 "short_model": "ATL610",
 "aliases": [
  "ATL610",
  "ATL 610",
  "EXP1012",
  "EXP1013"
 ],
 "equipment_type": "Transfer switch",
 "applies_to": "ATL610 ATS controller via the optical port or an EXP1010/1011/1012/1013 communication module, per protocol document I428 GB I 09 22.",
 "summary": "The ATL610 is Lovato's two-line automatic transfer switch controller for mains/mains or mains/generator changeover. It speaks Modbus RTU, ASCII or TCP through its optical port or plug-in USB, RS-232, RS-485 and Ethernet modules. This map covers both lines' voltages and frequencies, battery voltage, run-time and operation counters, the 32-bit alarm word, line and breaker status words, controller status, and the mode, breaker, generator and reset commands.",
 "transport": [
  "RTU",
  "ASCII",
  "TCP"
 ],
 "defaults": {
  "unit_id": 1,
  "baud": 9600,
  "parity": "None",
  "data_bits": 8,
  "stop_bits": 1,
  "tcp_port": 1001
 },
 "addressing": {
  "convention": "1-based",
  "note": "The tables print hex addresses one higher than the address in the request; the document says the query address must be decreased by one, its RTU example reads breaker 1 switching alarms (table 3Ah) by sending 00 39, and the event-log examples show 5030h - 1 = 502Fh. Addresses here are already reduced by one."
 },
 "default_word_order": "ABCD",
 "firmware": null,
 "source": {
  "title": "ATL610 Automatic transfer switch controller - Communication protocol Modbus",
  "doc_number": "I428 GB I 09 22",
  "revision_date": "2022-09",
  "url": "https://datasheet.lovatoelectric.com/DOWNLOAD/Technical/TechInstructions/31.%20COMMUTATORI%20DI%20RETE%20AUTOMATICI/I428IGB09_22.pdf",
  "pages": "pp. 1-3 (settings, functions, examples), pp. 7-10 (Tables 2-4)"
 },
 "notes": [
  "Measures and status words are read with function 03 or 04 (same data) and are listed as input registers. Commands are written with function 06; function 06 only works on addresses above 1000h.",
  "Word order: the RTU example returns 00 00 00 07 for 7 switching alarms, so the high word comes first (ABCD).",
  "Units as printed: voltages in whole volts, frequency Hz/10, battery VDC/10, times in seconds.",
  "The ASCII example in the document calls the register at 0Ch an 'L3 current', which does not match the ATL610 table (0Ch is LINE 1 L3-L1 voltage); the label looks copied from another product. Its frame (00 0B for 0Ch) still follows the minus-one rule.",
  "Left out: minimum/maximum battery voltage (printed in V while the live value is VDC/10), maintenance hours and operations-to-maintenance (unit 'nr' with no clear meaning), generic counters CNT1-4 and LIM bits (user-defined), the 2-word device global status at 2210h ('Unsigned integer' over 2 words), and the real-time clock registers.",
  "Left out because the document contradicts itself: digital outputs status (table says 2140h, bit legend says 2072h) and input functions status (table says 2078h with 2 words, legend says 2178h). The two 'Frontal LED status' words 207Eh/207Fh have no bit legend.",
  "Remote variables REM1-REM8 are at 4F00h-4F07h (only REM1 and REM2 listed): write AAh to set, BBh to clear."
 ],
 "registers": [
  {
   "table": "input_register",
   "address": 1,
   "documented": "02h",
   "name": "LINE 1 voltage L1-N",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 3,
   "documented": "04h",
   "name": "LINE 1 voltage L2-N",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 5,
   "documented": "06h",
   "name": "LINE 1 voltage L3-N",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 7,
   "documented": "08h",
   "name": "LINE 1 voltage L1-L2",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 9,
   "documented": "0Ah",
   "name": "LINE 1 voltage L2-L3",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 11,
   "documented": "0Ch",
   "name": "LINE 1 voltage L3-L1",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 13,
   "documented": "0Eh",
   "name": "LINE 2 voltage L1-N",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 15,
   "documented": "10h",
   "name": "LINE 2 voltage L2-N",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 17,
   "documented": "12h",
   "name": "LINE 2 voltage L3-N",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 19,
   "documented": "14h",
   "name": "LINE 2 voltage L1-L2",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 21,
   "documented": "16h",
   "name": "LINE 2 voltage L2-L3",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 23,
   "documented": "18h",
   "name": "LINE 2 voltage L3-L1",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 25,
   "documented": "1Ah",
   "name": "LINE 1 frequency",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 0.1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 27,
   "documented": "1Ch",
   "name": "LINE 2 frequency",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 0.1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 29,
   "documented": "1Eh",
   "name": "Battery voltage (DC supply)",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 0.1,
   "units": "V",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 31,
   "documented": "20h",
   "name": "Total operation time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 33,
   "documented": "22h",
   "name": "LINE 1 OK total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 35,
   "documented": "24h",
   "name": "LINE 2 OK total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 37,
   "documented": "26h",
   "name": "LINE 1 not OK total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 39,
   "documented": "28h",
   "name": "LINE 2 not OK total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 41,
   "documented": "2Ah",
   "name": "LINE 1 breaker closed total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 43,
   "documented": "2Ch",
   "name": "LINE 2 breaker closed total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 45,
   "documented": "2Eh",
   "name": "Breakers open total time",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 49,
   "documented": "32h",
   "name": "LINE 1 breaker operations in AUT",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 51,
   "documented": "34h",
   "name": "LINE 2 breaker operations in AUT",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 53,
   "documented": "36h",
   "name": "LINE 1 breaker operations in MAN",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 55,
   "documented": "38h",
   "name": "LINE 2 breaker operations in MAN",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 57,
   "documented": "3Ah",
   "name": "Breaker 1 switching alarms",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 59,
   "documented": "3Ch",
   "name": "Breaker 2 switching alarms",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 63,
   "documented": "40h",
   "name": "Alarms",
   "description": "",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "A01 Battery voltage too low",
    "1": "A02 Battery voltage too high",
    "2": "A03 LINE 1 breaker timeout",
    "3": "A04 LINE 2 breaker timeout",
    "4": "A05 LINE 1 wrong phase sequence",
    "5": "A06 LINE 2 wrong phase sequence",
    "6": "A07 Load not powered timeout",
    "7": "A08 External battery charger failure",
    "8": "A09 Emergency",
    "9": "A10 LINE 1 breaker protection trip",
    "10": "A11 LINE 2 breaker protection trip",
    "11": "A12 LINE 1 generator not available",
    "12": "A13 LINE 2 generator not available",
    "13": "A14 LINE 1 maintenance hours elapsed",
    "14": "A15 LINE 2 maintenance hours elapsed",
    "15": "A16 LINE 1 maintenance operations",
    "16": "A17 LINE 2 maintenance operations",
    "17": "A18 Auxiliary voltage failure",
    "18": "UA1 User alarm",
    "19": "UA2 User alarm",
    "20": "UA3 User alarm",
    "21": "UA4 User alarm"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8303,
   "documented": "2070h",
   "name": "Front panel keyboard status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "UP",
    "1": "OFF/RESET",
    "2": "MAN",
    "3": "DOWN",
    "4": "AUT/ENTER"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8307,
   "documented": "2074h",
   "name": "LINE 1 voltage status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Line values within limits",
    "1": "Line within limits (delayed)",
    "2": "Voltage within limits",
    "3": "Voltage OK",
    "4": "Frequency within limits",
    "5": "Frequency OK",
    "6": "Voltage below min",
    "7": "Voltage above max",
    "8": "Voltage asymmetry",
    "9": "Voltage phase loss",
    "10": "Frequency below min",
    "11": "Frequency above max",
    "12": "Wrong phase sequence",
    "13": "All line parameters OK"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8308,
   "documented": "2075h",
   "name": "LINE 1 breaker status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Breaker closed",
    "1": "Trip alarm",
    "3": "Commanded closed",
    "4": "Close command output",
    "5": "Open command output"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8313,
   "documented": "207Ah",
   "name": "Output functions status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "LINE 1 breaker open",
    "1": "LINE 2 breaker open",
    "2": "LINE 1 breaker close",
    "3": "LINE 2 breaker close",
    "4": "Global alarm",
    "5": "Generator 1 start",
    "6": "Generator 2 start",
    "7": "ATS ready",
    "8": "Load shed",
    "11": "Open all",
    "12": "Undervoltage coil 1",
    "13": "Undervoltage coil 2",
    "14": "LINE 1 OK",
    "15": "LINE 2 OK"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8314,
   "documented": "207Bh",
   "name": "Display message status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Generator 1 start",
    "1": "Generator 2 start",
    "2": "Generator 1 cooling",
    "3": "Generator 2 cooling",
    "4": "Load transfer 2 to 1",
    "5": "Load transfer 1 to 2"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8315,
   "documented": "207Ch",
   "name": "Controller general status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Mode OFF / reset",
    "1": "Mode MAN",
    "2": "Mode AUT",
    "3": "Mode TEST",
    "4": "Error on",
    "5": "AC supply present",
    "6": "DC supply present",
    "7": "Global alarm on"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8447,
   "documented": "2100h",
   "name": "Digital inputs status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Input 1",
    "1": "Input 2",
    "2": "Input 3",
    "3": "Input 4",
    "4": "Input 5",
    "5": "Input 6",
    "6": "Input 7",
    "7": "Input 8",
    "8": "Input 9",
    "9": "Input 10",
    "10": "Input 11",
    "11": "Input 12",
    "12": "Input 13",
    "13": "Input 14"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8565,
   "documented": "2176h",
   "name": "LINE 2 voltage status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Line values within limits",
    "1": "Line within limits (delayed)",
    "2": "Voltage within limits",
    "3": "Voltage OK",
    "4": "Frequency within limits",
    "5": "Frequency OK",
    "6": "Voltage below min",
    "7": "Voltage above max",
    "8": "Voltage asymmetry",
    "9": "Voltage phase loss",
    "10": "Frequency below min",
    "11": "Frequency above max",
    "12": "Wrong phase sequence",
    "13": "All line parameters OK"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8566,
   "documented": "2177h",
   "name": "LINE 2 breaker status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Breaker closed",
    "1": "Trip alarm",
    "3": "Commanded closed",
    "4": "Close command output",
    "5": "Open command output"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 7167,
   "documented": "1C00h",
   "name": "Breaker open/close",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "256": "Close breaker 1 (0x100)",
    "1": "Open breaker 1",
    "512": "Close breaker 2 (0x200)",
    "2": "Open breaker 2"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 7169,
   "documented": "1C02h",
   "name": "Generator start/stop",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "256": "Start generator 1 (0x100)",
    "1": "Stop generator 1",
    "512": "Start generator 2 (0x200)",
    "2": "Stop generator 2"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 12031,
   "documented": "2F00h",
   "name": "Operating mode change",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "0": "OFF mode",
    "1": "MAN mode",
    "2": "AUT mode"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 12034,
   "documented": "2F03h",
   "name": "Save / reboot",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "1": "Save to E2PROM",
    "4": "Reboot",
    "5": "Save and reboot"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 12038,
   "documented": "2F07h",
   "name": "Device reset",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "0": "Reset device",
    "1": "Reset device and save FRAM"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 12041,
   "documented": "2F0Ah",
   "name": "Front panel key simulation",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "32769": "Key UP (0x8001)",
    "32772": "Key RIGHT (0x8004)",
    "33280": "Key DOWN (0x8200)",
    "33792": "Key ENTER (0x8400)",
    "34816": "Key LEFT (0x8800)",
    "2": "MAN mode (0x0002)",
    "32": "OFF mode (0x0020)",
    "64": "AUT mode (0x0040)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 12271,
   "documented": "2FF0h",
   "name": "Command menu execution",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "0": "Reset maintenance 1",
    "1": "Reset maintenance 2",
    "2": "Reset maintenance operations 1",
    "3": "Reset maintenance operations 2",
    "4": "Reset generic counters CNTx",
    "5": "Reset LIMx limits",
    "6": "Reset hour counters LINE 1/LINE 2",
    "7": "Reset hour counters BREAKER 1/BREAKER 2",
    "8": "Reset breaker operations",
    "9": "Reset event list",
    "10": "Restore default parameters",
    "11": "Save parameters to backup",
    "12": "Reload parameters from backup",
    "14": "Reset A03-A04 alarms",
    "15": "Simulate line failure"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 20223,
   "documented": "4F00h",
   "name": "Remote variable REM1",
   "description": "REM2-REM8 follow at 4F01h-4F07h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "170": "Set to 1 (AAh)",
    "187": "Set to 0 (BBh)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 20224,
   "documented": "4F01h",
   "name": "Remote variable REM2",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "170": "Set to 1 (AAh)",
    "187": "Set to 0 (BBh)"
   },
   "bits": null,
   "offset": 0
  }
 ],
 "integration": {
  "summary": "Read LINE 1/LINE 2 voltages (02h-18h), frequencies (1Ah/1Ch), the alarm word (40h) and the line, breaker and controller status words (2074h-207Ch) with function 04, subtracting one from each table address. Change mode by writing 0/1/2 to 2F00h.",
  "minimum_registers": [
   {
    "table": "input_register",
    "address": 7,
    "why": "LINE 1 L1-L2 voltage"
   },
   {
    "table": "input_register",
    "address": 19,
    "why": "LINE 2 L1-L2 voltage"
   },
   {
    "table": "input_register",
    "address": 63,
    "why": "Alarm bits"
   },
   {
    "table": "input_register",
    "address": 8307,
    "why": "LINE 1 voltage status"
   },
   {
    "table": "input_register",
    "address": 8308,
    "why": "LINE 1 breaker status"
   },
   {
    "table": "input_register",
    "address": 8315,
    "why": "Controller mode and global alarm"
   },
   {
    "table": "holding_register",
    "address": 12031,
    "why": "Mode change OFF/MAN/AUT"
   }
  ],
  "enable": "Fit an EXP1012 (RS-485) or EXP1013 (Ethernet) module, or use the optical port, then set menu M08 for that port: node address P08.n.01, speed .02, data format .03, stop bits .04, protocol .05 and, for Ethernet, IP address/mask/port .06-.08.",
  "watchdog": null,
  "quirks": [
   "Table addresses are one above the wire address.",
   "32-bit values are high word first.",
   "Function 06 writes only to addresses above 1000h."
  ],
  "setup": [
   "Defaults: node 01, 9600 baud, 8 data bits, no parity, 1 stop bit, Modbus RTU.",
   "Ethernet module defaults: IP 192.168.1.1, IP port 1001 (not 502), server mode.",
   "Two communication ports can be configured (n = 1 or 2).",
   "Maximum data field is 80 registers."
  ],
  "gotchas": [
   "The Modbus TCP port defaults to 1001, so set the master accordingly or change P08.n.08."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/lovato-electric/atl610",
 "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."
}
