I’ve created Openhab 2 binding to handle modbus tcp connections. It use 2 bridges - one for tcp connection defininition and another one for register pool definition. Something like this:
Handles switch, contact and number items. I’ve made a quick check and it works with coils and holding registers. What are my next steps to make it available for wider audience (I am not a big fan of gitlab)