{
 "manufacturer": "Seneca",
 "manufacturer_slug": "seneca",
 "model": "R-4AO-8DIDO Ethernet I/O (4 analog outputs, 8 digital I/O)",
 "model_slug": "r-4ao-8dido",
 "short_model": "R-4AO-8DIDO",
 "aliases": [
  "R4AO8DIDO",
  "R-4AO-8DIDO",
  "Seneca R series 4AO"
 ],
 "equipment_type": "Sensor (remote I/O module, analog outputs)",
 "applies_to": "R-4AO-8DIDO in the Series R I/O manual MI-00604-29-EN.",
 "summary": "The R-4AO-8DIDO is a Seneca R-series remote I/O with four voltage/current analog outputs and eight digital channels that can each be an input or an output, plus eight 32-bit counters. It serves Modbus TCP on a two-port Ethernet switch and Modbus RTU on RS-485. This map covers integer output setpoints, status, digital I/O, counters, period/frequency and the command register.",
 "transport": [
  "TCP",
  "RTU"
 ],
 "defaults": {
  "unit_id": 1,
  "baud": 38400,
  "parity": "None",
  "data_bits": 8,
  "stop_bits": 1,
  "tcp_port": 502
 },
 "addressing": {
  "convention": "Modicon",
  "note": "Holding-register tables print the 4x number (40001) and the 0-based offset (0); coils print 1 / offset 0 and discrete inputs 10001 / offset 0. The offset is the wire address."
 },
 "default_word_order": "ABCD",
 "firmware": null,
 "source": {
  "title": "Series R I/O with protocol - User Manual",
  "doc_number": "MI-00604-29-EN",
  "revision_date": "2026-09-03",
  "url": "https://www.seneca.it/media/6848135/mi00604-29-en.pdf",
  "pages": "Modbus conventions pp. 95-100; R-4AO-8DIDO tables pp. 198-202; defaults in the web-server chapter pp. 64-72"
 },
 "notes": [
  "The protocol page lists function codes 01, 03, 05, 06, 15 and 16; the tables also give the digital inputs as 1x input status read with function 02. Modbus RTU runs on RS-485 and Modbus TCP serves up to 8 clients.",
  "Counters, period and frequency rows are printed MSW at the lower address (ABCD). The float analog output setpoints (40072-40079) carry no MSW/LSW marks and the manual has no general word-order rule (a sibling model in the same manual is LSW first), so they are left out; use the signed 16-bit setpoints at 40080-40083 instead.",
  "Factory settings from the manual: static IP 192.168.90.101/24, gateway 192.168.90.1, Modbus TCP port 502, station address 1; RS-485 38400 baud, 8 data bits, no parity, 1 stop bit, address 1.",
  "RW* registers are stored in flash and survive about 10,000 writes.",
  "Analog output values are in engineering units set by the configured scale (default mV or uA); the manual does not give a fixed scale.",
  "Left out: the auxiliary command registers 40013-40016, whose codes are not described, and reserved registers."
 ],
 "registers": [
  {
   "table": "coil",
   "address": 0,
   "documented": "1",
   "name": "Digital I/O 1",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 1,
   "documented": "2",
   "name": "Digital I/O 2",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 2,
   "documented": "3",
   "name": "Digital I/O 3",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 3,
   "documented": "4",
   "name": "Digital I/O 4",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 4,
   "documented": "5",
   "name": "Digital I/O 5",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 5,
   "documented": "6",
   "name": "Digital I/O 6",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 6,
   "documented": "7",
   "name": "Digital I/O 7",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "coil",
   "address": 7,
   "documented": "8",
   "name": "Digital I/O 8",
   "description": "Same channel as the digital I/O word.",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 0,
   "documented": "10001",
   "name": "Digital input 1",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 1,
   "documented": "10002",
   "name": "Digital input 2",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 2,
   "documented": "10003",
   "name": "Digital input 3",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 3,
   "documented": "10004",
   "name": "Digital input 4",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 4,
   "documented": "10005",
   "name": "Digital input 5",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 5,
   "documented": "10006",
   "name": "Digital input 6",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 6,
   "documented": "10007",
   "name": "Digital input 7",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "discrete_input",
   "address": 7,
   "documented": "10008",
   "name": "Digital input 8",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 0,
   "documented": "40001",
   "name": "Machine ID",
   "description": "Device identification code.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1,
   "documented": "40002",
   "name": "Firmware revision (major/minor)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 2,
   "documented": "40003",
   "name": "Firmware revision (fix/build)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 3,
   "documented": "40004",
   "name": "Firmware code",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 4,
   "documented": "40005",
   "name": "Board ID",
   "description": "Hardware revision.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 5,
   "documented": "40006",
   "name": "Modbus ID",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 16,
   "documented": "40017",
   "name": "Command register",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "49568": "Reset device (0xC1A0)",
    "256": "Set factory default (0x0100)",
    "257": "Clear all counters (0x0101)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 17,
   "documented": "40018",
   "name": "Device status",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 20,
   "documented": "40021",
   "name": "Analog output status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "AO1 under-scale",
    "1": "AO2 under-scale",
    "2": "AO3 under-scale",
    "3": "AO4 under-scale",
    "4": "AO1 over-scale",
    "5": "AO2 over-scale",
    "6": "AO3 over-scale",
    "7": "AO4 over-scale",
    "8": "AO1 watchdog fail",
    "9": "AO2 watchdog fail",
    "10": "AO3 watchdog fail",
    "11": "AO4 watchdog fail"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 21,
   "documented": "40022",
   "name": "Digital I/O value",
   "description": "Bit 0 = channel 1 ... bit 7 = channel 8.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": {
    "0": "Channel 1",
    "1": "Channel 2",
    "2": "Channel 3",
    "3": "Channel 4",
    "4": "Channel 5",
    "5": "Channel 6",
    "6": "Channel 7",
    "7": "Channel 8"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 23,
   "documented": "40024",
   "name": "Counter 1",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 25,
   "documented": "40026",
   "name": "Counter 2",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 27,
   "documented": "40028",
   "name": "Counter 3",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 29,
   "documented": "40030",
   "name": "Counter 4",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 31,
   "documented": "40032",
   "name": "Counter 5",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 33,
   "documented": "40034",
   "name": "Counter 6",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 35,
   "documented": "40036",
   "name": "Counter 7",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 37,
   "documented": "40038",
   "name": "Counter 8",
   "description": "Digital input counter.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 39,
   "documented": "40040",
   "name": "Period channel 1",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 41,
   "documented": "40042",
   "name": "Period channel 2",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 43,
   "documented": "40044",
   "name": "Period channel 3",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 45,
   "documented": "40046",
   "name": "Period channel 4",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 47,
   "documented": "40048",
   "name": "Period channel 5",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 49,
   "documented": "40050",
   "name": "Period channel 6",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 51,
   "documented": "40052",
   "name": "Period channel 7",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 53,
   "documented": "40054",
   "name": "Period channel 8",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "s",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 55,
   "documented": "40056",
   "name": "Frequency channel 1",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 57,
   "documented": "40058",
   "name": "Frequency channel 2",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 59,
   "documented": "40060",
   "name": "Frequency channel 3",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 61,
   "documented": "40062",
   "name": "Frequency channel 4",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 63,
   "documented": "40064",
   "name": "Frequency channel 5",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 65,
   "documented": "40066",
   "name": "Frequency channel 6",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 67,
   "documented": "40068",
   "name": "Frequency channel 7",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 69,
   "documented": "40070",
   "name": "Frequency channel 8",
   "description": "",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "Hz",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 79,
   "documented": "40080",
   "name": "AO1 engineering value (integer)",
   "description": "Scaled output setpoint; default units mV or uA.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 80,
   "documented": "40081",
   "name": "AO2 engineering value (integer)",
   "description": "Scaled output setpoint; default units mV or uA.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 81,
   "documented": "40082",
   "name": "AO3 engineering value (integer)",
   "description": "Scaled output setpoint; default units mV or uA.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 82,
   "documented": "40083",
   "name": "AO4 engineering value (integer)",
   "description": "Scaled output setpoint; default units mV or uA.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  }
 ],
 "integration": {
  "summary": "Write the signed 16-bit engineering setpoint for each output to 79-82 (scaled by the output's engineering start/stop settings). Read 20 for under/over-scale and watchdog flags and 21 for the digital channels.",
  "minimum_registers": [
   {
    "table": "holding_register",
    "address": 79,
    "why": "AO1 setpoint (integer)"
   },
   {
    "table": "holding_register",
    "address": 80,
    "why": "AO2 setpoint (integer)"
   },
   {
    "table": "holding_register",
    "address": 81,
    "why": "AO3 setpoint (integer)"
   },
   {
    "table": "holding_register",
    "address": 82,
    "why": "AO4 setpoint (integer)"
   },
   {
    "table": "holding_register",
    "address": 20,
    "why": "Output status flags"
   },
   {
    "table": "holding_register",
    "address": 21,
    "why": "Digital I/O word"
   },
   {
    "table": "holding_register",
    "address": 23,
    "why": "Counter 1"
   }
  ],
  "enable": "Modbus TCP server and RTU slave are on by default. Network and serial settings are changed in the web server or Seneca Discovery Device; DIP switches 1-2 select normal, factory reset or web-server-off.",
  "watchdog": "Per the web-server chapter, each analog output and each digital output has an optional watchdog (default disabled) with a timeout in seconds and a fail value or state.",
  "quirks": [
   "Offset is the wire address.",
   "Counters, period and frequency are MSW first; the float setpoints have no stated word order."
  ],
  "setup": [
   "Factory IP is 192.168.90.101; never put two factory-fresh units on the same network.",
   "Disable the web server with the DIP switches once commissioning is done."
  ],
  "gotchas": [
   "Channel direction (input or output) is set per channel in the configuration."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/seneca/r-4ao-8dido",
 "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."
}
