# US 2016/0283427 A1 · Method and System for Defining Slot Addresses

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

- Number: US 2016/0283427 A1
- Document ID: US20160283427A1
- Status: Published application
- Kind: A1
- Application number: 15/079,873
- Filed: 2016-03-24
- Published: 2016-09-29
- Earliest claimed: 2015-03-27
- Assignees: Rockwell Automation Technologies, Inc.
- Applicants: Rockwell Automation Technologies, Inc.
- Inventors: Chandresh R. Chaudhari; Gregory A. Majcher; Robert J. Kretschmann; Sivaram Balasubramania; Kendal R. Harris; Edward C. Korsberg
- Web page: https://patentgrep.com/patent/US20160283427A1

## CPC

- G06F 13/404: {with address mapping}
- G05B 19/0423: {Input/output}
- G06F 13/4068: {Electrical coupling}
- G06F 13/4247: {on a daisy chain bus}
- H04L 61/5038: for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
- G05B 2219/21069: At start up check I-O and store addresses in secure device
- G05B 2219/21081: At start up, check I-O configuration and store addresses in ram
- G05B 2219/21091: First module initializes its address, then signals next to do same, serial
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

A method and system for assigning slot addresses to modules in an industrial control system is disclosed. The modules are set up in a daisy chain topology. On power-up, a first module in the chain reads its slot address from a user configurable input or sets its slot address to a default value. The first module communicates to its immediate right neighbor using a special, one-hop message. The neighboring modules communicate to receive each other's information. The first module then sets an enable signal between the modules and sends a slot number to the neighbor in a firmware message. The neighbor checks if the enable signal is set and verifies that the slot number is a valid slot number. If so, then the neighboring module accepts the slot and repeats the same procedure to its next immediate neighbor, and so on until the last module.

## Claims

### Claim 1

A method for assigning addresses to a plurality of modules in an industrial control system, the method comprising the steps of:
assigning a first address to a first module in a bank of modules, the first module selected from the plurality of modules, wherein each of the plurality of modules is connected in a sequence for communication between each of the modules and the first module is located at a first end of the sequence and assigns the first address to itself;
generating a second address with the first module, the second address being different than the first address;
transmitting the second address to a second module located in the bank, the second module selected from the plurality of modules;
verifying the second address received by the second module, wherein the verification is performed by the second module;
assigning the second address to the second module with the second module when the second module has verified the second address; and
repeating the steps of generating the second address, transmitting the second address, verifying the second address, and assigning the second address with each of the remaining modules in the bank, wherein the second address is replaced by a unique address for each of the remaining modules until each of the plurality of modules in the bank receives one of the unique addresses.

### Claim 2 (depends on 1)

The method of claim 1 wherein each of the plurality of modules within the bank is connected in a daisy chain and wherein prior to the step of transmitting the second address to the second module, the method includes the steps of:
generating a one hop message in the first module;
transmitting the one hop message only to the module connected adjacent to the first module along the daisy chain, wherein the adjacent module in the daisy chain does not yet have an address assigned; and
transmitting a message from the adjacent module responsive to the one hop message indicating the presence of the adjacent module.

### Claim 3 (depends on 2)

The method of claim 2 wherein an enable line is connected between each of the adjacent modules along the daisy chain, the method further comprising the step of:
sending an enable signal on the enable line when the unique address is transmitted between each of the adjacent modules, wherein the step of verifying the unique address at each module includes receiving the enable signal from the adjacent module.

### Claim 4 (depends on 1)

The method of claim 1 further comprising the steps of:
generating a bank size message with an end module, the end module located furthest along the bank from the first module and wherein the bank size message includes a number of modules located in the bank; and
transmitting the bank size message from the end module to the first module after the end module has assigned itself one of the unique addresses.

### Claim 5 (depends on 4)

The method of claim 4 further comprising the steps of:
receiving the bank size message at the first module;
verifying that the unique address of each of the plurality of modules is different via the first module; and
transmitting a start automatic operation message from the first module to each of the other modules in the bank when the first module has verified that the unique address of each of the plurality of modules is different.

### Claim 6 (depends on 1)

The method of claim 1 wherein the industrial control system includes at least two banks and each bank includes a plurality of modules, wherein one of the plurality of modules in each bank is selected as the first module for the bank.

### Claim 7 (depends on 6)

The method of claim 6 further comprising the steps of:
transmitting the unique addresses assigned within a first bank from the first module for the first bank to the first module of a second bank; and
verifying that the unique addresses assigned within the first bank are different than the unique addresses assigned to the second bank.

### Claim 8

A method for assigning addresses to a plurality of modules in an industrial control system, the method comprising the steps of:
assigning a first address to a first module, selected from the plurality of modules, wherein the first module is located in a bank and assigns the first address to itself and wherein the plurality of modules are connected in a sequential manner along the bank and an end module located furthest along the bank from the first module is connected back to the first module;
generating a binary pattern in the first module for transmission to each of the plurality of modules;
transmitting the binary pattern one bit at a time to each of the plurality modules;
measuring a duration in each of the plurality of modules for which it takes the module to receive all bits of the binary pattern;
transmitting the first address from the first module to each of the other modules; and
assigning a unique address to each of the other modules, wherein each of the other modules determines the unique address as a function of the duration measured in the corresponding module and of the first address.

### Claim 9 (depends on 8)

The method of claim 8 further comprising the step of
transmitting a clock signal from the first module while transmitting the binary pattern one bit at a time; and
receiving the clock signal at each of the other modules, wherein the clock signal drives a flip-flop within each of the modules to shift the binary pattern through the module one bit at a time.

### Claim 10 (depends on 9)

The method of claim 9 wherein:
the first module transmits the binary pattern from a first output and a second output in tandem,
the first module transmits the clock signal from a third output and a fourth output in tandem,
each of the other modules receives the binary pattern at a first input and a second input,
each of the other modules receives the clock signal at a third input and a fourth input,
each of the other modules include a first flip-flop and a second flip-flop,
the first and third input of each of the other modules are connected to the first flip-flop, and
the second and fourth input of each of the other modules are connected to the second flip-flop.

### Claim 11 (depends on 8)

The method of claim 8 further comprising the steps of:
transmitting the binary pattern back to the first module after it has been transmitted to each of the plurality of modules;
generating a slot calculate message in the first module upon receipt of the binary pattern; and
transmitting the slot calculate message to each of the other modules, wherein the step of assigning the unique address to each of the other modules is performed after each of the other modules receives the slot calculate message.

### Claim 12 (depends on 8)

The method of claim 8 further comprising the steps of:
transmitting each unique address from the other modules to the first module; and
verifying at the first module that each of the other modules generated a different unique address.

### Claim 13 (depends on 8)

The method of claim 8 wherein the industrial control system includes at least two banks and each bank includes a plurality of modules, wherein one of the plurality of modules in each bank is selected as the first module for the bank.

### Claim 14

A system for assigning addresses to a plurality of modules in an industrial control system, the system comprising:
a first module, selected from the plurality of modules, the first module includes:
at least one electrical connector;
a slot assigner executable on the first module to manage automatic assignment of a plurality of slot addresses, wherein a first slot address, selected from the plurality of slot addresses, is assigned to the first module; and
a plurality of additional modules, each additional module selected from the plurality of modules, wherein the first module and each additional module define one bank of modules, and wherein each of the additional modules includes:
a first electrical connector operatively connected to one of the first module and another of the additional modules; and
a second electrical connector operatively connected to one of another of the additional modules and an endcap, wherein the first module communicates with each of the plurality of additional modules to verify that the first module and each of the plurality of additional modules is assigned one of the plurality of slot addresses.

### Claim 15 (depends on 14)

The system of claim 14 wherein the at least one electrical connector of the first module, the first electrical connector of each additional module, and the second electrical connector of each additional module is configured to transmit a plurality of data messages, wherein the slot assigner is further executable to:
generate a neighbor discovery message;
transmit the neighbor discovery message from the at least one electrical connector to an adjacent module, wherein the adjacent module is selected form one of the plurality of additional modules and the first electrical connector of the adjacent module is operatively connected to the at least one electrical connector;
receive a message from the adjacent module identifying the presence of the adjacent module;
generate a second slot address with the first module, the second slot address being different than the first slot address; and
transmit a slot assignment message including the second slot address to the adjacent module.

### Claim 16 (depends on 15)

The system of claim 15 wherein the slot assigner is further executable to:
generate an enable signal responsive to receiving the message from the adjacent module identifying the presence of the adjacent module; and
output the enable signal to the adjacent module via a logical connection between the first module and the adjacent module.

### Claim 17 (depends on 14)

The system of claim 14 wherein:
the at least one electrical connector of the first module, the first electrical connector of each additional module, and the second electrical connector of each additional module is configured to transmit a binary pattern and a clock signal;
each of the plurality of additional modules further includes a flip-flop operatively connected in series between the first electrical connector and the second electrical connector;
the slot assigner is further executable to:
transmit the binary pattern and the clock signal from the at least one electrical connector to an adjacent module, wherein the adjacent module is selected form one of the plurality of additional modules and the first electrical connector of the adjacent module is operatively connected to the at least one electrical connector, and
receive the binary pattern from one of the plurality of additional modules located furthest from the first module along the bank of modules; and
each of the plurality of additional modules is operable to store a duration of time between starting to receive the clock signal and receiving the complete binary pattern.

### Claim 18 (depends on 17)

The system of claim 17 wherein:
the slot assigner is further executable to:
generate a slot calculate message in which the first slot address is included, and
transmit the slot calculate message to each of the plurality of additional modules;
each of the plurality of additional modules determines a unique slot address as a function of the first slot address and the duration of time between starting to receive the clock signal and receiving the complete binary pattern; and
the unique slot address is one of the plurality of slot addresses.

### Claim 19 (depends on 14)

The system of claim 14 wherein the first module is a first bank master module, the system further comprising:
a second bank of modules, the second bank of modules including:
a second bank master module; and
a plurality of additional modules.

### Claim 20 (depends on 19)

The system of claim 19 wherein the first and the second bank master module each includes a manual slot identification selector.
