What is Ethernet/IP?In this video and article, you are going to learn about what Ethernet/IP is and how it's used in industrial automation systems.
First, let’s separate the terms between Ethernet and IP.
When most people think of Ethernet, we think in terms of a physical connection.
You may have an Ethernet port on your computer in which you plug in a cable that then connects to a router or switch. This connection type is typically called a LAN connection.
However, Ethernet is not a connection type but instead, an IEEE protocol.
In our everyday use of the Internet we typically just say that we are connected via Ethernet or Wireless. It’s much easier to say Ethernet than to get into the weeds of the actual terms of connection protocols, stacks, layers, and the like.
Now that we have said that Ethernet is a protocol versus a physical connection, let’s get a little into the weeds of some of the terms.
Most communications to our computers or devices travel over one or more networks via something called a “packet”.
Since there is a multitude of devices that may want to send and/or receive data there have to be some common rules for sending and receiving these packets. This is where the “protocol” comes in.
One of the most commonly known protocols is the TCP/IP protocol. This protocol is widely used in internet communications.
The term TCP/IP relates to TCP or “Transmission Control Protocol”, where the IP is “Internet Protocol”.
There are other protocols such as “Open System Interconnection” or OSI but for simplicity sake, let’s stick with TCP/IP for now.
The TCP/IP is a layered protocol. Those layers are:
Basic functions are explained but there are many, many details in each layer.
Each layer has a function that it performs and when complete, is then passed to the next layer.
In terms of the internet, the transmitting computer will pass its data to the applications layer.
This layer works with the applications software to provide communications that may be required such as HTTP, FTP, POP, DNS, IMAP, etc.
That layer will add some data that will identify and direct the data and then passes to the TCP layer.
The TCP layers job is to pack and unpack data and do some error checking.
On to the IP or Internet Protocol layer, where some more identifiers are added and then the data is transferred over the Network layer who then packages the data into Ethernet packets or whatever other protocol is required prior to transmission over to internet service provided device.
These data move up and down the stack or layer continuously, getting packed, unpacked, headers and info added, deleted, etc.
So through this TCI/IP protocol explanation, you learned that the transmission of the data results in an Ethernet packet.
The device (Applications Layer) which can be Facebook, Google, a VFD, or a Flow Transmitter, will present its data and layer by layer, the data is massaged and is then transmitted via an Ethernet packet to the Network layer which in turn is connected to your computer or PLC.
Now that we have explained the Ethernet packet, we can get into the “IP” part of the Ethernet/IP or EIP description.
“IP” in this case now correlates to Industrial Protocol versus the previous description of Internet Protocol.
Confused yet? The “IP” part of this protocol is simply the use of the Ethernet infrastructure in conjunction with the Industrial Protocol which used Common Industrial Protocol or CIP layers that combine with the TCP/IP or User Datagram Protocol (UDP) layers to create a protocol that can be used to support data exchange and control applications.
We need to break down the TCP/IP or UDP protocols slightly to give you an idea of which application may use which type.
In the TCP/IP protocol, there is somewhat of a send/receive acknowledge relationship.
The packets go down the stack, received at the device connected to your network, a receipt confirmation goes back up the stack to the applications layer.
This type of protocol may be used with a VFD where you command a speed and need to ensure that the VFD received the message.
Conversely, with the UDP protocol, this is the continuous transmission, not requiring a receipt acknowledgment.
This protocol would be used in something like Ethernet I/O on your PLC or a Flow Transmitter.
These devices will constantly send the state of their data. If a packet wasn’t received, it’s not a deal breaker as the next packet is right around the corner.
CIP uses object-oriented design to present things like a device profile for a VFD.
If you have ever used a CIP message instruction within your PLC device, you know that you research the type of data you desire such as frequency, speed, or faults and you add that assembly number to your CIP instruction.
The data exchanged is a number of data registers that you, in turn, map to your tags for desired data.
This Ethernet/IP is compatible with many standard Ethernet switches used within the Industrial Automation arena which makes it easy to implement.
Combinations of data speeds of 10 or 100 Mbps are easily handled with these off the shelf switches.
In the simplest terms, Ethernet/IP is Ethernet packets used with the Industrial Protocol of CIP, TCP/IP, and/or UDP layers to provide the required data to your controller.
Thank you so much for reading, watching and adding your voice to this automation conversation.
What new insights did you glean from this article on Ethernet/IP? Let us know in the commets below!
In this blog post, you’ll learn about the mindset that helped me getting a PLC programming job with NO experience. This is my personal experience as someone who searched for a job in this field and as an employer who reviews resumes and interviews candidates for a variety of projects. So let’s get started!
In this first article of a 2-part series, we’re going to introduce you to open vessel DP level measurement using a differential pressure transmitter. The second part of our 2-part series will take you through the process of predicting Differential Pressure Transmitter...
In this article, we’re going to take a close look at the 2-wire transmitter and 4-wire transmitter and discuss where they are used and why. We’re also going explore transmitter wiring configurations and how transmitters are connected to a PLC. Before we get started,...
Learn how to program PLCs, install and wire industrial devices, and at the same time purchase them online.
+31 10 316 6400
Mon - Fri 8:30 am to 5:30 pm (CET)
Rotterdam Science Tower, Marconistraat 16,
3029AK Rotterdam, Netherlands
© 2020 RealPras B.V. All rights reserved.
Created with coffee and tea in Rotterdam.