Transcript Document
Industrial Ethernet:
EtherNet/IP
學生:
張良豪
學號:r92921061
實驗室:206
Reference:
• [1]EtherNetIP030613.ppt
• [2]Andrew S. Tanenbaum “Computer Network 4th”
• [3] http://www.siemon.com/us/white_papers/03-03-25-ethernet-ip.asp
5/12/04
EtherNet/IP by 張良豪/NTU-EE
2
Introdcution:
• Ethernet/IP is an industrial application layer protocol for
industrial automation applications. Built on the standard
TCP/IP protocols, it utilizes long established Ethernet
hardware and software to define an application layer protocol
for configuring, accessing and controlling industrial automation
devices
• Uses Standard IEEE 802.3 Ethernet
– Uses the TCP/IP protocol suite
– Also uses CIP (Control and Information Protocol)
as the application layer protocol
5/12/04
EtherNet/IP by 張良豪/NTU-EE
3
EtherNet/IP Communication Stack
Spec. downloadable at
www.ODVA.ORG
Application
Presentation
CIP
Control and Information
Protocol
EN 50170 Standard
IEC 61158 Standard
Session
Transport
UDP
TC
P
IP-Multicast
Network
IP
Link
Ethernet
MAC
Physical
Ethernet
Physical
Request for Comments
IETF.com
UDP/TCP/IP
IEEE 802.3
5/12/04
EtherNet/IP by 張良豪/NTU-EE
Object-Oriented
Application
Layer Protocol
4
From [1]
IEEE 802.3
• Ethernet cabling
From [2]
5/12/04
EtherNet/IP by 張良豪/NTU-EE
5
• Encoding
none of the versions of Ethernet uses straight binary encoding with
0 volts for a 0bit and 5 volts for a 1 bit.
all Ethernet systems use manchester encoding due to its simplicity
From [2]
5/12/04
EtherNet/IP by 張良豪/NTU-EE
6
CSMA/CD (Carrier Sense Multiple Access
with Collision Detection)
• When a station has data to send, it first listens to the
cannel to see if anyone else is transmitting at the moment.
If the channel is busy, the station waits until it becomes
idle.
• When the station detects and idle channel, it transmits.
• If a collision occurs, the station waits a random amount of
time to start all over again.
5/12/04
EtherNet/IP by 張良豪/NTU-EE
7
UDP/TCP/IP
• IP(Internet Protocol):
The internet layer defines an official packet format and
protocol called IP.
The job of the internet layer is to deliver IP packets where
they are supposed to go.
5/12/04
EtherNet/IP by 張良豪/NTU-EE
From [2]
8
• TCP(Transmission control protocol)
it is a reliable connection –oriented protocol that allows a
bye stream originating on one machine to be delivered
without error on any other machine in the internet.
TCP also handles flow control.
• UDP(User datagram protocol)
it is an unreliable, connectionless protocol for application
that do not want TCP‘s sequencing or flow control and wish
to provide their own.
5/12/04
EtherNet/IP by 張良豪/NTU-EE
9
CIP(control and information protocol
• The creators of Ethernet/IP based their protocol on a
widely implemented standard used in DeviceNet and
ControlNet called the Control and Information Protocol
• CIP is a communications protocol for transferring
automation data between two devices. It defines the access,
object behavior, and extensions that allow disparate devices
to be accessed using a common mechanism
5/12/04
EtherNet/IP by 張良豪/NTU-EE
10
THANK YOU!!
5/12/04
EtherNet/IP by 張良豪/NTU-EE
11