Patent ID: 7730245

Claim:
A system for setting addresses in a data communication system comprising: a master device comprising a broadcasting module, a reading module, a responding module, an address assigning module, and a first judging module; a plurality of slave devices, each of the slave devices comprising a performing module and a requesting module, each slave device has a unique serial number; and a bus comprising a timing module, the master device connected to the slave devices via the bus, the broadcasting module of the master device configured to send a message to the slave devices, the performing module of each slave device configured to put each slave device be in an address setting mode when each slave device receives the message from the broadcasting module, the reading module of the master device configured to read a time assignment for each slave device from the timing module of the bus, the requesting module of each slave device configured to send an address request during the time window correspondingly, the responding module of the master module configured to respond to the address request from each slave device, the address assigning module configured to assign an address to each slave device, the first judging module configured to check if all the time windows for the slave devices have elapsed, wherein the timing module assigns the time assignment for each slave device according to the serial number of each slave device.