{
 "manufacturer": "ICP DAS",
 "manufacturer_slug": "icp-das",
 "model": "M-7005 8-channel thermistor input module (Modbus RTU)",
 "model_slug": "m-7005",
 "short_model": "M-7005",
 "aliases": [
  "M-7005",
  "M7005",
  "I-7005/M-7005"
 ],
 "equipment_type": "Sensor (thermistor input module)",
 "applies_to": "M-7005 in Modbus RTU mode, per I-7005/M-7005 User Manual Rev B2.4 (7MH-018-B24). The I-7005 uses the DCON protocol and is not covered.",
 "summary": "The M-7005 is an RS-485 module with eight thermistor inputs and six digital outputs. In Modbus RTU mode it gives each channel temperature as a 16-bit value (0.01-degree steps in engineering data format), an over/under-range or open-wire flag per channel, and the six digital outputs as coils.",
 "transport": [
  "RTU"
 ],
 "defaults": {
  "unit_id": null,
  "baud": null,
  "parity": "None",
  "data_bits": 8,
  "stop_bits": 1,
  "tcp_port": null
 },
 "addressing": {
  "convention": "Modicon",
  "note": "Section 3.7 is titled 'Address Mappings, Base 1': 00001 coils, 10001 discrete inputs, 30001 input and 40001 holding registers. Subtract the table base: 30001 is input register 0, 40225 is holding register 224."
 },
 "default_word_order": null,
 "firmware": null,
 "source": {
  "title": "I-7005/M-7005 User Manual",
  "doc_number": "Rev B2.4 (7MH-018-B24)",
  "revision_date": null,
  "url": "https://www.icpdas.com/en/download/file.php?num=6184",
  "pages": "p. 133 (Modbus functions, serial format), pp. 151-153 (address mappings, base 1), p. 154 (engineering data format)"
 },
 "notes": [
  "Temperatures read as 0.01-degree steps only when the module data format is engineering units (manual section 3.8; e.g. type 60 spans -3000 to 24000 for -30.00 to +240.00). The format is set with the DCON configuration command or, per the address table, coil 00269; other formats (section 1.10) scale differently.",
  "Left out: the configuration coils in the address table (safe and power-on DO values 00097+, protocol 00257, host watchdog 00260/00261/00270, temperature scale 00267, data format 00269, alarm coils 00289-00352). The function descriptions for 01, 05 and 15 only accept channels 0-5, which contradicts the table, so these addresses are not certain to work.",
  "Left out: all 4xxxx holding registers (temperature copies, alarm limits, type codes, offsets, module address, baud, watchdog timeout, channel enable). The manual lists only functions 01, 02, 04, 05, 15 and 70, so there is no documented way to read or write them; settings are made with function 70 or DCON commands.",
  "Left out: the two-register resistance values 30865-30880 (word order not stated) and the duplicate 00129-00136 listing of the range flags."
 ],
 "registers": [
  {
   "table": "coil",
   "address": 0,
   "documented": "00001",
   "name": "DO0 output",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Off",
    "1": "On"
   },
   "bits": null
  },
  {
   "table": "coil",
   "address": 1,
   "documented": "00002",
   "name": "DO1 output",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Off",
    "1": "On"
   },
   "bits": null
  },
  {
   "table": "coil",
   "address": 2,
   "documented": "00003",
   "name": "DO2 output",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Off",
    "1": "On"
   },
   "bits": null
  },
  {
   "table": "coil",
   "address": 3,
   "documented": "00004",
   "name": "DO3 output",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Off",
    "1": "On"
   },
   "bits": null
  },
  {
   "table": "coil",
   "address": 4,
   "documented": "00005",
   "name": "DO4 output",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Off",
    "1": "On"
   },
   "bits": null
  },
  {
   "table": "coil",
   "address": 5,
   "documented": "00006",
   "name": "DO5 output",
   "description": "",
   "data_type": "BIT",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Off",
    "1": "On"
   },
   "bits": null
  },
  {
   "table": "discrete_input",
   "address": 128,
   "documented": "10129",
   "name": "Over/under range status ch0",
   "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": 129,
   "documented": "10130",
   "name": "Over/under range status ch1",
   "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": 130,
   "documented": "10131",
   "name": "Over/under range status ch2",
   "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": 131,
   "documented": "10132",
   "name": "Over/under range status ch3",
   "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": 132,
   "documented": "10133",
   "name": "Over/under range status ch4",
   "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": 133,
   "documented": "10134",
   "name": "Over/under range status ch5",
   "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": 134,
   "documented": "10135",
   "name": "Over/under range status ch6",
   "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": 135,
   "documented": "10136",
   "name": "Over/under range status ch7",
   "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": "input_register",
   "address": 0,
   "documented": "30001",
   "name": "Temperature ch0",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 1,
   "documented": "30002",
   "name": "Temperature ch1",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 2,
   "documented": "30003",
   "name": "Temperature ch2",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 3,
   "documented": "30004",
   "name": "Temperature ch3",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 4,
   "documented": "30005",
   "name": "Temperature ch4",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 5,
   "documented": "30006",
   "name": "Temperature ch5",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 6,
   "documented": "30007",
   "name": "Temperature ch6",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  },
  {
   "table": "input_register",
   "address": 7,
   "documented": "30008",
   "name": "Temperature ch7",
   "description": "x0.01 degrees in engineering data format; -32768/+32767 = under/over range.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.01,
   "offset": 0,
   "scale_factor_ref": null,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null
  }
 ],
 "integration": {
  "summary": "Read input registers 0-7 with function 04 for the eight temperatures (x0.01 in engineering format) and discrete inputs 128-135 with function 02 for over/under range or open wire. Drive the six outputs with coils 0-5 (functions 01, 05, 15).",
  "minimum_registers": [
   {
    "table": "input_register",
    "address": 0,
    "why": "Channel 0 temperature"
   },
   {
    "table": "input_register",
    "address": 1,
    "why": "Channel 1 temperature"
   },
   {
    "table": "discrete_input",
    "address": 128,
    "why": "Channel 0 over/under range or open wire"
   },
   {
    "table": "discrete_input",
    "address": 129,
    "why": "Channel 1 over/under range or open wire"
   },
   {
    "table": "coil",
    "address": 0,
    "why": "Digital output 0"
   }
  ],
  "enable": "Select Modbus RTU with function 70 sub-function 06 (mode 1), or with the DCON configuration procedure in the manual. The new protocol and baud rate take effect after the next power-on.",
  "watchdog": null,
  "quirks": [
   "Serial format is 8 data bits, no parity, 1 stop bit per section 3."
  ],
  "setup": [
   "Baud 1200-115200, set with function 70 sub-function 06; module address 1-247 with sub-function 04; type code with sub-function 08."
  ],
  "gotchas": [
   "-32768 / +32767 mean under range / over range or an open thermistor.",
   "Function 02 starts at channel address 0x80 (128), not 0."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/icp-das/m-7005",
 "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."
}
