EmsTechLabs Logo EmsTechLabs

Loadcontrol Modbus Register 36938: Prefix LC: #1 Turn on time 2 (h)

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

January 16, 2026 3 read

Technical Definition

The register prefix LC: #1 Turn on time 2 (h) at address 36938 is used to monitor prefix lc: #1 turn on time 2 (h) on the Loadcontrol.

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

Connection Diagram

Here is the standard RS485 wiring for this configuration:

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

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


💡 Engineer's Insight

Analysis: The hours component for the second turn-on time of load #1. Unit: hours.

Troubleshooting: Zero value indicates no defined turn-on time or immediate activation. Check configuration if unexpected.