read_raw_registers
Read arbitrary Sigenergy Modbus registers by address when a value isn't in the built-in map, with options for count, device ID, register type, and optional decoding.
Instructions
Read arbitrary registers by address, for registers not in the built-in map.
Args: address: Start register address as given in the Sigenergy Modbus protocol (e.g. 30014). count: Number of 16-bit words to read (1-125). device_id: Modbus device id. Defaults to the plant id (247). register_type: "input" (function 0x04) or "holding" (0x03). Defaults to input for 3xxxx, holding otherwise. data_type: Optionally decode the words as this type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| address | Yes | ||
| data_type | No | ||
| device_id | No | ||
| register_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||