Modbus tripping the relay

Hi, I am connecting via modbus and converting to 32bit I would like connect to


relay 1 and 2
Relay 1 at pin 18 and relay 2 pin16
I would trip the relay 1 when value is at 4 and when is at 7 relay 2 trip

Need help in this