can i configure my xbee module to transmit at some time and recieve at other times?

I guess its a duplicate of

The XBee modules are transceivers. You don’t need to program them to transmit or receive. You only need to feed them data and they will send/receive it automatically. Just think of the radio as nothing more than a half duplex Serial cable.