Modbus switch+ sensor

any one can provide clear example of switch which is linked to serial modbus adapter?

There are many thousands of Modbus devices. You’ll need to offer a bit more of a clue.

i simply have modbus relay boards…

it have address which i define … and need to take coils data and translate into switch …

Alright, this thread is three years old now, with much advice already offered. Have far have you got with this now? What version of openHAB do you have installed now?

i used home assistance till now…

so now back to openhub need to get it working

Well let’s circle back to two years ago. How far have you got? Have you installed openHAB, what version? What host system? Have you installed Modbus binding? Do you intend to use file or GUI setting up?