{
 "manufacturer": "Teracom",
 "manufacturer_slug": "teracom",
 "model": "TDI340 4-channel S0 pulse counter with Modbus RTU",
 "model_slug": "tdi340",
 "short_model": "TDI340",
 "aliases": [
  "TDI340"
 ],
 "equipment_type": "Energy meter (S0 pulse counter / digital input module)",
 "applies_to": "TDI340 per the Teracom TDI340 user manual Revision R1.11, firmware V1.06 or later.",
 "summary": "The TDI340 is a Teracom DIN-rail module with four isolated S0 inputs (IEC 62053-31) and a Modbus RTU RS-485 port. Each input has a 32-bit pulse counter in polling or edge mode, a scaled real value and an open/closed state, with optional debounce delays.",
 "transport": [
  "RTU"
 ],
 "defaults": {
  "unit_id": 1,
  "baud": 19200,
  "parity": "Even",
  "data_bits": 8,
  "stop_bits": 1,
  "tcp_port": null
 },
 "addressing": {
  "convention": "Modicon",
  "note": "The register table prints both a PDU (wire) address and a logical address (PDU + 40001 for holding registers). 'documented' holds the logical number; the PDU number is what goes in the request, e.g. logical 40101 = PDU 100."
 },
 "default_word_order": "ABCD",
 "firmware": "V1.06 or later",
 "source": {
  "title": "TDI340 User manual",
  "doc_number": "Revision R1.11",
  "revision_date": "2026-10",
  "url": "https://www.teracomsystems.com/download/s0-pulse-counter-with-modbus-rtu-interface-tdi340-user-manual/",
  "pages": "pp. 5-7 (Modbus address table)"
 },
 "notes": [
  "Addresses are taken from the manual's PDU address column (0-based); the logical column adds 40001 for holding registers and 10001 for discrete inputs, as the manual states.",
  "All 32-bit values follow the Data order register (PDU 13): 1 = most significant word first (factory default), 2 = least significant word first. The map shows the default, ABCD.",
  "Left out: the 32-bit float/integer test-value registers (PDU 82-95), which only exist to check word order; the 16-bit test values are kept.",
  "Input states are also readable as discrete inputs PDU 1-4 (logical 10002-10005), as the table prints them.",
  "Debounce delays (0-65535 x 10 ms) only work while that input's counter is in polling mode.",
  "A missing float returns NaN and a missing 32-bit integer -2147483648."
 ],
 "registers": [
  {
   "table": "discrete_input",
   "address": 1,
   "documented": "10002",
   "name": "Input1",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "discrete_input",
   "address": 2,
   "documented": "10003",
   "name": "Input2",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "discrete_input",
   "address": 3,
   "documented": "10004",
   "name": "Input3",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "discrete_input",
   "address": 4,
   "documented": "10005",
   "name": "Input4",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 10,
   "documented": "40011",
   "name": "RS-485 address",
   "description": "Modbus slave address of the device.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 11,
   "documented": "40012",
   "name": "Baud rate",
   "description": "Serial baud rate; takes effect after a power cycle.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 12,
   "documented": "40013",
   "name": "Parity, data, stop bits",
   "description": "Parity/data/stop framing; takes effect after a power cycle.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "8 data bits, even parity, 1 stop (E81)",
    "2": "8 data bits, odd parity, 1 stop (O81)",
    "3": "8 data bits, no parity, 1 stop (N81)"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 13,
   "documented": "40014",
   "name": "Data order",
   "description": "Word order used for all 32-bit values.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "MSWF - most significant word first",
    "2": "LSWF - least significant word first"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 14,
   "documented": "40015",
   "name": "Device code",
   "description": "Fixed product identification code.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 15,
   "documented": "40016",
   "name": "FW version",
   "description": "Firmware version number.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 18,
   "documented": "40019",
   "name": "Vendor URL",
   "description": "Maker URL as UTF-8 text (64 bytes).",
   "data_type": "STRING",
   "length": 32,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 86,
   "documented": "40087",
   "name": "Signed integer test value",
   "description": "",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 91,
   "documented": "40092",
   "name": "Unsigned integer test value",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 110,
   "documented": "40111",
   "name": "Counter mode Input1",
   "description": "Counting method: polling of the input or edge detection.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Polling",
    "2": "Edge"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 111,
   "documented": "40112",
   "name": "Counter edge Input1",
   "description": "Which edge increments the counter in edge mode.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Rising",
    "2": "Falling",
    "3": "Both"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 112,
   "documented": "40113",
   "name": "Pulses per real unit Input1",
   "description": "Pulses per engineering unit for the real-value register.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 113,
   "documented": "40114",
   "name": "Delay Low-to-High Input1 (x10 ms)",
   "description": "Debounce delay for low-to-high, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 114,
   "documented": "40115",
   "name": "Delay High-to-Low Input1 (x10 ms)",
   "description": "Debounce delay for high-to-low, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 120,
   "documented": "40121",
   "name": "Counter mode Input2",
   "description": "Counting method: polling of the input or edge detection.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Polling",
    "2": "Edge"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 121,
   "documented": "40122",
   "name": "Counter edge Input2",
   "description": "Which edge increments the counter in edge mode.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Rising",
    "2": "Falling",
    "3": "Both"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 122,
   "documented": "40123",
   "name": "Pulses per real unit Input2",
   "description": "Pulses per engineering unit for the real-value register.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 123,
   "documented": "40124",
   "name": "Delay Low-to-High Input2 (x10mS)",
   "description": "Debounce delay for low-to-high, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 124,
   "documented": "40125",
   "name": "Delay High-to-Low Input2 (x10mS)",
   "description": "Debounce delay for high-to-low, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 130,
   "documented": "40131",
   "name": "Counter mode Input3",
   "description": "Counting method: polling of the input or edge detection.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Polling",
    "2": "Edge"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 131,
   "documented": "40132",
   "name": "Counter edge Input3",
   "description": "Which edge increments the counter in edge mode.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Rising",
    "2": "Falling",
    "3": "Both"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 132,
   "documented": "40133",
   "name": "Pulses per real unit Input3",
   "description": "Pulses per engineering unit for the real-value register.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 133,
   "documented": "40134",
   "name": "Delay Low-to-High Input3 (x10 mS)",
   "description": "Debounce delay for low-to-high, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 134,
   "documented": "40135",
   "name": "Delay High-to-Low Input3 (x10 mS)",
   "description": "Debounce delay for high-to-low, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 140,
   "documented": "40141",
   "name": "Counter mode Input4",
   "description": "Counting method: polling of the input or edge detection.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Polling",
    "2": "Edge"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 141,
   "documented": "40142",
   "name": "Counter edge Input4",
   "description": "Which edge increments the counter in edge mode.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "1": "Rising",
    "2": "Falling",
    "3": "Both"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 142,
   "documented": "40143",
   "name": "Pulses per real unit Input4",
   "description": "Pulses per engineering unit for the real-value register.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 143,
   "documented": "40144",
   "name": "Delay Low-to-High Input4 (x10 mS)",
   "description": "Debounce delay for low-to-high, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 144,
   "documented": "40145",
   "name": "Delay High-to-Low Input4 (x10 mS)",
   "description": "Debounce delay for high-to-low, in 10 ms steps (polling mode).",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "ms",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 200,
   "documented": "40201",
   "name": "All digital inputs (bitmask)",
   "description": "All four input states packed in bits 0-3.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Digital input 1",
    "1": "Digital input 2",
    "2": "Digital input 3",
    "3": "Digital input 4"
   }
  },
  {
   "table": "holding_register",
   "address": 201,
   "documented": "40202",
   "name": "Digital Input1 state",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": {
    "0": "Input closed",
    "1": "Input open"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 202,
   "documented": "40203",
   "name": "Digital Input2 state",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": {
    "0": "Input closed",
    "1": "Input open"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 203,
   "documented": "40204",
   "name": "Digital Input3 state",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": {
    "0": "Input closed",
    "1": "Input open"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 204,
   "documented": "40205",
   "name": "Digital Input4 state",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": {
    "0": "Input closed",
    "1": "Input open"
   },
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 210,
   "documented": "40211",
   "name": "Counter Input1 (32-bit)",
   "description": "Pulse count, 32-bit; writable to preset.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 212,
   "documented": "40213",
   "name": "Counter Input2 (32-bit)",
   "description": "Pulse count, 32-bit; writable to preset.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 214,
   "documented": "40215",
   "name": "Counter Input3 (32-bit)",
   "description": "Pulse count, 32-bit; writable to preset.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 216,
   "documented": "40217",
   "name": "Counter Input4 (32-bit)",
   "description": "Pulse count, 32-bit; writable to preset.",
   "data_type": "UINT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 220,
   "documented": "40221",
   "name": "Counter Input1 LOW (16-bit)",
   "description": "Low 16 bits of the counter; a write also clears the upper 16 bits.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 221,
   "documented": "40222",
   "name": "Counter Input2 LOW (16-bit)",
   "description": "Low 16 bits of the counter; a write also clears the upper 16 bits.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 222,
   "documented": "40223",
   "name": "Counter Input3 LOW (16-bit)",
   "description": "Low 16 bits of the counter; a write also clears the upper 16 bits.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 223,
   "documented": "40224",
   "name": "Counter Input4 LOW (16-bit)",
   "description": "Low 16 bits of the counter; a write also clears the upper 16 bits.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 230,
   "documented": "40231",
   "name": "Counter Input1 real value",
   "description": "Counter divided by the pulses-per-unit setting.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 232,
   "documented": "40233",
   "name": "Counter Input2 real value",
   "description": "Counter divided by the pulses-per-unit setting.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 234,
   "documented": "40235",
   "name": "Counter Input3 real value",
   "description": "Counter divided by the pulses-per-unit setting.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "holding_register",
   "address": 236,
   "documented": "40237",
   "name": "Counter Input4 real value",
   "description": "Counter divided by the pulses-per-unit setting.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  }
 ],
 "integration": {
  "summary": "Read the four 32-bit counters at PDU 210-217 (or real values at PDU 230-237) with function 03. Set each input's mode and edge first; edge mode is the factory default.",
  "minimum_registers": [
   {
    "table": "holding_register",
    "address": 210,
    "why": "Counter input 1"
   },
   {
    "table": "holding_register",
    "address": 212,
    "why": "Counter input 2"
   },
   {
    "table": "holding_register",
    "address": 230,
    "why": "Real value input 1"
   },
   {
    "table": "holding_register",
    "address": 200,
    "why": "All input states"
   },
   {
    "table": "holding_register",
    "address": 110,
    "why": "Counter mode input 1"
   },
   {
    "table": "discrete_input",
    "address": 1,
    "why": "Input 1 state"
   }
  ],
  "enable": "Modbus RTU is the only interface and is always active; there is nothing to switch on. Factory settings are address 1, 19200 baud, 8E1.",
  "watchdog": null,
  "quirks": [
   "Baud rate and framing changes only take effect after the device is powered off and on again.",
   "Word order for every 32-bit value is set by the Data order register (PDU 13); check it before blaming the scaling."
  ],
  "setup": [
   "Set unit ID (PDU 10), baud (PDU 11) and framing (PDU 12), then power-cycle the device.",
   "Terminate both ends of the RS-485 bus with 120 ohm; the built-in resistor is enabled by wiring Term to RS485-. A daisy chain is recommended."
  ],
  "gotchas": []
 },
 "page": "https://easymodbus.com/modbus-register-maps/teracom/tdi340",
 "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."
}
