how to send digital sensor output through xbee?

i have three series 2 xbees… one should act as a co ordinator n other two as router… the co ordinator is connected to a pc through explorer board… two routers r mounted on arduino mega2560s via xbee shield… an imu is connected to each arduino whose outputs r to be sent to the co ordinator…
baud rate is 9600bps…what r the configurations n connections n mode required…?

Rd da docs - Section 8: Xbee Analog and Digital IO Lines.

You need to set the IR setting. If your coordinator is setup for API mode, then you’ll get a nice periodic update which includes the MAC address of the source.