Inputs and Outputs via Modbus with Wago 750-352 / Openhab 2

Writing coils is always done using FC5

Add another slave

tcp.slave1.connection=xxx.xxx.xxx.xxx:502
tcp.slave1.type=discrete
...

tcp.slave2out.connection=xxx.xxx.xxx.xxx:502
tcp.slave2.type=coil
tcp.slave2.start=0
tcp.slave2.length=4

tcp.slave2in.connection=xxx.xxx.xxx.xxx:502
tcp.slave2.type=coil
tcp.slave2.start=512
tcp.slave2.length=4

Then you can configure coil tems

Switch mycoil "my coil" <someicon> {modbus="<[slave2in:0],>[slave2out:0]"}

You will need to install the latest binding if you are using OH2 stable