Xbee Network

Hi guys,

I´m new in programming Xbee networks.
I want to create a Xbee network with 3 modules (1 coordinator and 2 end devices).
The problem is that i have this network several times.

Is it posible that i can set the end devices adresses in my arduino program.
For example:
Network A with coordinator A1 and end-devices A2 and A3
Network B with coordinator B1 and end-devices B2 and B3

Now could it be that the user switches on A1 B2 and B3, these 3 should work together, build the network A and the other 3 ones should build network B.

Thank you for your help

The problem is that i have this network several times.

Why is that a problem? Each trio of XBees could have a different PAN ID, and no conflicts would occur.

Is it posible that i can set the end devices adresses in my arduino program.

No. You digi sets the address. You get the address using X-CTU. You can USE the addresses in your sketch.

Now could it be that the user switches on A1 B2 and B3, these 3 should work together,

I don't see that they should. A1, A2, and A3 should work together, and know nothing about B1, B2, and B3.

I don't see that they should. A1, A2, and A3 should work together, and know nothing about B1, B2, and B3.

But i want to realize it, that when one end-device has no more battery voltage or is damaged, that i can use one from a different network.

No. You digi sets the address. You get the address using X-CTU. You can USE the addresses in your sketch.

So i can´t set the ID with for example 4 tip-switches and the module get one of the ID's which i can set with the tip-switches?