Would there be any time delay required to switch from command mode to data mode while using AT commands?

Once you exit command mode indicated by the “ok” after issuing the ATCN command, the Digi XBee module is ready to send and receive data.