{
  "spec_version": 1,
  "slug": "brainboxes-ed-588",
  "manufacturer": "Brainboxes",
  "model": "ED-588 Ethernet remote I/O (8 digital inputs + 8 digital outputs)",
  "category": "Remote I/O",
  "supplier_url": "https://www.brainboxes.com/product/remote-io/digital/ed-588",
  "default_configuration": {
    "protocol": "modbus_tcp",
    "port": 502,
    "unit_id": 1,
    "addressing": "zero_based",
    "byte_order": "BigEndian",
    "word_order": "HighFirst"
  },
  "coils": [
    {
      "address": 0,
      "count": 1,
      "name": "Digital output 1",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 1,
      "count": 1,
      "name": "Digital output 2",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 2,
      "count": 1,
      "name": "Digital output 3",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 3,
      "count": 1,
      "name": "Digital output 4",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 4,
      "count": 1,
      "name": "Digital output 5",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 5,
      "count": 1,
      "name": "Digital output 6",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 6,
      "count": 1,
      "name": "Digital output 7",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 7,
      "count": 1,
      "name": "Digital output 8",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0000-0x0007; the ED-588 table gives function codes 1, 5 and 15 for 'Set/read digital outputs', so the same bit can be read as a coil as well as written."
    },
    {
      "address": 32,
      "count": 1,
      "name": "Digital input 1 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 33,
      "count": 1,
      "name": "Digital input 2 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 34,
      "count": 1,
      "name": "Digital input 3 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 35,
      "count": 1,
      "name": "Digital input 4 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 36,
      "count": 1,
      "name": "Digital input 5 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 37,
      "count": 1,
      "name": "Digital input 6 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 38,
      "count": 1,
      "name": "Digital input 7 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 39,
      "count": 1,
      "name": "Digital input 8 state (as a coil)",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0020-0x0027, read with function 01 (the table's 'Read digital inputs' row uses the coil area). The same state is available as a discrete input at 0x0000."
    },
    {
      "address": 512,
      "count": 1,
      "name": "Clear digital input 1 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 513,
      "count": 1,
      "name": "Clear digital input 2 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 514,
      "count": 1,
      "name": "Clear digital input 3 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 515,
      "count": 1,
      "name": "Clear digital input 4 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 516,
      "count": 1,
      "name": "Clear digital input 5 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 517,
      "count": 1,
      "name": "Clear digital input 6 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 518,
      "count": 1,
      "name": "Clear digital input 7 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    },
    {
      "address": 519,
      "count": 1,
      "name": "Clear digital input 8 counter",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Logical address 0x0200-0x0207, written with function 05/15 to clear that input's counter; the table types this block 'Coil' with function codes 5 and 15."
    }
  ],
  "discrete_inputs": [
    {
      "address": 0,
      "count": 1,
      "name": "Digital input 1 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 1,
      "count": 1,
      "name": "Digital input 2 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 2,
      "count": 1,
      "name": "Digital input 3 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 3,
      "count": 1,
      "name": "Digital input 4 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 4,
      "count": 1,
      "name": "Digital input 5 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 5,
      "count": 1,
      "name": "Digital input 6 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 6,
      "count": 1,
      "name": "Digital input 7 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 7,
      "count": 1,
      "name": "Digital input 8 state",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0000-0x0007, read with function 02 (984-style 10001-10008)."
    },
    {
      "address": 1024,
      "count": 1,
      "name": "Digital output 1 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1025,
      "count": 1,
      "name": "Digital output 2 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1026,
      "count": 1,
      "name": "Digital output 3 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1027,
      "count": 1,
      "name": "Digital output 4 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1028,
      "count": 1,
      "name": "Digital output 5 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1029,
      "count": 1,
      "name": "Digital output 6 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1030,
      "count": 1,
      "name": "Digital output 7 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    },
    {
      "address": 1031,
      "count": 1,
      "name": "Digital output 8 overload flag",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Logical address 0x0400-0x0407, read with function 02 (984-style 11025-11032); set when that output is overloaded."
    }
  ],
  "input_registers": [
    {
      "address": 0,
      "count": 1,
      "name": "Digital input 1 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 1,
      "count": 1,
      "name": "Digital input 2 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 2,
      "count": 1,
      "name": "Digital input 3 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 3,
      "count": 1,
      "name": "Digital input 4 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 4,
      "count": 1,
      "name": "Digital input 5 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 5,
      "count": 1,
      "name": "Digital input 6 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 6,
      "count": 1,
      "name": "Digital input 7 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 7,
      "count": 1,
      "name": "Digital input 8 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 04 (984-style 30001-30008). The ED Modbus data-format page defines input registers as 16-bit integers, so one register per counter; the device's 32-bit counter mode has no separate Modbus register pair in this table."
    },
    {
      "address": 32,
      "count": 1,
      "name": "Digital input states (bit field)",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Single register 0x0020 (984-style 30033) holding the eight input states as bits 0-7; the same row appears in the table under 'Read digital inputs' with function 04."
    },
    {
      "address": 1024,
      "count": 1,
      "name": "Digital output overload flags (bit field)",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Single register 0x0400 (984-style 31025) with one overload bit per output."
    }
  ],
  "holding_registers": [
    {
      "address": 0,
      "count": 1,
      "name": "Digital input 1 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 1,
      "count": 1,
      "name": "Digital input 2 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 2,
      "count": 1,
      "name": "Digital input 3 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 3,
      "count": 1,
      "name": "Digital input 4 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 4,
      "count": 1,
      "name": "Digital input 5 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 5,
      "count": 1,
      "name": "Digital input 6 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 6,
      "count": 1,
      "name": "Digital input 7 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 7,
      "count": 1,
      "name": "Digital input 8 counter",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counter value for that input, read with function 03 (984-style 40001-40008); the ED-588 table lists the counters in the holding area as well as in the input area."
    },
    {
      "address": 32,
      "count": 1,
      "name": "Digital output states (bit field)",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 0x0020 (984-style 40033): the eight output states as bits 0-7, read with function 03 and written with 06/16 (the table's 'Set/read digital outputs' row in the holding area)."
    }
  ],
  "combined_registers": [],
  "notes": "Source: Brainboxes documentation, 'ED Modbus Product Data Tables' (https://docs.brainboxes.com/reference/protocols/ed-modbus-product-data-tables), section ED-588, which prints every function with its Modbus access type, function codes, logical address and the 984-style and IEC 61131 addresses; plus 'ED Modbus Data Formats' (https://docs.brainboxes.com/reference/protocols/ed-modbus-data-formats) for the data-table widths, and the ED-588 product page (https://www.brainboxes.com/product/remote-io/digital/ed-588) and ED Range Manual for the 8 digital inputs and 8 outputs. The seed stores the logical-address column (0x0000-0x0007 outputs, 0x0020-0x0027 input states and output bit field, 0x0200-0x0207 counter-clear coils, 0x0400-0x0407 overload flags) and declares zero_based. Brainboxes documents Modbus TCP as the protocol of the ED range but prints no TCP port or unit identifier in these tables: port 502 is the Modbus TCP default and unit identifier 1 is a declared placeholder, because a Modbus TCP server may ignore the unit field. The same inputs appear both as coils (function 01) and as discrete inputs (function 02), and the counters both as input registers (function 04) and as holding registers (function 03), exactly as the vendor table lists them. The counter-clear coils are writable bits; reading them returns the coil state. The Modbus counter registers are 16 bits: the data-format page defines input and holding registers as 16-bit integers, and the ED-588 table gives exactly one register per counter in each area (30001-30008 and 40001-40008), with no second word anywhere in the map."
}
