# US 2001/0018712 A1 · Messaging application layer (modbus) over ethernet to transport layer (TCP) communications method and apparatus for a modular terminal input/output system

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

- Number: US 2001/0018712 A1
- Document ID: US20010018712A1
- Status: Published application
- Kind: A1
- Application number: 09/804,362
- Filed: 2001-03-12
- Published: 2001-08-30
- Earliest claimed: 1998-10-06
- Assignees: Schneider Automation Inc.
- Inventors: Andrew G. Swales; A. Dean Papadopoulos; Allan Tanzman
- Web page: https://patentgrep.com/patent/US20010018712A1

## CPC

- H04L 12/403: with centralised control, e.g. polling
- G05B 19/4185: {characterised by the network communication}
- H04L 12/40013: {Details regarding a bus controller}
- H04L 12/413: with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L 2012/40215: {Controller Area Network CAN}
- H04L 2012/40228: {Modbus}
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

A communications adapter is provided for interfacing between a master device and an I/O device (body) having an output and/or an input. In the case of the I/O body having an output, the adapter has a TCP port for coupling to the master device via a transmission path for receiving a request message. The adapter also has a connector for operable coupling to the I/O device for receiving the output of the I/O device. The adapter further has an interface circuit operably connected to the TCP port and the connector for transmitting a response message over the transmission path in response to the request message, the response message correlating to the output received from the I/O device. The request message and the response message is limited to a length that is less than a TCP transaction length and/or a maximum transmission unit limit, or both, depending on the embodiment of the present invention. A method is also provided to create a connection between a master device and an I/O device having an output and/or and input. In the case of the method for providing a connection between a master device and an I/O device having an output, the method includes receiving over a transmission path a request message on a preregistered TCP port selected from a plurality of TCP ports. The method also includes receiving the output from the I/O device. The method further includes transmitting a response message over the transmission path in response to the request message, the response message correlating to the output of the I/O device. The request message and/or the response message is limited to a length that is less than both a TCP transaction length and/or a maximum transmission unit limit, or both, depending on the embodiment of the present invention.

## Claims

### Claim 1

A method for optimizing communication on a network comprising a master device and a slave device, each device utilizing TCP and IP protocols, the method comprising the steps of:
transmitting a request message from the master device, the request message having a first part;
transmitting a response message from the slave device, the response message being responsive to the first part of the request message; and,
limiting the request message and the response message to a length that is less than both a TCP transaction length and a maximum transmission unit.

### Claim 2 (depends on 1)

The method of claim 1 wherein MODBUS is utilized as an application layer protocol.

### Claim 3 (depends on 2)

The method of claim 2 further including:
designating a set of predetermined response messages comprising at least one predetermined response message, each predetermined response message being distinguishable by the first part of the request message; and,
selecting a predetermined response message in response to the first part of the request message wherein the predetermined response message is rapidly determined from the content of the first part of the request message for quickly responding to the request message.

### Claim 4 (depends on 3)

The method of claim 3 wherein the set of predetermined response messages comprises a response message to an address resolution protocol request message.

### Claim 5 (depends on 3)

The method of claim 3 wherein the set of predetermined response messages comprises a response message to an Internet control management protocol request message.

### Claim 6 (depends on 3)

The method of claim 3 wherein the set of predetermined response messages comprises a response message to a TCP connection request message.

### Claim 7 (depends on 3)

The method of claim 3 wherein the set of predetermined response messages comprises a response message to a TCP disconnect request message.

### Claim 8 (depends on 3)

The method of claim 3 wherein the set of predetermined response messages comprises a response message to a MODBUS request message as a TCP data frame.

### Claim 9 (depends on 1)

The method of claim 1 wherein the message is received exclusively on TCP port number 502.

### Claim 10 (depends on 9)

The method of claim 9 further including ignoring any message that is not transmitted via a TCP port number 502.

### Claim 11

A network communication system comprising:
a master device for initiating a request message;
a slave device being exclusively responsive to the request message of the master device; and,
an optimal protocol utilized to communicate the request message and the response message between the master and the slave devices, the optimal protocol comprising:
an IP protocol;
a TCP protocol; and,
an application layer protocol wherein the building and parsing of the response message is responsive to a first part of the request message.

### Claim 12 (depends on 11)

The network communication system of claim 11 wherein the application layer protocol is MODBUS.

### Claim 13 (depends on 11)

The network communication system of claim 11 wherein the response message is responsive to the content of the first part of the request message 14. The network communication system of claim 11 wherein the master device exclusively initiates the request message.

### Claim 14 (depends on 11)

The network communication system of claim 11 wherein the master device exclusively initiates the request message.

### Claim 15 (depends on 11)

The network communication system of claim 11 further comprising a set of predetermined response messages including at least one predetermined response message, each predetermined response message being distinguishable by the first part of the request message wherein the predetermined response message is determined from the content of the first part of the request message and rapidly selected for quickly responding to the request message.

### Claim 16 (depends on 15)

The network communication system of claim 15 wherein the set of predetermined response messages comprises a response message to an address resolution protocol request message.

### Claim 17 (depends on 15)

The network communication system of claim 15 wherein the set of predetermined response messages comprises a response message to an Internet control management protocol request message.

### Claim 18 (depends on 15)

The network communication system of claim 15 wherein the set of predetermined response messages comprises a response message to a TCP connection request message.

### Claim 19 (depends on 15)

The network communication system of claim 15 wherein the set of predetermined response messages comprises a response message to a TCP disconnect request message.

### Claim 20 (depends on 15)

The network communication system of claim 15 wherein the set of predetermined response messages comprises a response message to a MODBUS request message as a TCP data frame.

### Claim 21 (depends on 11)

The network communication system of claim 11 wherein each device limits its message to a length that is less than both a TCP transaction length and a maximum transmission unit.

### Claim 22 (depends on 11)

The network communication system of claim 11 wherein the optimal protocol exclusively utilizes a TCP port number 502.

### Claim 23 (depends on 22)

The network communication system of claim 22 wherein any message not transmitted via the TCP port number 502 is ignored.

### Claim 24

A high performance Ethernet module comprising:
an Ethernet controller operably coupled to a network connection;
a control processing unit operably coupled to the Ethernet controller; and,
an optimal communication stack that executes on the control processing unit, the optimal communication stack being capable of simultaneously processing a TCP protocol, an IP protocol and an application layer protocol, the simultaneous processing further including building and parsing a communication message dependent upon a predetermined index of the message.

### Claim 25 (depends on 24)

The Ethernet module of claim 24 wherein the application layer protocol is MODBUS.

### Claim 26 (depends on 25)

The Ethernet module of claim 25 wherein the communication message is limited to a length that is less than both a TCP transaction length and a maximum transmission unit.

### Claim 27 (depends on 24)

The Ethernet module of claim 24 wherein the optimal communication stack is configured to quickly provide a response message responsive to a request message.

### Claim 28 (depends on 27)

The Ethernet module of claim 27 wherein the communication message further comprises the request message having a first portion and the response message being responsive to the first portion of the request message wherein the response message is determined from the content of the first portion of the request message and rapidly selected for responding to the request message.

### Claim 29 (depends on 27)

The Ethernet module of claim 27 wherein the communication message is limited to a length that is less than both a TCP transaction length and a maximum transmission unit.

### Claim 30 (depends on 24)

The Ethernet module of claim 24 wherein the communication protocol exclusively utilizes a TCP port number 502.

### Claim 31 (depends on 24)

The Ethernet module of claim 24 wherein the control processing unit is operably coupled to a factory automation device.
