EmsTechLabs Logo EmsTechLabs

Sensors Modbus Register 88: M058

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

January 16, 2026 3 read

Technical Definition

The register M058 at address 88 is used to monitor m058 on the Sensors.

  • Protocol: Modbus RTU
  • Data Type: U WORD
  • Unit: V
  • 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 M058 (Address: 88)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=88, 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: "M058"
  address: 88
  value_type: U_WORD
  unit_of_measurement: "V"

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: M058: Unspecified parameter, likely a status or configuration bit. Refer to the device's technical documentation for details.

Troubleshooting: Meaning of zero is context-dependent. Check device manual for M058 function and verify associated system parameters.