{
 "manufacturer": "Johnson Controls",
 "manufacturer_slug": "johnson-controls",
 "model": "PENN TC3221 refrigeration temperature controller (Modbus RTU)",
 "model_slug": "tc3221",
 "short_model": "PENN TC3221",
 "aliases": [
  "TC3221",
  "TC3",
  "PENN TC3",
  "LIT-12013523"
 ],
 "equipment_type": "Thermostat",
 "applies_to": "PENN TC3221 electronic refrigeration controller with built-in Modbus RTU, per the TC3 Modbus Protocol Reference Guide LIT-12013523 (2020-04-28).",
 "summary": "Electronic refrigeration temperature controller with 2 probe inputs and 1 relay output. Everything is a holding register: probe readings in tenths, relay and digital-input bits, alarm flags, on/standby and defrost commands, and the full parameter list (setpoint, differential, compressor protection, defrost, alarm, door input, energy saving, real-time-clock defrosts and Modbus address/baud).",
 "transport": [
  "RTU"
 ],
 "defaults": {
  "unit_id": null,
  "baud": null,
  "parity": null,
  "data_bits": null,
  "stop_bits": null,
  "tcp_port": null
 },
 "addressing": {
  "convention": "hex 0-based",
  "note": "The guide prints every point twice: a hex 'Base 0' address (0201h) and a decimal 'Base 1' holding-register number (HR:514). The wire address is the Base 0 value (0x0201 = 513 = HR:514 - 1). Bit points are given as register.BitN."
 },
 "default_word_order": null,
 "firmware": null,
 "source": {
  "title": "TC3 Modbus Protocol Reference Guide (TC3221, TC3222, TC3223, TC3224N9R)",
  "doc_number": "LIT-12013523",
  "revision_date": "2020-04-28",
  "url": "https://docs.johnsoncontrols.com/bas/r/PENN-Controls/en-US/TC3-Modbus-Protocol-Reference-Guide",
  "pages": "pp. 5-12 (inputs/outputs, status, parameters, firmware, alarms)"
 },
 "notes": [
  "Source is Johnson Controls' own documentation portal (PENN Controls); a PDF of the guide is attached there.",
  "'(0.1 resolution)' is taken as raw = value x 10 (scale 0.1); '1/10 sec', '10 Minutes' and '100h' units are applied as multipliers 0.1 s, 10 min and 100 h.",
  "Signedness is not stated. Temperatures and probe readings, and parameters whose range goes negative, are typed INT16; others UINT16.",
  "Temperatures follow parameter P2 (0 = °C, 1 = °F); units are shown as printed (°C).",
  "The guide's Maximum and Minimum columns are swapped in places; ranges here are written low to high.",
  "Bit points are grouped into one BITMAP16 per register (digital inputs, relay outputs, alarm flags, status flags). The status-flag registers mix read-only and read/write bits.",
  "Left out: Defrost phase (HR:1368 bits 8-11, a multi-bit field), Time to next defrost (HR:1370, 0.25 resolution but no unit) and Time to defrost end (HR:1371, no unit), the four-register real-time clock, the UI password, and the firmware revision/variation byte fields.",
  "Serial parity, stop bits and the factory address/baud are not stated; address (LA, 1-247) and baud (Lb, 2400-19200) are parameters in the list."
 ],
 "registers": [
  {
   "table": "holding_register",
   "address": 257,
   "documented": "0101h (HR:258)",
   "name": "Digital inputs",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "2": "Digital input"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 385,
   "documented": "0181h (HR:386)",
   "name": "Digital outputs",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Compressor output"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 513,
   "documented": "0201h (HR:514)",
   "name": "Probe 1",
   "description": "Probe reading in tenths; °C or °F per parameter P2.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 514,
   "documented": "0202h (HR:515)",
   "name": "Probe 2",
   "description": "Probe reading in tenths; °C or °F per parameter P2.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 769,
   "documented": "0301h (HR:770)",
   "name": "Alarm flags",
   "description": "1 = active.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "4": "Minimum temperature alarm (AL)",
    "3": "Maximum temperature alarm (AH)",
    "7": "Door alarm (id)",
    "6": "Multifunction input alarm (iA)",
    "0": "Cabinet probe failure (Pr1)",
    "1": "Evaporator probe failure (Pr2)",
    "2": "Condenser probe failure (Pr3)",
    "9": "Condenser overheating alarm (COH)",
    "10": "Compressor blocked alarm (CSd)",
    "13": "Real-time clock error (rtc)",
    "12": "Compressor thermal switch alarm (Cth)",
    "5": "Global thermal switch alarm (th)",
    "11": "Defrost ended by timeout (dFd)"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1281,
   "documented": "0501h (HR:1282)",
   "name": "On or standby",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Standby mode",
    "1": "On"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1368,
   "documented": "0558h (HR:1369)",
   "name": "Setpoint",
   "description": "",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1537,
   "documented": "0601h (HR:1538)",
   "name": "Setpoint (SP)",
   "description": "Range -99 to 199 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1539,
   "documented": "0603h (HR:1540)",
   "name": "Calibration Probe 1 (CA1)",
   "description": "Range -25 to 25 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1540,
   "documented": "0604h (HR:1541)",
   "name": "Calibration Probe 2 (CA2)",
   "description": "Range -25 to 25 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1542,
   "documented": "0606h (HR:1543)",
   "name": "Type of probe (P0)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "positive temperature coefficient (PTC)",
    "1": "negative temperature coefficient (NTC)"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1543,
   "documented": "0607h (HR:1544)",
   "name": "Decimal point (P1)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "No",
    "1": "Yes"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1544,
   "documented": "0608h (HR:1545)",
   "name": "Celsius or Fahrenheit (P2)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "°C",
    "1": "°F"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1545,
   "documented": "0609h (HR:1546)",
   "name": "Second probe configuration (P4)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Digital input",
    "1": "Defrost",
    "2": "Condenser"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1546,
   "documented": "060Ah (HR:1547)",
   "name": "Value displayed in the main display (P5)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Probe",
    "1": "Setpoint",
    "2": "Second probe"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1548,
   "documented": "060Ch (HR:1549)",
   "name": "Display refresh time (P8)",
   "description": "Printed range 0 to 250 in units of 1/10 sec.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "s",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1549,
   "documented": "060Dh (HR:1550)",
   "name": "Setpoint differential (r0)",
   "description": "Range 0.1 to 15 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1550,
   "documented": "060Eh (HR:1551)",
   "name": "Minimum setpoint (r1)",
   "description": "Range -99 to 199 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1551,
   "documented": "060Fh (HR:1552)",
   "name": "Maximum setpoint (r2)",
   "description": "Range -99 to 199 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1552,
   "documented": "0610h (HR:1553)",
   "name": "Energy saving set point, relative (r4)",
   "description": "Range 0 to 99 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1553,
   "documented": "0611h (HR:1554)",
   "name": "Cooling or heating operaton (r5)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Cooling",
    "1": "Heating"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1554,
   "documented": "0612h (HR:1555)",
   "name": "Setpoint offset in overcooling or overheating (r6)",
   "description": "Range 0 to 99 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1555,
   "documented": "0613h (HR:1556)",
   "name": "Overcooling or overheating duration (r7)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1556,
   "documented": "0614h (HR:1557)",
   "name": "Down key configuration (r8)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "None",
    "1": "Overcooling or overheating",
    "2": "Energy saving"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1557,
   "documented": "0615h (HR:1558)",
   "name": "r0 type (r12)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "asymmetric",
    "1": "symmetric"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1559,
   "documented": "0617h (HR:1560)",
   "name": "Power-on delay (C0)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1560,
   "documented": "0618h (HR:1561)",
   "name": "Delay since last deactivation (C2)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1561,
   "documented": "0619h (HR:1562)",
   "name": "Minimum time compressor on (C3)",
   "description": "Range 0 to 240 s.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "s",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1562,
   "documented": "061Ah (HR:1563)",
   "name": "Time compressor turned off during probe failure (C4)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1563,
   "documented": "061Bh (HR:1564)",
   "name": "Time compressor turned on during probe failure (C5)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1564,
   "documented": "061Ch (HR:1565)",
   "name": "Set point for COH alarm (C6)",
   "description": "Range 0 to 199 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1565,
   "documented": "061Dh (HR:1566)",
   "name": "Set point for CSd alarm (C7)",
   "description": "Range 0 to 199 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1566,
   "documented": "061Eh (HR:1567)",
   "name": "CSd alarm delay (C8)",
   "description": "Range 0 to 15 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1567,
   "documented": "061Fh (HR:1568)",
   "name": "Compressor hours for service request (C10)",
   "description": "Printed range 0 to 999 in units of 100h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 100,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1570,
   "documented": "0622h (HR:1571)",
   "name": "Defrost lag (d0)",
   "description": "Range 0 to 99 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1572,
   "documented": "0624h (HR:1573)",
   "name": "Defrost cutoff temperature (d2)",
   "description": "Range -99 to 99 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1573,
   "documented": "0625h (HR:1574)",
   "name": "Defrost maximum time (d3)",
   "description": "Range 0 to 99 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1574,
   "documented": "0626h (HR:1575)",
   "name": "Defrost from power-on (d4)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "No",
    "1": "Yes"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1575,
   "documented": "0627h (HR:1576)",
   "name": "Defrost delay after power-on (d5)",
   "description": "Range 0 to 99 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1576,
   "documented": "0628h (HR:1577)",
   "name": "Data displayed during defrost (d6)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Probe",
    "1": "Limited in defrost",
    "2": "Label from the dEF parameter"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1577,
   "documented": "0629h (HR:1578)",
   "name": "Dripping time (d7)",
   "description": "Range 0 to 15 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1578,
   "documented": "062Ah (HR:1579)",
   "name": "Type of defrost interval (d8)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Time",
    "1": "Compressor hours",
    "2": "d9 threshold",
    "3": "Adaptive",
    "4": "Real time"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1579,
   "documented": "062Bh (HR:1580)",
   "name": "Stop counter threshold (d9)",
   "description": "Range -99 to 99 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1580,
   "documented": "062Ch (HR:1581)",
   "name": "Enable defrost timeout alarm (d11)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Disabled",
    "1": "Enabled"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1583,
   "documented": "062Fh (HR:1584)",
   "name": "Time for adaptive defrost, d8=3 (d18)",
   "description": "Range 0 to 999 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1584,
   "documented": "0630h (HR:1585)",
   "name": "Temperature threshold for adaptive defrost, d8=3 (d19)",
   "description": "Range 0 to 40 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1585,
   "documented": "0631h (HR:1586)",
   "name": "Maximum time for safety defrost in normal operation (d20)",
   "description": "Range 0 to 999 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1586,
   "documented": "0632h (HR:1587)",
   "name": "Maximum time for safety defrost in pull down (d21)",
   "description": "Range 0 to 500 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1587,
   "documented": "0633h (HR:1588)",
   "name": "Evaporation threshold for adaptive defrost interval counting, relative to optimal evaporation temperature (d22)",
   "description": "Range -10 to 10 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1588,
   "documented": "0634h (HR:1589)",
   "name": "Alarm probe (AA)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Cabinet probe",
    "1": "Second probe"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1589,
   "documented": "0635h (HR:1590)",
   "name": "Minimum alarm threshold (A1)",
   "description": "Range -99 to 99 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1590,
   "documented": "0636h (HR:1591)",
   "name": "Minimum alarm type (A2)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Disabled",
    "1": "Relative",
    "2": "Absolute"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1591,
   "documented": "0637h (HR:1592)",
   "name": "Maximum alarm threshold (A4)",
   "description": "Range -99 to 99 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1592,
   "documented": "0638h (HR:1593)",
   "name": "Maximum alarm type (A5)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Disabled",
    "1": "Relative",
    "2": "Absolute"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1593,
   "documented": "0639h (HR:1594)",
   "name": "Alarm delay from power-on (A6)",
   "description": "Printed range 0 to 99 in units of 10 Minutes.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 10,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1594,
   "documented": "063Ah (HR:1595)",
   "name": "Alarm delay (A7)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1595,
   "documented": "063Bh (HR:1596)",
   "name": "High temperature alarm delay after defrost (A8)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1596,
   "documented": "063Ch (HR:1597)",
   "name": "High temperature alarm delay after door closing (A9)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1597,
   "documented": "063Dh (HR:1598)",
   "name": "Minimum time for power failure alarm (A10)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1598,
   "documented": "063Eh (HR:1599)",
   "name": "Histeresys alarms regulator (A11)",
   "description": "Range 0.1 to 15 °C.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 0.1,
   "units": "°C",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1599,
   "documented": "063Fh (HR:1600)",
   "name": "High or low temperature alarms reset differential (A12)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "LED",
    "1": "LED, power failure label, and buzzer",
    "2": "LED and power failure label; buzzer if the duration is more than A10"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1600,
   "documented": "0640h (HR:1601)",
   "name": "Buzzer configuration (A13)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Disabled",
    "1": "Enabled"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1613,
   "documented": "064Dh (HR:1614)",
   "name": "Digital input 1 action (i0)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "None",
    "1": "cmp_off",
    "2": "Reserved",
    "3": "Reserved",
    "4": "Reserved",
    "5": "Reserved",
    "6": "Reserved",
    "7": "Energy saving",
    "8": "Warning",
    "9": "Standby mode",
    "10": "Cth alarm",
    "11": "th alarm"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1614,
   "documented": "064Eh (HR:1615)",
   "name": "Digital input 1 polarity (i1)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Active contact closed",
    "1": "Active contact opened"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1615,
   "documented": "064Fh (HR:1616)",
   "name": "Open door alarm delay (i2)",
   "description": "Range -1 to 120 min.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1616,
   "documented": "0650h (HR:1617)",
   "name": "Maximum duration of door switch (i3)",
   "description": "Range -1 to 120 min.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1617,
   "documented": "0651h (HR:1618)",
   "name": "Multifunction alarm delay (i7)",
   "description": "Range -1 to 120 min.",
   "data_type": "INT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1618,
   "documented": "0652h (HR:1619)",
   "name": "Duration with door closed before energy saving starts (i10)",
   "description": "Range 0 to 999 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1619,
   "documented": "0653h (HR:1620)",
   "name": "Number of door openings before safety defrost starts (i13)",
   "description": "Range 0 to 240.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1620,
   "documented": "0654h (HR:1621)",
   "name": "Duration with door open before safety defrost starts (i14)",
   "description": "Range 0 to 240 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1626,
   "documented": "065Ah (HR:1627)",
   "name": "Energy saving maximum duration (HE2)",
   "description": "Range 0 to 999 min.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "min",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1627,
   "documented": "065Bh (HR:1628)",
   "name": "Energy saving time (H01)",
   "description": "Range 0 to 23 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1628,
   "documented": "065Ch (HR:1629)",
   "name": "Energy saving duration (H02)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1629,
   "documented": "065Dh (HR:1630)",
   "name": "Holiday (HEd)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Monday",
    "1": "Tuesday",
    "2": "Wednesday",
    "3": "Thursday",
    "4": "Friday",
    "5": "Saturday",
    "6": "Sunday",
    "7": "None"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1630,
   "documented": "065Eh (HR:1631)",
   "name": "Defrost 1 starting time (Hd1)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1631,
   "documented": "065Fh (HR:1632)",
   "name": "Defrost 2 starting time (Hd2)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1632,
   "documented": "0660h (HR:1633)",
   "name": "Defrost 3 starting time (Hd3)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1633,
   "documented": "0661h (HR:1634)",
   "name": "Defrost 4 starting time (Hd4)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1634,
   "documented": "0662h (HR:1635)",
   "name": "Defrost 5 starting time (Hd5)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1635,
   "documented": "0663h (HR:1636)",
   "name": "Defrost 6 starting time (Hd6)",
   "description": "Range 0 to 24 h.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "h",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1636,
   "documented": "0664h (HR:1637)",
   "name": "Enable On/ standby key (POF)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Disabled",
    "1": "Enabled"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1638,
   "documented": "0666h (HR:1639)",
   "name": "RTC configuration (Hr0)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Disabled",
    "1": "Enabled"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1639,
   "documented": "0667h (HR:1640)",
   "name": "Address (LA)",
   "description": "Range 1 to 247.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 1640,
   "documented": "0668h (HR:1641)",
   "name": "Baud rate (Lb)",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "2400",
    "1": "4800",
    "2": "9600",
    "3": "19200"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 10374,
   "documented": "2886h (HR:10375)",
   "name": "Next defrost counter",
   "description": "Range 0 to 65535.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 10416,
   "documented": "28B0h (HR:10417)",
   "name": "Defrost command",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "W",
   "values": {
    "12": "Stop defrost",
    "13": "Start defrost"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 10436,
   "documented": "28C4h (HR:10437)",
   "name": "Status flags HR:10437",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": {
    "9": "Energy saving for door inactivity",
    "11": "Setpoint reached",
    "14": "Adaptive defrost calibration done",
    "10": "Pull down done"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 10438,
   "documented": "28C6h (HR:10439)",
   "name": "Status flags HR:10439",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": {
    "1": "Energy saving",
    "12": "Overcooling",
    "10": "Service request"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 10503,
   "documented": "2907h (HR:10504)",
   "name": "Remote energy saving",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": {
    "0": "Inactive",
    "1": "Active"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 65288,
   "documented": "FF08h (HR:65289)",
   "name": "Firmware identifier",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 65290,
   "documented": "FF0Ah (HR:65291)",
   "name": "Firmware program",
   "description": "",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  }
 ],
 "integration": {
  "summary": "Set the LA (address) and Lb (baud) parameters, then poll holding registers with function 03: Probe 1 at 0x0201 (tenths), relay bits at 0x0181 and alarm bits at 0x0301. Write On/Standby (0x0501), the setpoint SP (0x0601, tenths) and trigger defrosts through 0x28B0.",
  "minimum_registers": [
   {
    "table": "holding_register",
    "address": 513,
    "why": "Cabinet probe temperature"
   },
   {
    "table": "holding_register",
    "address": 1537,
    "why": "Control setpoint"
   },
   {
    "table": "holding_register",
    "address": 1281,
    "why": "Run / standby command"
   },
   {
    "table": "holding_register",
    "address": 385,
    "why": "Relay output states"
   },
   {
    "table": "holding_register",
    "address": 769,
    "why": "Alarm and probe-failure flags"
   },
   {
    "table": "holding_register",
    "address": 10416,
    "why": "Start/stop a defrost (0Dh/0Ch)"
   },
   {
    "table": "holding_register",
    "address": 1544,
    "why": "Temperature unit"
   }
  ],
  "enable": "Modbus RTU is built in; set the Modbus address (LA) and baud rate (Lb) parameters at the controller.",
  "watchdog": null,
  "quirks": [
   "Use the hex Base 0 column as the wire address; the HR: column is 1-based.",
   "Temperatures are in tenths; their printed ranges go below zero, so read them as signed (the guide does not state signedness).",
   "Defrost command register takes 0Dh to start and 0Ch to stop a defrost."
  ],
  "setup": [
   "Address LA 1-247; baud Lb 0 = 2400, 1 = 4800, 2 = 9600, 3 = 19200."
  ],
  "gotchas": [
   "Parameter register numbers differ between the TC3221, TC3222, TC3223 and TC3224 versions; use the map for the exact model."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/johnson-controls/tc3221",
 "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."
}
