Logic Machine Forum
MODBUS - Can't write on registers - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: MODBUS - Can't write on registers (/showthread.php?tid=4858)



MODBUS - Can't write on registers - gdimaria - 03.07.2023

Hi,

I created the attached modbus profiles for a fancoil. I CAN READ but I CAN'T WRITE on the holding registers (from 26301 to 26327).
What is wrong?

Thanks

Peppe


RE: MODBUS - Can't write on registers - admin - 04.07.2023

Incorrect spelling: not writeble but writable


RE: MODBUS - Can't write on registers - gdimaria - 04.07.2023

Ooops.... that's embarassing! Smile
i did the fix, but i still can't write to the logs.
Yet with a modbus tool software I can write in the registers, but in the 0x10 mode: write multiple registers, as reported in the pdf manual.


RE: MODBUS - Can't write on registers - admin - 04.07.2023

See this: https://forum.logicmachine.net/showthread.php?tid=4814&highlight=write_multiple


RE: MODBUS - Can't write on registers - gdimaria - 04.07.2023

The script in the post - I suppose should be put as init script - refers to a tcp modbus connection... I have an RTU. re
And how I can map the registers to knx addresses?


RE: MODBUS - Can't write on registers - Daniel - 04.07.2023

The suggestions is to use "write_multiple": 1 in your profile


RE: MODBUS - Can't write on registers - gdimaria - 04.07.2023

(04.07.2023, 08:20)Daniel Wrote: The suggestions is to use "write_multiple": 1 in your profile

OK Thanks!