Modbus Write

Hi all,

Trying to write 3 integers to a modbus slave and read the status of 3 coils.Is this possible?
I have been playing around a little bit, and it seems I can only read from the slave?