validate_write
Checks a planned Modbus write against Wattsonic inverter documentation without writing to a device, returning ok, warnings, or rejection with reasons.
Instructions
Check a planned write against the documentation WITHOUT writing anything: access (read-only points are rejected), documented range, scale, single-register requirement (0x06 only for 11300-11303, 11320-11324, 11330, 11057, 11254, commands), SunSpec writable range, gate and veto preconditions, side effects (e.g. 0x5A5A on 12026) and the registers to read back afterwards. Returns verdict ok / ok_with_warnings / reject with reasons. Guidance only; this server never connects to a device and never writes registers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to write: raw register value by default (e.g. 700 for 70.0 % on 11321, -1000 for -10.00 kW on 11045). | |
| address | Yes | Register address ('11321', '40075') or name / SunSpec point. | |
| function_code | No | '0x06' (write single register) or '0x10' (write multiple). | 0x06 |
| value_is_engineering | No | True if value is in engineering units (kW, %, ...) and must be converted with the register scale. |