Computer/Embedded Technology


10 issues to consider before installing industrial Ethernet - Part V

25 September 2002 Computer/Embedded Technology

Transport layer protocols

Ethernet is termed a data link and physical layer technology and, therefore, occupies layers two and one of the OSI reference model. The original designers never intended the technology to guarantee end-to-end message delivery. This responsibility is given to the transport layer (layer four) of the OSI model in Figure 1.

Figure 1. Ethernet defines the lower two layers of the OSI reference model
Figure 1. Ethernet defines the lower two layers of the OSI reference model

Responsibility for internetworking (communication between two networks) is given to layer three - the network layer. The transport and internetworking layer functionality becomes part of the protocol stack and two protocols have found much use with Ethernet - TCP/IP and SPX/IPX. These two protocols will not directly interoperate so it is important that all Ethernet nodes on the network utilise compatible protocols. Since TCP/IP powers the Internet, this is the protocol that has won out and the one recommended for industrial Ethernet.

Actually, TCP/IP is a set of protocols defined by a series of RFCs (request for comments) that have evolved over the years. In Figure 2, one will notice how the TCP/IP stack of protocols relates to the OSI model. TCP/IP will work with other data link technologies besides Ethernet so it resides above the data link/physical layer. At the transport layer there are two important protocols. The transmission control protocol (TCP) acknowledges receipt of messages while the user datagram protocol (UDP) does not. Both are useful. At the very top of the protocol stack there are several useful application layer protocols that find use in industrial Ethernet. TCP/IP is a complex subject and it will not be addressed here. To the installer, the most important issue is the addressing of nodes, which is a network layer issue.

Figure 2. The TCP/IP stack is actually a set of protocols. IP resides at the network layer of the OSI reference model
Figure 2. The TCP/IP stack is actually a set of protocols. IP resides at the network layer of the OSI reference model

The Internet Protocol (IP) handles the routing of packets between stations that may reside on different networks. Each station must have a unique 32-bit address that not only identifies the host (station) but the network as well. Addresses are best shown as four bytes in a decimal-dot-decimal notation. A valid address would be 128.8.120.5 but it is difficult to determine what part of the address is the host address and what part is the network address. Addresses are defined as residing in either one of five classes - A, B, C, D or E. Table 1 defines the classes by observing the value of the first byte of the address. It is the class that determines the <host><netid> split.

Table 1. The class of an IP address can be quickly identified by observing only the first byte
Table 1. The class of an IP address can be quickly identified by observing only the first byte

Assigning IP addresses is not simple and they are usually assigned by the network administrator. Once assigned they must be applied to each station in the network. Depending upon the system installed, IP addresses may be dynamically assigned or statically assigned. Dynamically assigned addresses come from a server, while statically assigned addresses must be entered for each station as part of the configuration. IP addresses are either public or private. A public address can usually be seen on the Internet. The following addresses are private and cannot be assessed through a router and, therefore, will not be seen on the Internet:

10.0.0.0 to 10.255.255.255

172.16.0.0 to 172.31.255.255

192.168.0.0 to 192.168.255.255

IP addressing should not be confused with Ethernet MAC addresses. An Ethernet MAC address is assigned by the equipment vendor so as to be unique worldwide. IP addresses are assigned during installation and can be reassigned as necessary.

Application layer protocols

Now that we have determined our connector and cable needs, selected either hubs or switches and assigned the required IP addresses, we should be able to communicate between stations. This is not necessarily true. We still need compliance at the highest level of the OSI reference model. There are several industrial automation protocols that are being proposed such as EtherNet/IP, iDA, PROFInet and MODBUS/TCP. This does not include the traditional Internet applications such as FTP, SNMP, SMTP and TELNET. Your equipment may not support all these application protocols, so you must understand the capabilities of your system. It is also possible that your equipment can handle all these applications. This is another advantage for using a TCP/IP stack.

This is where our discussion stops. Industrial Ethernet offers many possibilities; however, because of this flexibility, the subject is somewhat complex. You may not have all the answers but you should have a better feeling about some of the questions that need to be asked.

Finally

We hope this series has been helpful. For a more in-depth analysis of industrial Ethernet, several articles can be downloaded from www.ctrlink.com

For more information contact our representative in South Africa, Electronic Products Design, 012 665 9700.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Next-gen modules for rugged edge AI systems
Altron Arrow Computer/Embedded Technology
Designed for real-world edge deployments where systems do not sit still, SolidRun’s P100 COMx6 series targets mobile platforms as well as harsh, mission-critical environments.

Read more...
Fanless multimedia edge PC
Vepac Electronics Computer/Embedded Technology
Dual 4K display capabilities, ultra-efficient processing, and versatile mounting options make the Intelli TWL01 Edge the ultimate embedded platform for multimedia solution building.

Read more...
Advanced industrial connectivity at the edge
Future Electronics Computer/Embedded Technology
Dual 4K display capabilities, ultra-efficient processing, and versatile mounting options make the Intelli TWL01 Edge the ultimate embedded platform for multimedia solution building.

Read more...
A software-based controller for the industrial future
Phoenix Contact Computer/Embedded Technology
With Virtual PLCnext Control, Phoenix Contact is launching a software-based controller solution that enables flexible automation functions in virtualised IT environments.

Read more...
5G mobile hotspot with integrated multimodal AI capabilities
CST Electronics Computer/Embedded Technology
MeiG Smart has launched its first 5G Mobile HotSpot solution, the SRT8710, a breakthrough in mobile connectivity that combines ultra-fast 5G communications with integrated multimodal artificial intelligence functions.

Read more...
Panasonic TOUGHBOOK 33 2-in-1 detachable
Vepac Electronics Computer/Embedded Technology
The Panasonic TOUGHBOOK 33 is a fully rugged 12-inch 2-in-1 detachable notebook designed to deliver unmatched flexibility, durability, and performance for mobile professionals working in demanding environments.

Read more...
SBC with 12 TOPS computing power
iCorp Technologies Computer/Embedded Technology
The QSM560DR series is Quectel’s multi-mode 5G smart control panel with built-in Ubuntu/Android/Windows operating system based on the Quectel SG560D series smart module.

Read more...
High-performance µC series
NuVision Electronics Computer/Embedded Technology
GigaDevice has announced the official launch of the GD32F503/505 high-performance series of 32-bit general-purpose microcontrollers based on the Arm Cortex-M33 core.

Read more...
Octa-core smart development board
iCorp Technologies Computer/Embedded Technology
The QuecPi Alpha smart MOB development board is Quectel’s smart development board based on Qualcomm’s QCS6490 high-performance 64-bit octa-core processor.

Read more...
Vertiv expands rack PDU portfolio
Computer/Embedded Technology
Vertiv has announced its new Vertiv PowerIT rack power distribution units designed to address the rising power needs of data-intensive workloads, including AI and high-performance computing.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved