Long time learner - first time poster here
I've managed to write up a number of flows that communicate successfully in reading from my Fronius Primo 501 using both API v1 as well as MODBUS reads, but I can't seem to successfully write a change into the inverter. I'm aiming to control the WMaxLimPct register #40243 (== MODBUS address 40242), in conjunction with the WMaxLimPct_SF scale factor (Register #40261 which is at MODBUS address 40260).
I want to be able to turn up or turn down the power output to/from 100%, 50% and 2%.
Although I've got my maths right, when I issue the write register MODBUS command, using fc 0x06, value of '5000' written into a buffer.alloc(2) as a writeUInt16BE(), the response message I get from the Fronius, in the debug node is as per the picture attached.
Any hints to what logging the Fronius is talking about? I've checked all debug output from each node, can't find a thing....
thanks in advance for your help