Input as zero-based index number, e.g. in place of 400001 (first holding register), use the address “0”. Must be between (poller start) and (poller start + poller length - 1) (inclusive).
The Modbus protocol itself has the inherent limitation that the count of bytes in the frame must itself be held in a single byte i.e max 255 bytes = 127 registers
It’s a timeout error as you propably can see. Check all your connection parameters and make sure you server is up and running. You can use some 3rd party modbus tool to do this test.
After all that if you still got problems I would suggest you to open a new thread with much more detailed info about your configuration. This binding is now considered stable and this thread was more about testing and developing.
Hope this is the right place to ask but having minor problem using OH2 PaperUI to configure ModBus Serial Slave (market:binding-3528471 - 1.0) . It will only allow me to select ttyUSB0 but I have two serial devices and both are listed in /dev ttyUSB0 and ttyUSB1. The same problem arises in the RegoHeatPump binding that is currently running on ttyUSB0.
Tried editing line in PaperUI but it was having none of that. Tried editing the json file but the PaperUI kept over writing it. Tried editing the 99-com.rules as suggested in the serial binding documentation but no luck with that appearing as an option either.
Any hints would be much appreciated.
I think this problem has almost nothing to do with modbus binding. Why don’t you open a new thread with detailed info what you have done so far? I can almost guarantee that you will get much more help that way.
Hi, i have actually also a problem with my Wago 750-881 plc.
im using since years a program on my plc that controls the lights in my house.
for example the program uses the following modbus variable to switch the light using a signal from Modbus (actually IP-Symcon) fbLichtWohnzimmerLinks AT %MX0.3 :BOOL; ( *ModBus 12291* )
no i want to switch this variable by using openhab2 version 2.3 (the new modbus binding)
I will disable the Eclipse Marketplace download links as now one should use the official snapshot version. When openHAB 2.4 is out, the new modbus binding will be included as part of that as well. See documentation (“Installation guide”) for more information.
Please open new threads for modbus binding related issues.
I’m not sure if its right moment to do such thing. I updated myself to OpenHab 2.3.0 (yes, I’m behind schedule) and I can’t install modbus binding. It is non existent in marketplace and not yet available in features.
Set up separate Things for your read and write paths, the Input register(s) are by definition read-only, but you will have to configure this/these holding regs as write-only (no polling)
Combine them in your Item bindings by simply assigning two channels.