Expand description
This module defines the core data structures and traits for the SDM72 Modbus protocol.
It includes definitions for all supported Modbus registers, data types for meter settings and measurements, and helper traits for encoding and decoding Modbus data.
The documentation for this module is based on the “Eastron SDM72D-M-v2 Modbus Protocol” document.
Structs§
- Address
- Address of the Modbus RTU protocol for the RS485 serial port. The address must be in the range from 1 to 247.
- Auto
Scroll Time - Automatic display scroll time in seconds. The time must be in the range from 0 to 60.
- Export
Energy Active - Export
Total Power Active - Frequency
- Import
Energy Active - Import
Total Power Active - L1Current
- L1Power
Active - L1Power
Apparent - L1Power
Factor - L1Power
Reactive - L1To
L2Voltage - L1Voltage
- L2Current
- L2Power
Active - L2Power
Apparent - L2Power
Factor - L2Power
Reactive - L2To
L3Voltage - L2Voltage
- L3Current
- L3Power
Active - L3Power
Apparent - L3Power
Factor - L3Power
Reactive - L3To
L1Voltage - L3Voltage
- LtoL
Average Voltage - LtoN
Average Current - LtoN
Average Voltage - Meter
Code - Meter code SDM72D-M-2 = 0089
- NetKwh
- Neutral
Current - Password
- Password must be in the range from 0 to 9999.
- Pulse
Width - Pulse width for the pulse output in milliseconds.
- Reset
Historical Data - Reset the historical saved data.
- Resettable
Export Energy Active - Resettable
Import Energy Active - Resettable
Total Energy Active - Resettable
Total Energy Reactive - Serial
Number - Software
Version - The software version showed on display
- Total
Energy Active - Total
Energy Reactive - Total
Line Current - Total
Power - Total
Power Apparent - Total
Power Factor - Total
Power Reactive
Enums§
- Backlight
Time - Back light time of the display in minutes. The time must be in the range from 1 to 120.
- Baud
Rate - Baud rate of the Modbus RTU protocol for the RS485 serial port. Supported rates are: 1200, 2400, 4800, 9600, 19200
- Error
- Represents errors that can occur within the SDM72 protocol logic.
- KPPA
- KPPA (Key Parameter Programming Authorization) write the correct password to get KPPA. This will be required to change the settings.
- Parity
AndStop Bit - Parity and stop bits of the Modbus RTU protocol for the RS485 serial port.
- Pulse
Constant - Pulse constant for the pulse output in impulses per kilo watt hour.
- Pulse
Energy Type - Pulse energy type for the pulse output. This is the value that the pulse output returns.
- System
Type - The system (wiring) type.
Traits§
- Modbus
Input Register - A trait for Modbus input registers.
- Modbus
Param - A trait for defining Modbus parameters.
Type Aliases§
- Word
- 16-bit value stored in Modbus register.