{
 "manufacturer": "Radwag",
 "manufacturer_slug": "radwag",
 "model": "PUE C32 / PUE HX7 / PUE HX5.EX weighing indicators",
 "model_slug": "pue-c32-hx7-hx5ex",
 "short_model": "PUE C32 / HX7 / HX5.EX",
 "aliases": [
  "PUE C32",
  "PUE HX7",
  "PUE HX5.EX"
 ],
 "equipment_type": "Sensor (weighing indicator)",
 "applies_to": "Radwag PUE C32, PUE HX7 and PUE HX5.EX weighing indicators per the May 2024 Modbus manual; platform 2 registers exist on PUE HX7 only.",
 "summary": "Radwag's PUE C32, HX7 and HX5.EX indicators act as Modbus slaves over RS-232, RS-485 (not on the C32) or Ethernet. Input registers give mass, tare, unit, status and thresholds per platform; holding registers take zero/tare/print commands and parameter writes such as a tare value, thresholds, outputs and product codes.",
 "transport": [
  "RTU",
  "TCP"
 ],
 "defaults": {
  "unit_id": null,
  "baud": null,
  "parity": null,
  "data_bits": null,
  "stop_bits": null,
  "tcp_port": null
 },
 "addressing": {
  "convention": "Modicon",
  "note": "Each table gives both a 0-based Offset and a Modbus address (30001/40001 style); the offset is what goes on the wire, e.g. platform 1 mass is offset 0 = 30001 and Command is offset 500 = 40501. The 'documented' field holds the Modbus address column."
 },
 "default_word_order": "ABCD",
 "firmware": null,
 "source": {
  "title": "Software manual MODBUS - Communication protocol: PUE C32, PUE HX7, PUE HX5.EX Weighing Terminal",
  "doc_number": "ITKP-56-01-05-24-EN",
  "revision_date": "2024-05",
  "url": "https://radwag.com/pdf2/en/MODBUS-ITKP-56-01-05-24-EN.pdf",
  "pages": "Functions and data structure p. 4; input registers p. 5; unit/status/process meanings pp. 5-7; holding registers pp. 7-8; command bits pp. 8-9"
 },
 "notes": [
  "Floats and the lot number are two registers with the first register holding the high bytes (ABCD); the manual's worked example 0x3E68 / 0x72B0 = 0.227 confirms it.",
  "Mass, MIN and MAX are in the currently displayed unit; tare and LO threshold use the adjustment (calibration) unit.",
  "The worked write examples on pp. 9-10 label registers as 40000 + offset for the tare value (40503/40504 = offsets 503-504) and the output mask (40507 = offset 507), which agrees with the offset column, but label 'command with parameter' as 40502, which is the table's Modicon number for offset 501. This map follows the table's offset column for every wire address.",
  "The manual gives no default serial settings or unit ID; they are set in the indicator menu.",
  "The table types the lot number as 'long' (signed 32-bit); it is mapped as INT32, high word first as the manual states."
 ],
 "registers": [
  {
   "table": "input_register",
   "address": 0,
   "documented": "30001",
   "name": "Platform 1 mass",
   "description": "Mass on platform 1 in the currently displayed unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 2,
   "documented": "30003",
   "name": "Platform 1 tare",
   "description": "Tare of platform 1 in the adjustment (calibration) unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 4,
   "documented": "30005",
   "name": "Platform 1 unit",
   "description": "Bit set shows the unit now displayed.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "gram [g]",
    "1": "kilogram [kg]",
    "2": "carat [ct]",
    "3": "pound [lb]",
    "4": "ounce [oz]",
    "5": "Newton [N]"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 5,
   "documented": "30006",
   "name": "Platform 1 status",
   "description": "",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Measurement correct (no error)",
    "1": "Measurement stable",
    "2": "Indicating zero",
    "3": "Tared",
    "4": "In weighing range II",
    "5": "In weighing range III",
    "6": "NULL error",
    "7": "LH error",
    "8": "FULL error"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 6,
   "documented": "30007",
   "name": "Platform 1 LO threshold",
   "description": "In the adjustment unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 8,
   "documented": "30009",
   "name": "Platform 2 mass",
   "description": "PUE HX7 only.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 10,
   "documented": "30011",
   "name": "Platform 2 tare",
   "description": "PUE HX7 only; adjustment unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 12,
   "documented": "30013",
   "name": "Platform 2 unit",
   "description": "PUE HX7 only.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "gram [g]",
    "1": "kilogram [kg]",
    "2": "carat [ct]",
    "3": "pound [lb]",
    "4": "ounce [oz]",
    "5": "Newton [N]"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 13,
   "documented": "30014",
   "name": "Platform 2 status",
   "description": "PUE HX7 only.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Measurement correct (no error)",
    "1": "Measurement stable",
    "2": "Indicating zero",
    "3": "Tared",
    "4": "In weighing range II",
    "5": "In weighing range III",
    "6": "NULL error",
    "7": "LH error",
    "8": "FULL error"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 14,
   "documented": "30015",
   "name": "Platform 2 LO threshold",
   "description": "PUE HX7 only.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 32,
   "documented": "30033",
   "name": "Process status",
   "description": "Dosing / formulation process state.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": {
    "0": "Process disabled",
    "1": "Process stopped",
    "2": "Process aborted",
    "3": "Process finished"
   },
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 33,
   "documented": "30034",
   "name": "Input status",
   "description": "Lowest 4 bits are the indicator inputs 1-4.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": {
    "0": "Input 1",
    "1": "Input 2",
    "2": "Input 3",
    "3": "Input 4"
   },
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 34,
   "documented": "30035",
   "name": "MIN threshold",
   "description": "In the current unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 36,
   "documented": "30037",
   "name": "MAX threshold",
   "description": "In the current unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 42,
   "documented": "30043",
   "name": "Lot number",
   "description": "Numeric lot number (non-digits are dropped).",
   "data_type": "INT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 44,
   "documented": "30045",
   "name": "Operator",
   "description": "Code of the logged-in operator.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 45,
   "documented": "30046",
   "name": "Product",
   "description": "Code of the selected product.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 46,
   "documented": "30047",
   "name": "Customer",
   "description": "Code of the selected customer.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 47,
   "documented": "30048",
   "name": "Packaging",
   "description": "Code of the selected packaging.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 50,
   "documented": "30051",
   "name": "Formulation",
   "description": "Code of the selected formulation.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "input_register",
   "address": 51,
   "documented": "30052",
   "name": "Dosing process",
   "description": "Code of the selected dosing process.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "R",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 500,
   "documented": "40501",
   "name": "Command",
   "description": "Set a bit to run that action once; clear it before repeating.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": {
    "0": "Zero the platform",
    "1": "Tare the platform",
    "2": "Delete statistics",
    "3": "Save/Print",
    "4": "Process start",
    "5": "Process stop"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 501,
   "documented": "40502",
   "name": "Command with parameter",
   "description": "Set a bit to apply the matching parameter register below.",
   "data_type": "BITMAP16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": {
    "0": "Set tare value",
    "1": "Set LO threshold",
    "2": "Set lot number",
    "3": "Set outputs state",
    "4": "Select operator",
    "5": "Select product",
    "6": "Select packaging",
    "7": "Set MIN threshold",
    "8": "Select customer",
    "9": "Select source warehouse",
    "10": "Select target warehouse",
    "11": "Select dosing process",
    "12": "Set MAX threshold"
   },
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 502,
   "documented": "40503",
   "name": "Platform",
   "description": "Platform number (1, or 2 on PUE HX7) for parameter commands.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 503,
   "documented": "40504",
   "name": "Tare",
   "description": "Tare to set, adjustment unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 505,
   "documented": "40506",
   "name": "LO threshold",
   "description": "LO threshold to set, adjustment unit.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 507,
   "documented": "40508",
   "name": "Output state",
   "description": "Output mask to apply, bit 0 = output 1.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 508,
   "documented": "40509",
   "name": "Min",
   "description": "MIN threshold to set.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 510,
   "documented": "40511",
   "name": "Max",
   "description": "MAX threshold to set.",
   "data_type": "FLOAT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 516,
   "documented": "40517",
   "name": "Lot number",
   "description": "Numeric lot number to set.",
   "data_type": "INT32",
   "length": 2,
   "word_order": "ABCD",
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 518,
   "documented": "40519",
   "name": "Operator",
   "description": "Operator code to select.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 519,
   "documented": "40520",
   "name": "Product",
   "description": "Product code to select.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 520,
   "documented": "40521",
   "name": "Customer",
   "description": "Customer code to select.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 521,
   "documented": "40522",
   "name": "Packaging",
   "description": "Packaging code to select.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 524,
   "documented": "40525",
   "name": "Formulation",
   "description": "Formulation code to select.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  },
  {
   "table": "holding_register",
   "address": 525,
   "documented": "40526",
   "name": "Dosing process",
   "description": "Dosing process code to select.",
   "data_type": "UINT16",
   "length": 1,
   "word_order": null,
   "scale": 1,
   "units": "",
   "access": "RW",
   "values": null,
   "bits": null,
   "offset": 0
  }
 ],
 "integration": {
  "summary": "Read input registers (FC04) from offset 0: platform 1 mass is a big-endian float at offset 0 and its status bits at offset 5. To zero or tare, write the matching bit to the Command register at offset 500, then clear it before the next use.",
  "minimum_registers": [
   {
    "table": "input_register",
    "address": 0,
    "why": "Platform 1 mass"
   },
   {
    "table": "input_register",
    "address": 5,
    "why": "Platform 1 status (stable, zero, errors)"
   },
   {
    "table": "input_register",
    "address": 4,
    "why": "Displayed unit"
   },
   {
    "table": "input_register",
    "address": 2,
    "why": "Platform 1 tare"
   },
   {
    "table": "holding_register",
    "address": 500,
    "why": "Zero / tare / print command bits"
   }
  ],
  "enable": "Turn Modbus on in the indicator menu under SETUP / Peripherals / Modbus; settings are described in the indicator software manual.",
  "watchdog": null,
  "quirks": [
   "Commands act on the rising edge of a bit: write 0 before writing the same bit again.",
   "Parameter commands: write the value register(s) and the 'Command with parameter' bit, using FC16."
  ],
  "setup": [
   "Modbus communication is configured under SETUP / Peripherals / Modbus; the indicator software manual covers the individual settings.",
   "RS-485 is not available on the PUE C32."
  ],
  "gotchas": [
   "Platform 2 registers only answer on the PUE HX7.",
   "The manual's write examples mix two numbering styles (40000 + offset and Modicon); go by the offset column."
  ]
 },
 "page": "https://easymodbus.com/modbus-register-maps/radwag/pue-c32-hx7-hx5ex",
 "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."
}
