EmsTechLabs Logo EmsTechLabs

Sensors Modbus Register 8: Output WH low 16 bits

Technical documentation for Modbus register 8 on Sensors. Data type: U WORD. Includes Python and YAML configuration examples.

January 16, 2026 3 read

Technical Definition

The register Output WH low 16 bits at address 8 is used to monitor output wh low 16 bits on the Sensors.

  • Protocol: Modbus RTU
  • Data Type: U WORD
  • Unit: mWH
  • Access: Read Only

How to Read (Python pymodbus)

Use this code snippet to read this specific value via RS485:

from pymodbus.client.sync import ModbusSerialClient

client = ModbusSerialClient(method='rtu', port='/dev/ttyUSB0', baudrate=9600)
client.connect()

# Read Output WH low 16 bits (Address: 8)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=8, count=2, unit=1)

if not result.isError():
    print(f"Raw Value: {result.registers}")
else:
    print("Error reading register")

client.close()

Integration (Home Assistant)

Paste this into your configuration.yaml:

- platform: modbus_controller
  name: "Output WH low 16 bits"
  address: 8
  value_type: U_WORD
  unit_of_measurement: "mWH"

Connection Diagram

Here is the standard RS485 wiring for this configuration:

graph TD
    PLC[Host Controller / Home Assistant]
    Device[Sensors]

    PLC -- "A+ (D+)" --> Device
    PLC -- "B- (D-)" --> Device
    PLC -- GND --> Device


💡 Engineer's Insight

Analysis: Lower 16 bits of a 32-bit value, likely representing a large count or accumulated value. Units depend on the context (e.g., Wh, counts).

Troubleshooting: Could be 0 due to initialization, reset, or if the total value is indeed zero. Check the high word (register 9) for the complete value.