{
  "spec_version": 1,
  "slug": "moxa-iologik-e2242",
  "manufacturer": "Moxa",
  "model": "ioLogik E2242 (12 configurable digital I/O + 4 analog inputs)",
  "category": "Remote I/O",
  "supplier_url": "https://www.moxa.com/en/products/industrial-edge-connectivity/controllers-and-ios/universal-controllers-and-i-os/iologik-e2200-series",
  "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": "DIO channel 0 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0000. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x009C)."
    },
    {
      "address": 1,
      "count": 1,
      "name": "DIO channel 1 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0001. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x009D)."
    },
    {
      "address": 2,
      "count": 1,
      "name": "DIO channel 2 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0002. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x009E)."
    },
    {
      "address": 3,
      "count": 1,
      "name": "DIO channel 3 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0003. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x009F)."
    },
    {
      "address": 4,
      "count": 1,
      "name": "DIO channel 4 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0004. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A0)."
    },
    {
      "address": 5,
      "count": 1,
      "name": "DIO channel 5 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0005. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A1)."
    },
    {
      "address": 6,
      "count": 1,
      "name": "DIO channel 6 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0006. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A2)."
    },
    {
      "address": 7,
      "count": 1,
      "name": "DIO channel 7 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0007. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A3)."
    },
    {
      "address": 8,
      "count": 1,
      "name": "DIO channel 8 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0008. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A4)."
    },
    {
      "address": 9,
      "count": 1,
      "name": "DIO channel 9 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x0009. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A5)."
    },
    {
      "address": 10,
      "count": 1,
      "name": "DIO channel 10 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x000A. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A6)."
    },
    {
      "address": 11,
      "count": 1,
      "name": "DIO channel 11 output value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x000B. 0 = off, 1 = on; effective when the channel is configured as an output (see the direction coil 0x00A7)."
    },
    {
      "address": 156,
      "count": 1,
      "name": "DIO channel 0 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 157,
      "count": 1,
      "name": "DIO channel 1 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 158,
      "count": 1,
      "name": "DIO channel 2 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 159,
      "count": 1,
      "name": "DIO channel 3 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 160,
      "count": 1,
      "name": "DIO channel 4 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 161,
      "count": 1,
      "name": "DIO channel 5 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 162,
      "count": 1,
      "name": "DIO channel 6 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 163,
      "count": 1,
      "name": "DIO channel 7 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 164,
      "count": 1,
      "name": "DIO channel 8 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 165,
      "count": 1,
      "name": "DIO channel 9 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 166,
      "count": 1,
      "name": "DIO channel 10 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    },
    {
      "address": 167,
      "count": 1,
      "name": "DIO channel 11 direction",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Coil 0x009C-0x00A7. 1 = OUTPUT, 0 = INPUT. The manual prints the defaults per channel: channels 0-5 INPUT, channels 6-11 OUTPUT."
    }
  ],
  "discrete_inputs": [
    {
      "address": 0,
      "count": 1,
      "name": "DIO channel 0 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10001 (0x0000), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 1,
      "count": 1,
      "name": "DIO channel 1 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10002 (0x0001), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 2,
      "count": 1,
      "name": "DIO channel 2 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10003 (0x0002), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 3,
      "count": 1,
      "name": "DIO channel 3 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10004 (0x0003), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 4,
      "count": 1,
      "name": "DIO channel 4 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10005 (0x0004), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 5,
      "count": 1,
      "name": "DIO channel 5 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10006 (0x0005), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 6,
      "count": 1,
      "name": "DIO channel 6 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10007 (0x0006), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 7,
      "count": 1,
      "name": "DIO channel 7 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10008 (0x0007), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 8,
      "count": 1,
      "name": "DIO channel 8 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10009 (0x0008), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 9,
      "count": 1,
      "name": "DIO channel 9 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10010 (0x0009), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 10,
      "count": 1,
      "name": "DIO channel 10 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10011 (0x000A), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 11,
      "count": 1,
      "name": "DIO channel 11 input value",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10012 (0x000B), read with function 02; 0 = off, 1 = on. Valid when the channel is configured as an input."
    },
    {
      "address": 12,
      "count": 1,
      "name": "AI channel 0 LED",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10013 (0x000C). Discrete inputs 0x000C-0x000F: 1 = that channel's AI LED is on."
    },
    {
      "address": 13,
      "count": 1,
      "name": "AI channel 1 LED",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10014 (0x000D). Discrete inputs 0x000C-0x000F: 1 = that channel's AI LED is on."
    },
    {
      "address": 14,
      "count": 1,
      "name": "AI channel 2 LED",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10015 (0x000E). Discrete inputs 0x000C-0x000F: 1 = that channel's AI LED is on."
    },
    {
      "address": 15,
      "count": 1,
      "name": "AI channel 3 LED",
      "data_type": "Binary",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Discrete input 10016 (0x000F). Discrete inputs 0x000C-0x000F: 1 = that channel's AI LED is on."
    }
  ],
  "input_registers": [
    {
      "address": 0,
      "count": 2,
      "name": "DIO channel 0 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30001-30002 (0x0000-0x0001), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 2,
      "count": 2,
      "name": "DIO channel 1 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30003-30004 (0x0002-0x0003), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 4,
      "count": 2,
      "name": "DIO channel 2 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30005-30006 (0x0004-0x0005), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 6,
      "count": 2,
      "name": "DIO channel 3 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30007-30008 (0x0006-0x0007), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 8,
      "count": 2,
      "name": "DIO channel 4 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30009-30010 (0x0008-0x0009), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 10,
      "count": 2,
      "name": "DIO channel 5 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30011-30012 (0x000A-0x000B), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 12,
      "count": 2,
      "name": "DIO channel 6 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30013-30014 (0x000C-0x000D), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 14,
      "count": 2,
      "name": "DIO channel 7 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30015-30016 (0x000E-0x000F), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 16,
      "count": 2,
      "name": "DIO channel 8 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30017-30018 (0x0010-0x0011), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 18,
      "count": 2,
      "name": "DIO channel 9 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30019-30020 (0x0012-0x0013), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 20,
      "count": 2,
      "name": "DIO channel 10 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30021-30022 (0x0014-0x0015), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 22,
      "count": 2,
      "name": "DIO channel 11 DI counter value",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register pair 30023-30024 (0x0016-0x0017), printed as 'Hi-Word' then 'Lo-Word', so the high word sits at the lower address (HighFirst)."
    },
    {
      "address": 24,
      "count": 1,
      "name": "AI channel 0 value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30025 (0x0018), 'CH0 Read AI Value'. The table does not state the encoding or the unit of this word - only that the channel's input range comes from holding register 4x0200 - so it is seeded unscaled and unit-less rather than guessed."
    },
    {
      "address": 25,
      "count": 1,
      "name": "AI channel 1 value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30026 (0x0019), 'CH1 Read AI Value'. The table does not state the encoding or the unit of this word - only that the channel's input range comes from holding register 4x0201 - so it is seeded unscaled and unit-less rather than guessed."
    },
    {
      "address": 26,
      "count": 1,
      "name": "AI channel 2 value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30027 (0x001A), 'CH2 Read AI Value'. The table does not state the encoding or the unit of this word - only that the channel's input range comes from holding register 4x0202 - so it is seeded unscaled and unit-less rather than guessed."
    },
    {
      "address": 27,
      "count": 1,
      "name": "AI channel 3 value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30028 (0x001B), 'CH3 Read AI Value'. The table does not state the encoding or the unit of this word - only that the channel's input range comes from holding register 4x0203 - so it is seeded unscaled and unit-less rather than guessed."
    },
    {
      "address": 32,
      "count": 1,
      "name": "AI channel 0 minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30033 (0x0020), 'CH0 Read AI Min Value', same raw encoding as the channel value."
    },
    {
      "address": 33,
      "count": 1,
      "name": "AI channel 1 minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30034 (0x0021), 'CH1 Read AI Min Value', same raw encoding as the channel value."
    },
    {
      "address": 34,
      "count": 1,
      "name": "AI channel 2 minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30035 (0x0022), 'CH2 Read AI Min Value', same raw encoding as the channel value."
    },
    {
      "address": 35,
      "count": 1,
      "name": "AI channel 3 minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30036 (0x0023), 'CH3 Read AI Min Value', same raw encoding as the channel value."
    },
    {
      "address": 40,
      "count": 1,
      "name": "AI channel 0 maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30041 (0x0028), 'CH0 Read AI Max Value', same raw encoding as the channel value."
    },
    {
      "address": 41,
      "count": 1,
      "name": "AI channel 1 maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30042 (0x0029), 'CH1 Read AI Max Value', same raw encoding as the channel value."
    },
    {
      "address": 42,
      "count": 1,
      "name": "AI channel 2 maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30043 (0x002A), 'CH2 Read AI Max Value', same raw encoding as the channel value."
    },
    {
      "address": 43,
      "count": 1,
      "name": "AI channel 3 maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Register 30044 (0x002B), 'CH3 Read AI Max Value', same raw encoding as the channel value."
    }
  ],
  "holding_registers": [
    {
      "address": 72,
      "count": 1,
      "name": "DIO channel 0 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40073 (0x0048). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 73,
      "count": 1,
      "name": "DIO channel 1 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40074 (0x0049). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 74,
      "count": 1,
      "name": "DIO channel 2 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40075 (0x004A). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 75,
      "count": 1,
      "name": "DIO channel 3 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40076 (0x004B). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 76,
      "count": 1,
      "name": "DIO channel 4 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40077 (0x004C). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 77,
      "count": 1,
      "name": "DIO channel 5 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40078 (0x004D). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 78,
      "count": 1,
      "name": "DIO channel 6 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40079 (0x004E). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 79,
      "count": 1,
      "name": "DIO channel 7 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40080 (0x004F). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 80,
      "count": 1,
      "name": "DIO channel 8 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40081 (0x0050). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 81,
      "count": 1,
      "name": "DIO channel 9 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40082 (0x0051). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 82,
      "count": 1,
      "name": "DIO channel 10 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40083 (0x0052). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 83,
      "count": 1,
      "name": "DIO channel 11 output mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40084 (0x0053). 0 = DO (static output), 1 = pulse output."
    },
    {
      "address": 96,
      "count": 1,
      "name": "DIO channel 0 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40097 (0x0060). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 97,
      "count": 1,
      "name": "DIO channel 1 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40098 (0x0061). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 98,
      "count": 1,
      "name": "DIO channel 2 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40099 (0x0062). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 99,
      "count": 1,
      "name": "DIO channel 3 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40100 (0x0063). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 100,
      "count": 1,
      "name": "DIO channel 4 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40101 (0x0064). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 101,
      "count": 1,
      "name": "DIO channel 5 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40102 (0x0065). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 102,
      "count": 1,
      "name": "DIO channel 6 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40103 (0x0066). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 103,
      "count": 1,
      "name": "DIO channel 7 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40104 (0x0067). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 104,
      "count": 1,
      "name": "DIO channel 8 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40105 (0x0068). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 105,
      "count": 1,
      "name": "DIO channel 9 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40106 (0x0069). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 106,
      "count": 1,
      "name": "DIO channel 10 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40107 (0x006A). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 107,
      "count": 1,
      "name": "DIO channel 11 input mode",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40108 (0x006B). 0 = DI, 1 = event counter; any other value returns an illegal-data-value exception."
    },
    {
      "address": 108,
      "count": 1,
      "name": "AI channel 0 set/get enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40109 (0x006C). 1 = enable, 0 = disable."
    },
    {
      "address": 109,
      "count": 1,
      "name": "AI channel 1 set/get enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40110 (0x006D). 1 = enable, 0 = disable."
    },
    {
      "address": 110,
      "count": 1,
      "name": "AI channel 2 set/get enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40111 (0x006E). 1 = enable, 0 = disable."
    },
    {
      "address": 111,
      "count": 1,
      "name": "AI channel 3 set/get enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40112 (0x006F). 1 = enable, 0 = disable."
    },
    {
      "address": 512,
      "count": 1,
      "name": "AI channel 0 input range",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40513 (0x0200). 00 = ±150 mV, 01 = ±500 mV, 02 = ±5 V, 03 = ±10 V, 04 = 0-20 mA, 05 = 4-20 mA, 06 = 0-150 mV, 07 = 0-500 mV, 08 = 0-5 V, 09 = 0-10 V; any other value returns an illegal-data-value exception."
    },
    {
      "address": 513,
      "count": 1,
      "name": "AI channel 1 input range",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40514 (0x0201). 00 = ±150 mV, 01 = ±500 mV, 02 = ±5 V, 03 = ±10 V, 04 = 0-20 mA, 05 = 4-20 mA, 06 = 0-150 mV, 07 = 0-500 mV, 08 = 0-5 V, 09 = 0-10 V; any other value returns an illegal-data-value exception."
    },
    {
      "address": 514,
      "count": 1,
      "name": "AI channel 2 input range",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40515 (0x0202). 00 = ±150 mV, 01 = ±500 mV, 02 = ±5 V, 03 = ±10 V, 04 = 0-20 mA, 05 = 4-20 mA, 06 = 0-150 mV, 07 = 0-500 mV, 08 = 0-5 V, 09 = 0-10 V; any other value returns an illegal-data-value exception."
    },
    {
      "address": 515,
      "count": 1,
      "name": "AI channel 3 input range",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40516 (0x0203). 00 = ±150 mV, 01 = ±500 mV, 02 = ±5 V, 03 = ±10 V, 04 = 0-20 mA, 05 = 4-20 mA, 06 = 0-150 mV, 07 = 0-500 mV, 08 = 0-5 V, 09 = 0-10 V; any other value returns an illegal-data-value exception."
    },
    {
      "address": 284,
      "count": 1,
      "name": "AI channel 0 scaling enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40285 (0x011C). 1 = enable the channel's linear scaling, 0 = disable."
    },
    {
      "address": 285,
      "count": 1,
      "name": "AI channel 1 scaling enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40286 (0x011D). 1 = enable the channel's linear scaling, 0 = disable."
    },
    {
      "address": 286,
      "count": 1,
      "name": "AI channel 2 scaling enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40287 (0x011E). 1 = enable the channel's linear scaling, 0 = disable."
    },
    {
      "address": 287,
      "count": 1,
      "name": "AI channel 3 scaling enable",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40288 (0x011F). 1 = enable the channel's linear scaling, 0 = disable."
    },
    {
      "address": 288,
      "count": 1,
      "name": "AI channel 0 RAW minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40289 (0x0120). Raw value that corresponds to the scale minimum."
    },
    {
      "address": 289,
      "count": 1,
      "name": "AI channel 1 RAW minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40290 (0x0121). Raw value that corresponds to the scale minimum."
    },
    {
      "address": 290,
      "count": 1,
      "name": "AI channel 2 RAW minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40291 (0x0122). Raw value that corresponds to the scale minimum."
    },
    {
      "address": 291,
      "count": 1,
      "name": "AI channel 3 RAW minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40292 (0x0123). Raw value that corresponds to the scale minimum."
    },
    {
      "address": 292,
      "count": 1,
      "name": "AI channel 0 RAW maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40293 (0x0124). Raw value that corresponds to the scale maximum."
    },
    {
      "address": 293,
      "count": 1,
      "name": "AI channel 1 RAW maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40294 (0x0125). Raw value that corresponds to the scale maximum."
    },
    {
      "address": 294,
      "count": 1,
      "name": "AI channel 2 RAW maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40295 (0x0126). Raw value that corresponds to the scale maximum."
    },
    {
      "address": 295,
      "count": 1,
      "name": "AI channel 3 RAW maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40296 (0x0127). Raw value that corresponds to the scale maximum."
    },
    {
      "address": 296,
      "count": 1,
      "name": "AI channel 0 scale minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40297 (0x0128). Engineering value written when the input sits at the RAW minimum."
    },
    {
      "address": 297,
      "count": 1,
      "name": "AI channel 1 scale minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40298 (0x0129). Engineering value written when the input sits at the RAW minimum."
    },
    {
      "address": 298,
      "count": 1,
      "name": "AI channel 2 scale minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40299 (0x012A). Engineering value written when the input sits at the RAW minimum."
    },
    {
      "address": 299,
      "count": 1,
      "name": "AI channel 3 scale minimum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40300 (0x012B). Engineering value written when the input sits at the RAW minimum."
    },
    {
      "address": 300,
      "count": 1,
      "name": "AI channel 0 scale maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40301 (0x012C). Engineering value written when the input sits at the RAW maximum."
    },
    {
      "address": 301,
      "count": 1,
      "name": "AI channel 1 scale maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40302 (0x012D). Engineering value written when the input sits at the RAW maximum."
    },
    {
      "address": 302,
      "count": 1,
      "name": "AI channel 2 scale maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40303 (0x012E). Engineering value written when the input sits at the RAW maximum."
    },
    {
      "address": 303,
      "count": 1,
      "name": "AI channel 3 scale maximum value",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Register 40304 (0x012F). Engineering value written when the input sits at the RAW maximum."
    }
  ],
  "combined_registers": [],
  "notes": "Source: Moxa 'ioLogik E2200 Series User Manual' v7.2 (https://moxa.com/getmedia/b6e2827c-9244-446a-babd-d9416dc55765/moxa-iologik-e2200-series-manual-v7.2.pdf, SHA-256 62e957d08fdcb61140b28a45fe54c337a7e5883d181f68251bb2286cf4bd651b), section 'ioLogik E2242 Modbus Mapping' (manual pages 214-232): the 0xxxx read/write coils, 1xxxx read-only coils, 3xxxx read-only registers and 4xxxx read/write registers, each with its reference number and hexadecimal address side by side. The seed stores the hexadecimal (wire) address and declares zero_based. The E2242 has 12 channels that can each be an input or an output (coils 0x009C-0x00A7 choose the direction; the manual states its own per-channel defaults: 0-5 INPUT, 6-11 OUTPUT) plus four analog inputs, so the same channel appears in both the coil and the discrete-input table; the direction coil decides which one is live. Every 32-bit DI counter is printed as a separate high-word and low-word row, so each is one two-register UInt32 row here, high word first. The analog channel value, minimum and maximum registers are seeded unscaled and unit-less because this manual never states their encoding (the input range is selectable in hardware/software at 4x0200-4x0203), and no fixed scale_factor can follow a range that is configured per site - the module's own scaled result, registers 40305-40312 'AI Channel n Scale Value', is printed low-word first and is therefore left out rather than decoded with this seed's HighFirst convention. Omitted on purpose: the DO pulse count, pulse low/high width, power-on and safe value blocks (4x0000-4x0047 and coils 0x000C-0x009B), the AI min/max reset coils, the internal-register working values and the scrambled system-information block (IP address, time, module strings). Unit identifier 1 is a declared placeholder: the ioLogik's Modbus/TCP ID and IP address are set in its web console and the manual prints no factory value for the unit field."
}
