RTA - EtherNet - IP and TCP - IP - Real Time Automation, Inc
RTA - EtherNet - IP and TCP - IP - Real Time Automation, Inc
MENU
PRODUCT SELECTOR:
Connect Your:
Option 1
To:
Select Option 1 rst
19
Oct
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 1/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
What’s interesting to me about this is that she doesn’t think she has special knowledge. Because she
lives muscle-mania all day long, she assumes that everyone knows what she knows. I remind her that
she’s the Muscle Magician because what she does is magic to the rest of us.
I think we are all like that. We all have very special expertise but believe that our special expertise isn’t
so special and wouldn’t be valuable to someone else. I know that I am like that. I think that the stuff I
know (Ethernet networks, enterprise communication, factory oor protocols, and the rest) is simple,
straightforward, and not especially valuable.
I realized again that this wasn’t true when I was asked again about the difference between
EtherNet/IP, CIP, and TCP/IP. I think of that as just basic knowledge. Similar to me asking Emily what a
bicep does. It’s self-evident to both of us in our chosen elds but we have to remember that not
everyone lives in those domains and they are as foreign as they could be to many people.
So today I am going to address what to some is a confusing question: “Just what is the difference
between TCP/IP, CIP, and EtherNet/IP?” Let’s look at them individually.
TCP/IP – A TCP/IP protocol suite is the collection of communication protocols needed to communicate
over Ethernet. The three most important components of the TCP/IP protocol suite are IP, TCP, and
UDP.
IP – IP is the Internet protocol. It is responsible for moving a packet from point A to point B. IP knows
nothing about TCP, CIP, or EtherNet/IP. It simply moves the data packets provided to it by TCP, UDP,
and other protocols in a TCP/IP suite.
TCP – TCP is an acronym for Transmission Control Protocol. It is a connection oriented protocol that is
responsible for managing the connection between a client and a server (Scanner and Adapter for
EtherNet/IP fans). Among its many duties is fragmenting data packets that don’t meet size constraints
and validating that messages reach their destination.
UDP – UDP (User Datagram Protocol) is a connectionless protocol used for “send and forget”
messages. Where TCP ensures that messages reach their destination, UDP just res them off with no
concern that they arrive at their destination.
Neither IP, TCP, nor UDP knows anything about EtherNet/IP or CIP.
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 2/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
CIP – The Common Industrial Protocol (CIP) is a mechanism for organizing and sharing data in
core
industrial devices. CIP is the MENU
technology behind CompoNet, EtherNet/IP, DeviceNet and
ControlNet. CIP organizes data as objects with data elements called attributes. CIP de nes two
classes of objects: required objects and application objects. Required objects are present in every CIP
device. The Identity Object, for example, organizes identity data (vendor, catalog #, revision number,
etc.) as attributes that can be accessed by the external world using a CIP Read Attribute message. CIP
organizes application data into objects that re ect how the device vendor wants to expose the
application data. CIP speci es both the object structure of a device and the messaging used to access
that device. CIP de nes two message types: asynchronous messages (Explicit) and synchronous
messages (Implicit).
EtherNet/IP – EtherNet/IP is the implementation of CIP over Ethernet just as DeviceNet is the
implementation of CIP over CAN (Controller Area Network). In EtherNet/IP, CIP objects are accessed
using Explicit messaging over a TCP connection and Implicit messaging over a UDP connection.
Explicit messages which read and write attributes of objects are transferred over a TCP connection to
ensure that these types of messages arrive at their destination. Changing operational setpoints
requires a connection where the sender is certain that the new data arrived. Implicit messages, which
transfer I/O data between a Scanner and an Adapter, are transferred over a UDP connection. These
messages are cyclic and if one fails to arrive, another will be transmitted on the next cycle (usually 10
ms).
No one has ever called me the “Protocol Magician”, but I hope this description of the relationship
between these three important entities provides a clear picture of EtherNet/IP and its component
parts in the TCP/IP software suite.
This entry was posted in CAN, CIP, DeviceNet, EtherNEt/IP, Industrial Networking, RTA's Blog and tagged CAN, CIP,
communication protocols, Controller Area Network, DeviceNet, Ethernet, EtherNet/IP, Explicit messages, Implicit Messages, IP,
TCP, TCP/IP, Transmission Control Protocol, UDP, User Datagram Protocol.
JOHN S RINALDI
John Rinaldi is Chief Strategist, Business Development Manager and CEO of Real
Time Automation (RTA). After escaping from Marquette University with a degree in
Electrical Engineering, John worked in various jobs in the Automation Industry
before once again eeing back into the comfortable halls of academia. At the
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 3/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
University of Connecticut, he once again talked his way into a degree, this time in
Science
Computer MENU (MS CS). John is a recognized expert in industrial networks and
the author of Four books: The Industrial Ethernet Book, OPC UA: The Basics,
Modbus: The Everyman’s Guide to Modbus, and his latest, OPC UA - Uni ed
Architecture: The Everyman's Guide to OPC UA.
RECENT POSTS
20 What is a Historian?
Aug
Comments Off
CATEGORIES
Accessories
ASCII
BACnet
Bluetooth
Books
CAN
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 4/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
Certi cations
MENU
CIP
CoDeSys
ControlLogix
Customer Support
Data Highway
DeviceNet
DF/1
EtherCAT
EtherNEt/IP
Industrial Networking
Linux
LONworks
MicroLogix
Misc.
Modbus
Modbus RTU
Modbus TCP
MQTT
N2
Networking
OPC
OPC UA
Open Control
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 5/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
PCCC
MENU
PLC's
PROFIBUS
Pro net
PTO
Radios
Ring Topology
RTA's Blog
SCADA
Security
Source Code
Stacks
Technology
Templates
Testimonial
Testing
Trade Shows
Training
Travels
Troubleshooting
Uncategorized
USB
VPN
Wireless
TAGS
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 6/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
TAGS
MENU
460 Allen-Bradley Allen-Bradley PLC Applications ASCII BACnet CAN CIP Client Cloud
CompactLogix ControlLogix DeviceNet Ethernet EtherNet/IP Featured Event I/O Industrial Automation
IoT Master MicroLogix Microsoft Modbus Modbus Book Modbus RTU Modbus TCP MQTT ODVA
OPC UA OPC UA Book PLC Pro bus Pro net Pro Net IO Protocol Rockwell Automation RS232
ABOUT PRODUCTS
SUPPORT LEARN
BLOG
NEWSLETTER
PRIVACY POLICY
RMA
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 7/8
7/9/2019 EtherNet/IP and TCP/IP - Real Time Automation, Inc.
N26W23315 PAUL RD
PEWAUKEE, WI 53072 MENU
262-436-9299
https://www.rtautomation.com/rtas-blog/ethernet-ip-and-tcp-ip/ 8/8