Dear Chetan,
I don't understand your question. According to Modbus protocol specification there are 4 register fields: Holding Coils (you can write and read boolean values there), Discrete Inputs (you can only read boolean values), Holding Registers (16 bits register to write and read) and Input register(16 bits registers for read). For every field in Modbus protocol used specific function commands.
Best regards,
Ruslan