01.09.2026, 09:21
I changed my configuration and now I only get this error
|
Huawei - Input Register not working
|
|
01.09.2026, 10:10
You still have connection problem here. It looks like this inverter accepts only one connection so everything else must be disabled. Send me your backup to PM, I will check if anything else is taking the slot.
------------------------------
Ctrl+F5
01.09.2026, 11:36
Did you just remove the device from modbus mapper? I can see errors from today but there is no device there. If this is the case then reboot inverter again and see what the script says now.
------------------------------
Ctrl+F5
03.09.2026, 04:24
(01.09.2026, 11:36)Daniel Wrote: Did you just remove the device from modbus mapper? I can see errors from today but there is no device there. If this is the case then reboot inverter again and see what the script says now. Yes, I removed it to test the script. I did reboot the inverter and I still get the same error. The strange thing, is that when I add the device, I get readings from all registers and still I can not write to 40120 & 40125
03.09.2026, 08:39
(01.09.2026, 11:36)Daniel Wrote: Did you just remove the device from modbus mapper? I can see errors from today but there is no device there. If this is the case then reboot inverter again and see what the script says now. I suspect that the issue is with the Inverter itself. Can you tell me what changes shall I do to the script in order to test it over RS485?
03.09.2026, 10:31
How is Modbus TCP configured on your inverter? Maybe there's some setting that forbids writing.
03.09.2026, 11:23
03.09.2026, 11:42
Enable and configure RTU 1 in Modbus tab. Use Read test to check the communication first. Then try this script, change slave id (2) as needed:
Code: mbproxy = require('mbproxy')
mb = mbproxy.new()
mb:setslave(2)
res, err = mb:writeregisters(40120, 300)
if res then
log('write ok')
else
log('write failed', err)
end |
|
« Next Oldest | Next Newest »
|