When multiple batteries are connected to the same CAN bus, only one of them can act as the “master“. The algorithm automatically designates one battery as the master, while the others are assigned successive “slave IDs“.
If the master battery becomes inactive or is disconnected for 5 seconds, one of the slave batteries will assume the master role. In this case, the remaining slaves may receive new slave IDs.
When a master battery is added to a CAN bus that already has another master, the two master batteries will compete to determine which becomes the master and which becomes the slave. The final slave battery will claim either a successive or an empty slave ID.