Modbus-Switch: Write to different addresses to switch ON or OFF

Hi there

To switch my Huawei Sun200 PV inverter on I have to write value “1” to modbus address 40200. To switch it off I have to write the same value to address 40201. How can I configure a Modbus-switch with different addresses for on state and off state?

Many thanks for any suggestion in advance