cip协议报文格式_EtherNet/IP协议基础知识(Part 1)

本文介绍了EtherNet/IP的基础概念,包括ODVA组织及其使命,以及EtherNet/IP的OSI参考模型。EtherNet/IP在物理层、链路层、网络层和传输层遵循标准以太网,应用层使用CIP协议。其特点包括服务工业自动化、基于标准以太网和TCP/IP、支持多种拓扑结构。数据链路层与网络层遵循IEEE 802.3,而CIP报文通过TCP/IP和UDP/IP传输不同类型的消息。
摘要由CSDN通过智能技术生成

一、EtherNet/IP基础概念

1.ODVA组织简介

ODVA成立于1995年,是一个全球性协会,其成员包括世界领先的自动化公司。ODVA的使命是促进工业自动化中开放的,可互操作的信息和通信技术。ODVA将其独立于媒体的网络协议,通用工业协议或“CIPTM”以及CIP的网络改进版EtherNet/IPTM,DeviceNetTM , CompoNetTM和ControlNetTM视为其核心技术。其负责的主要内容有:

1) 设备的一致性测试认证与互操作;

2) 授权EtherNet/IP技术;

3) 发放Vendor ID代表厂商设备信息;

4) 其下的SIG小组负责各类规范、方针等内容的制定。

2.EtherNet/IP基础架构

2.1 EtherNet/IP OSI参考模型

5e4ddbc22ac664f2ab02341e1971d0da.png
图:EtherNet/IP的ISO/OSI参考模型

EtherNet/IP的ISO/OSI参考模型如上图所示,其物理层、链路层、网络层、传输层均与标准以太网相同,特点在于其在传输层之上增添了一个封装层,对来自应用层的数据进行报文格式的封装;而应用层采用的是CIP协议,满足其在工业自动化领域的一些功能和服务。

Contents 3-1 Introduction........................................................................................................................................................ 3 3-2 Scope.................................................................................................................................................................. 3 3-3 CIP packets over TCP/IP ................................................................................................................................... 3 3-3.1 Unconnected messages .............................................................................................................................. 3 3-3.2 CIP transport class 0 and class 1 connections ............................................................................................ 5 3-3.2.1 CIP transport class 0 and class 1 packets ............................................................................................... 5 3-3.2.2 Behavior of class 0 and class 1 connections (informative) .................................................................... 5 3-3.3 CIP Transport class 2 and class 3 connections ........................................................................................... 6 3-3.4 CIP Transport classes 4 through 6 ............................................................................................................. 6 3-4 Connection Manager object ............................................................................................................................... 6 3-4.1 Connection parameters............................................................................................................................... 6 3-4.2 Connection type ......................................................................................................................................... 7 3-4.3 Priority ....................................................................................................................................................... 7 3-4.4 Trigger Type .............................................................................................................................................. 7 3-4.5 Connection size .......................................................................................................................................... 7 3-4.6 Connection request time-out ...................................................................................................................... 7 3-4.7 Connection path ......................................................................................................................................... 7 3-4.7.1 Network connection ID .......................................................................................................................... 8 3-4.8 Forward_open for CIP transport class 2 and class 3 connections ............................................................ 11 3-4.9 Forward_open for CIP transport class 0 and class 1 connections ............................................................ 11 3-4.9.1 General ................................................................................................................................................. 11 3-4.9.2 Mapping connections to IP multicast addresses ................................................................................... 11 3-4.9.3 Completing the multicast connection (informative) ............................................................................. 12 3-5 CIP transport class 0 and class 1 connected data ............................................................................................. 12 3-5.1 UDP datagrams ........................................................................................................................................ 12 3-5.2 CIP transport class 0 and class 1 packet ordering .................................................................................... 12 3-5.3 Screening incoming connected data ......................................................................................................... 13 3-6 IP multicast scoping and address allocation..................................................................................................... 13 3-6.1 Background (informative) ........................................................................................................................ 13 3-6.1.1 General ................................................................................................................................................. 13 3-6.1.2 Current scoping practices ..................................................................................................................... 14 3-6.1.3 Current address allocation practices..................................................................................................... 14 3-6.1.4 Evolving Internet standards.................................................................................................................. 14 3-6.2 Interim scoping strategy ........................................................................................................................... 15 3-6.3 Interim allocation strategy........................................................................................................................ 15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值