# US 2002/0131446 A1 · Method and system for device addressing on a computer network

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

- Number: US 2002/0131446 A1
- Document ID: US20020131446A1
- Status: Published application
- Kind: A1
- Application number: 09/808,547
- Filed: 2001-03-14
- Published: 2002-09-19
- Earliest claimed: 2001-03-14
- Assignees: Schneider Automation Inc.
- Inventors: Orlando P. Metcalf III
- Web page: https://patentgrep.com/patent/US20020131446A1

## CPC

- G05B 19/4186: {by protocol, e.g. MAP, TOP}
- H04L 9/40: Network security protocols
- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- G05B 2219/31122: Bridge between networks
- G05B 2219/31145: Ethernet
- G05B 2219/31151: Lan local area network
- G05B 2219/31186: TCP-IP internet protocol
- G05B 2219/33181: Isdn
- G05B 2219/34008: Asic application specific integrated circuit, single chip microcontroller
- G05B 2219/34024: Fpga fieldprogrammable gate arrays
- H04L 69/08: Protocols for interworking; Protocol conversion
- H04L 2212/00: Encapsulation of packets
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- 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)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

A method, system, and computer program product for communicating information over a communications network from a sending device to a target device is disclosed. The sending device determines a network location of a target device to which a first frame of information is to be sent. The first frame of information is formatted for a first communications protocol and includes a device address field configured to store a device identifier that corresponds to the target device. Then the sending device selects, based on the network location of the target device, an addressing scheme from among plural different addressing schemes. The device identifier is generated for the first frame on the basis of the selected addressing scheme. The sending device encapsulates the first frame of information in a second frame of information formatted for a second communications protocol and including a destination address field. Then the sending device generates a destination address for the second frame on the basis of the device identifier in the device address field of the first frame, stores the destination address in the destination address field of the second frame, and transmits the second frame of information over the communications network.

## Claims

### Claim 1

A method for communicating information over a communications network, comprising:
determining a network location of a target device to which a first frame of information is to be sent, the first frame of information being formatted for a first communications protocol and including a device address field configured to store a device identifier;
selecting, based on the network location of the target device, an addressing scheme from among plural different addressing schemes;
generating the device identifier for the first frame on the basis of the selected addressing scheme, the device identifier corresponding to the target device;
encapsulating the first frame of information in a second frame of information formatted for a second communications protocol, the second frame including a destination address field;
generating a destination address for the second frame on the basis of the device identifier in the device address field of the first frame;
storing the destination address in the destination address field of the second frame; and
transmitting the second frame of information over the communications network.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first frame of information comprises a MODBUS frame, and the second frame of information comprises an IP packet that encapsulates a TCP frame encapsulating the MODBUS frame.

### Claim 3 (depends on 1)

The method of claim 1, further comprising encapsulating the second frame in an Ethernet frame prior to transmitting the second frame.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of determining the network location comprises determining that the target device is on a local network; and
wherein the step of generating the destination address comprises substituting the device identifier for at least a portion of the destination address in the destination address field.

### Claim 5 (depends on 1)

The method of claim 1, wherein the step of determining the network location comprises determining that the target device is coupled to a subnet gateway of a subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of the subnet gateway; and
wherein the step of generating the device identifier comprises adding the subnet identifier to the product of the port identifier and a predetermined constant.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving the second frame at the subnet gateway;
dividing the device identifier by the predetermined constant to generate a quotient and a remainder;
determining the port identifier from the quotient;
determining the subnet identifier from the remainder; and
routing the first frame to the target device based on the port identifier and the subnet identifier.

### Claim 7 (depends on 1)

The method of claim 1, wherein the step of determining the network location comprises determining that the target device is on a remote network; and
wherein the step of generating the device identifier comprises determining the device identifier from an address table entry that uniquely identifies the target device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the device identifier has a numeric value in one of plural ranges, each of the plural ranges corresponding to one of the plural addressing schemes.

### Claim 9 (depends on 1)

The method of claim 1, wherein the step of determining comprises determining if the target device is (a) on a local network and not on a subnet, (b) on a remote network, or (c) is on a local subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of a subnet gateway, the port coupling the target device to the subnet gateway;
wherein the step of generating the device identifier comprises:
adding the subnet identifier to the product of the port identifier and a predetermined constant, if the target device is on the subnet; and
determining the device identifier from an address table entry that uniquely identifies the destination address and the target device, if the target device is on the remote network; and
wherein the step of generating the destination address comprises substituting the device identifier for at least a portion of the destination address in the destination address field, if the target device is on the local network and not on the subnet.

### Claim 10

A computer readable medium containing program instructions for execution on a computer system, which when executed by the computer system, cause the computer system to perform the method steps for communicating information over a communications network, said method comprising the steps of:
determining a network location of a target device to which a first frame of information is to be sent, the first frame of information being formatted for a first communications protocol and including a device address field configured to store a device identifier;
selecting, based on the network location of the target device, an addressing scheme from among plural different addressing schemes;
generating the device identifier for the first frame on the basis of the selected addressing scheme, the device identifier corresponding to the target device;
encapsulating the first frame of information in a second frame of information formatted for a second communications protocol, the second frame including a destination address field;
generating a destination address for the second frame on the basis of the device identifier in the device address field of the first frame;
storing the destination address in the destination address field of the second frame; and
transmitting the second frame of information over the communications network.

### Claim 11 (depends on 10)

The computer readable medium of claim 10, wherein the first frame of information comprises a MODBUS frame, and the second frame of information comprises an IP packet that encapsulates a TCP frame encapsulating the MODBUS frame.

### Claim 12 (depends on 10)

The computer readable medium of claim 10, wherein the computer readable medium further comprises the step of encapsulating the second frame in an Ethernet frame prior to transmitting the second frame.

### Claim 13 (depends on 10)

The computer readable medium of claim 10, wherein the step of determining the network location comprises determining that the target device is on a local network; and
wherein the step of generating the destination address comprises substituting the device identifier for at least a portion of the destination address in the destination address field.

### Claim 14 (depends on 10)

The computer readable medium of claim 10, wherein the step of determining the network location comprises determining that the target device is coupled to a subnet gateway of a subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of the subnet gateway; and
wherein the step of generating the device identifier comprises adding the subnet identifier to the product of the port identifier and a predetermined constant.

### Claim 15 (depends on 14)

The computer readable medium of claim 14, wherein the computer readable medium further comprises the step of:
receiving the second frame at the subnet gateway;
dividing the device identifier by the predetermined constant to generate a quotient and a remainder;
determining the port identifier from the quotient;
determining the subnet identifier from the remainder; and
routing the first frame to the target device based on the port identifier and the subnet identifier.

### Claim 16 (depends on 10)

The computer readable medium of claim 10, wherein the step of determining the network location comprises determining that the target device is on a remote network; and
wherein the step of generating the device identifier comprises determining the device identifier from an address table entry that uniquely identifies the target device.

### Claim 17 (depends on 10)

The computer readable medium of claim 10, wherein the device identifier has a numeric value in one of plural ranges, each of the plural ranges corresponding to one of the plural addressing schemes.

### Claim 18 (depends on 10)

The computer readable medium of claim 10, wherein the step of determining comprises determining if the target device is (a) on a local network and not on a subnet, (b) on a remote network, or (c) is on a local subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of a subnet gateway, the port coupling the target device to the subnet gateway;
wherein the step of generating the device identifier comprises:
adding the subnet identifier to the product of the port identifier and a predetermined constant, if the target device is on the subnet; and
determining the device identifier from an address table entry that uniquely identifies the destination address and the target device, if the target device is on the remote network; and
wherein the step of generating the destination address comprises substituting the device identifier for at least a portion of the destination address in the destination address field, if the target device is on the local network and not on the subnet.

### Claim 19

A system for communicating information over a communications network, comprising:
means for determining a network location of a target device to which a first frame of information is to be sent, the first frame of information being formatted for a first communications protocol and including a device address field configured to store a device identifier;
means for selecting, based on the network location of the target device, an addressing scheme from among plural different addressing schemes;
means for generating the device identifier for the first frame on the basis of the selected addressing scheme, the device identifier corresponding to the target device;
means for encapsulating the first frame of information in a second frame of information formatted for a second communications protocol, the second frame including a destination address field;
means for generating a destination address for the second frame on the basis of the device identifier in the device address field of the first frame;
means for storing the destination address in the destination address field of the second frame; and
means for transmitting the second frame of information over the communications network.

### Claim 20 (depends on 19)

The system of claim 19, wherein the first frame of information comprises a MODBUS frame, and the second frame of information comprises an IP packet that encapsulates a TCP frame encapsulating the MODBUS frame.

### Claim 21 (depends on 19)

The system of claim 19, further comprising encapsulating the second frame in an Ethernet frame prior to transmitting the second frame.

### Claim 22 (depends on 19)

The system of claim 19, wherein the means for determining the network location comprises means for determining that the target device is on a local network; and
wherein the means for generating the destination address comprises means for substituting the device identifier for at least a portion of the destination address in the destination address field.

### Claim 23 (depends on 19)

The system of claim 19, wherein the means for determining the network location comprises means for determining that the target device is coupled to a subnet gateway of a subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of the subnet gateway; and
wherein the means for generating the device identifier comprises means for adding the subnet identifier to the product of the port identifier and a predetermined constant.

### Claim 24 (depends on 23)

The system of claim 23, further comprising:
means for receiving the second frame at the subnet gateway;
means for dividing the device identifier by the predetermined constant to generate a quotient and a remainder;
means for determining the port identifier from the quotient;
means for determining the subnet identifier from the remainder; and
means for routing the first frame to the target device based on the port identifier and the subnet identifier.

### Claim 25 (depends on 23)

The system of claim 23, wherein the subnet gateway comprises a bridge multiplexer.

### Claim 26 (depends on 19)

The system of claim 19, wherein the means for determining the network location comprises means for determining that the target device is on a remote network; and
wherein the means for generating the device identifier comprises means for determining the device identifier from an address table entry that uniquely identifies the target device.

### Claim 27 (depends on 19)

The system of claim 19, wherein the device identifier has a numeric value in one of plural ranges, each of the plural ranges corresponding to one of the plural addressing schemes.

### Claim 28 (depends on 19)

The system of claim 19, wherein the target device is a programmable logic controller and the system further comprises the programmable logic controller.

### Claim 29 (depends on 19)

The system of claim 19, wherein means for determining comprises means for determining if the target device is (a) on a local network and not on a subnet, (b) on a remote network, or (c) is on a local subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of a subnet gateway, the port coupling the target device to the subnet gateway;
wherein the means for generating the device identifier comprises:
means for adding the subnet identifier to the product of the port identifier and a predetermined constant, if the target device is on the subnet; and
means for determining the device identifier from an address table entry that uniquely identifies the destination address and the target device, if the target device is on the remote network; and
wherein the means for generating the destination address comprises means for substituting the device identifier for at least a portion of the destination address in the destination address field, if the target device is on the local network and not on the subnet.

### Claim 30

A system for communicating information over a communications network, comprising:
a memory having embodied therein information of the communications network and network protocols;
a processor in communication with the memory and configured to:
determine a network location of a target device to which a first frame of information is to be sent, the first frame of information being formatted for a first communications protocol and including a device address field configured to store a device identifier;
select, based on the network location of the target device, an addressing scheme from among plural different addressing schemes;
generate the device identifier for the first frame on the basis of the selected addressing scheme, the device identifier corresponding to the target device;
encapsulate the first frame of information in a second frame of information formatted for a second communications protocol, the second frame including a destination address field;
generate a destination address for the second frame on the basis of the device identifier in the device address field of the first frame;
store the destination address in the destination address field of the second frame; and
transmitting the second frame of information over the communications network.

### Claim 31 (depends on 30)

The system of claim 30, wherein the first frame of information comprises a MODBUS frame, and the second frame of information comprises an IP packet that encapsulates a TCP frame encapsulating the MODBUS frame.

### Claim 32 (depends on 30)

The system of claim 30, further comprising encapsulating the second frame in an Ethernet frame prior to transmitting the second frame.

### Claim 33 (depends on 30)

The system of claim 30, wherein the processor is further configured to substitute the device identifier for at least a portion of the destination address in the destination address field when the target device is on a local network.

### Claim 34 (depends on 30)

The system of claim 30, wherein, the processor is configured to generate the device identifier by adding a subnet identifier to the product of a port identifier and a predetermined constant when the target device is coupled to a subnet gateway of a subnet, the target device being identified on the subnet by the subnet identifier and by the port identifier, the subnet identifier corresponding to the subnet and the port identifier corresponding to a port of the subnet gateway.

### Claim 35 (depends on 34)

The system of claim 34, wherein the system further comprises the subnet gateway and the subnet gateway is configured to:
receive the second frame at the subnet gateway;
divide the device identifier by the predetermined constant to generate a quotient and a remainder;
determine the port identifier from the quotient;
determine the subnet identifier from the remainder; and
rout the first frame to the target device based on the port identifier and the subnet identifier.

### Claim 36 (depends on 34)

The system of claim 34, wherein the system further comprises the subnet gateway and the subnet gateway comprises a bridge multiplexer.

### Claim 37 (depends on 30)

The system of claim 30, wherein the processor is further configured to determining the device identifier from an address table entry that uniquely identifies the target device when the target device is on a remote network.

### Claim 38 (depends on 30)

The system of claim 30, wherein the device identifier has a numeric value in one of plural ranges, each of the plural ranges corresponding to one of the plural addressing schemes.

### Claim 39 (depends on 30)

The system of claim 30, wherein the system further comprises the target device and the target device comprises a programmable logic controller.

### Claim 40 (depends on 30)

The system of claim 30, wherein the processor is further configured to:
determine if the target device is (a) on a local network and not on a subnet, (b) on a remote network, or (c) is on a local subnet, the target device being identified on the subnet by a subnet identifier corresponding to the target device and by a port identifier corresponding to a port of a subnet gateway, the port coupling the target device to the subnet gateway;
add the subnet identifier to the product of the port identifier and a predetermined constant, if the target device is on the subnet;
determine the device identifier from an address table entry that uniquely identifies the destination address and the target device, if the target device is on the remote network; and
generate the destination address by substituting the device identifier for at least a portion of the destination address in the destination address field, if the target device is on the local network and not on the subnet.
