# US 2009/0240859 A1 · Automatic address setting system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0240859 A1
- Document ID: US20090240859A1
- Status: Published application
- Kind: A1
- Application number: 12/122,744
- Filed: 2008-05-19
- Published: 2009-09-24
- Earliest claimed: 2008-03-21
- Assignees: Hon Hai Precision Industry Co., Ltd.
- Inventors: MING-CHIH HSIEH
- Web page: https://patentgrep.com/patent/US20090240859A1

## CPC

- G05B 19/414: Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
- H04L 12/403: with centralised control, e.g. polling
- G05B 2219/33126: Identification of address connected module, processor
- G05B 2219/33342: Leader-follower, supervisor, front end and follower processor, hierarchical structure
- G05B 2219/34291: Programmable interface, pic, plc
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An automatic address setting system and method includes a master device, first and second slave devices. Each slave device includes a peripheral interface controller (PIC), a counter, and a pulse generator. When the first slave device is connected to the master device, the pulse generator generates a first pulse signal to the master device and the corresponding counter. The counter sends an address signal to the corresponding PIC as an identification address of the PIC. When the second slave device is subsequently connected to the master device, the pulse generator generates a second pulse signal to the master device, and the counters of the first and second slave devices. The counter sends an address signal to the corresponding PIC as an identification address of the PIC. The counter of the first slave device changes the identification address of the first slave device.

## Claims

### Claim 1

An automatic address setting system comprising:
a master device, a first slave device, and a second slave device;
wherein all of the slave devices comprise a peripheral interface controller (PIC), a counter connected to the PIC, and a pulse generator connected to the counter;
wherein when the first slave device is connected to the master device; the pulse generator of the first slave device is capable of generating a first pulse signal to both the master device and the counter of the first slave device; the counter of the first slave device is capable of receiving the first pulse signal and sending a first address signal to the PIC of the first slave device; when the second slave device is subsequently connected to the master device, the pulse generator of the second slave device is capable of generating a second pulse signal to the master device and the counters of the first and second slave devices; the counter of the second slave device is capable of receiving the second pulse signal and sending a second address signal to the PIC of the second slave device; the counter of the first slave device is capable of changing the identification address of the PIC of the first slave device in response to the second pulse signal.

### Claim 2 (depends on 1)

The automatic address setting system as claimed in claim 1, wherein the master device is a central processing unit.

### Claim 3 (depends on 1)

The automatic address setting system as claimed in claim 1, wherein each of the slave devices further comprises a set of light-emitting diodes (LEDs), each set of the LEDs receives the address signal from the counter and displays the address signal and the number of the LEDs in each set is equal to the bits of the address signal.

### Claim 4 (depends on 1)

The automatic address setting system as claimed in claim 1, wherein the counter of the first slave device is capable of changing the identification address of the PIC of the first slave device by adding one to the identification address.

### Claim 5

An automatic address setting system comprising:
a master device;
a first slave device comprising a first peripheral interface controller (PIC), a first counter connected to the first PIC, and a first pulse generator connected to the first counter; and
a second slave device comprising a second peripheral interface controller (PIC), a second counter connected to the second PIC, and a second pulse generator connected to the second counter;
wherein the first slave device is connected to the master device, the first pulse generator is capable of generating a first pulse signal and sending the first pulse signal to the master device and the first counter, the first counter is capable of sending a first address signal to the first PIC;
the second slave device is connected to the master device, the second pulse generator is capable of generating a second pulse signal and sending the second pulse signal to the master device, the second counter and the first counter; and
the first counter is capable of receiving the second pulse signal and sending an address change signal to the first PIC.

### Claim 6 (depends on 5)

The automatic address setting system as claimed in claim 5, wherein the master device is a central processing unit.

### Claim 7 (depends on 5)

The automatic address setting system as claimed in claim 5, wherein each of the slave devices further comprises a set of light-emitting diodes (LEDs), each set of the LEDs receives the address signal from the counter and displays the address signal, and the number of the LEDs in each set is equal to the bits of the address signal.

### Claim 8 (depends on 5)

The automatic address setting system as claimed in claim 5, wherein the address change signal comprises of the first address signal plus one integer.

### Claim 9 (depends on 5)

The automatic address setting system as claimed in claim 5, the system further comprising one or more additional slave devices and wherein the first counter is adapted to receive address change signals from the one or more additional salve devices.

### Claim 10 (depends on 9)

The automatic address setting system as claimed in claim 9, wherein the second counter is adapted to receive address change signals from the one or more additional slave devices.

### Claim 11

A method for automatically setting an address, the method comprising of:
providing:
a master device;
a first slave device comprising a first peripheral interface controller (PIC), a first counter connected to the first PIC, and a first pulse generator connected to the first counter; and
a second slave device comprising a second peripheral interface controller (PIC), a second counter connected to the second PIC, and a second pulse generator connected to the second counter;
wherein the first slave device is connected to the master device, the first pulse generator generates a first pulse signal and sends the first pulse signal to the master device and the first counter, the first counter sends a first address signal to the first PIC;
the second slave device is connected to the master device, the second pulse generator generates a second pulse signal and sends the second pulse signal to the master device, the second counter and the first counter; and
the first counter receives the second signal and sends an address change signal to the first PIC.

### Claim 12 (depends on 11)

The method as claimed in claim 11, wherein the master device is a central processing unit.

### Claim 13 (depends on 11)

The method as claimed in claim 11, wherein the first and second slave devices each comprise a set of light-emitting diodes (LEDs), each set of the LEDs receives the address signal from the counter and displays the address signal and the number of the LEDs in each set is equal to the bits of the address signal.

### Claim 14 (depends on 11)

The method as claimed in claim 11, wherein the counter adds one integer to the first address signal to create the address change signal.

### Claim 15 (depends on 11)

The method as claimed in claim 11, the method further comprising of providing one or more additional slave devices and wherein the first counter receives address change signals from the one or more additional salve devices.

### Claim 16 (depends on 15)

The method as claimed in claim 15, wherein the second counter receives address change signals from the one or more additional slave devices.
