欢迎光临
我们一直在努力

工业通信协议百科

头图

工业通信协议百科

文章目录

  • 工业通信协议百科
    • 摘要
  • 第一部分 · 工业通信的世界观
    • 1.1 为什么工业协议这么多
    • 1.2 自动化金字塔与协议分层
    • 1.3 OSI 七层模型与工业协议的"精简"
    • 1.4 协议的两大阵营
  • 第二部分 · 开放通用协议
    • 2.1 Modbus 家族:最简单、最开放的"万能胶"
      • 2.1.1 一句话核心认知
      • 2.1.2 八变体分层结构
      • 2.1.3 横评对比表
    • 2.2 现场总线 Fieldbus:模拟时代的"数字革命"
      • 2.2.1 PROFIBUS(DP/PA)
      • 2.2.2 HART:模拟信号上的"数字叠加"
      • 2.2.3 FOUNDATION Fieldbus(FF):控制下放到现场
      • 2.2.4 其他现场总线速查
    • 2.3 工业以太网:把"确定性"做进以太网
      • 2.3.1 PROFINET:一个协议、三档性能
      • 2.3.2 EtherNet/IP:一套 CIP、多种介质
      • 2.3.3 EtherCAT:最快的工业以太网
      • 2.3.4 工业以太网横向对比
    • 2.4 信息集成层:OPC UA 与 MQTT
      • 2.4.1 OPC UA 的四大支柱
      • 2.4.2 OPC UA FX:向现场层进军
      • 2.4.3 MQTT / Sparkplug
  • 第三部分 · 厂商协议族
    • 3.1 西门子 Siemens:S7 协议族
      • 3.1.1 协议栈速查
      • 3.1.2 S7 Communication 协议栈
      • 3.1.3 关键坑点
    • 3.2 罗克韦尔 Rockwell / Allen-Bradley
      • 3.2.1 端口与寻址速查
      • 3.2.2 三代演进
      • 3.2.3 给驱动开发者的提示
    • 3.3 三菱 Mitsubishi:MC 协议族
      • 3.3.1 PLC 型号 → 推荐协议速查
      • 3.3.2 默认端口
    • 3.4 欧姆龙 Omron:FINS + HostLink
      • 3.4.1 FINS 报文结构
      • 3.4.2 选型建议
    • 3.5 倍福 Beckhoff:ADS + EtherCAT
      • 3.5.1 ADS 关键概念
    • 3.6 松下 Panasonic:Mewtocol + MC 3E + RTEX
      • 3.6.1 核心成员
      • 3.6.2 Mewtocol 帧结构
    • 3.7 基恩士 Keyence:MC-3E + Nano
      • 3.7.1 一句话结论
      • 3.7.2 关键坑
    • 3.8 汇川 Inovance:国产"自有 + 开放"双轨
      • 3.8.1 核心协议定位
      • 3.8.2 设备与协议支持矩阵(节选)
    • 3.9 DCS 厂商:骨干网私有协议
  • 第四部分 · 机器人通信协议
    • 4.1 机器人厂商私有协议
    • 4.2 应用层中间件:ROS / ROS 2 / DDS
  • 第五部分 · 横向对比与选型
    • 5.1 主流协议横向对比
    • 5.2 端口速查表
    • 5.3 选型决策总图
    • 5.4 按场景速查
  • 第六部分 · 趋势与总结
    • 6.1 三大趋势技术
      • 6.1.1 Ethernet-APL:以太网进防爆区
      • 6.1.2 TSN:让标准以太网"确定性"
      • 6.1.3 统一以太网愿景
    • 6.2 三点结论

关键字:
工业知识点、
EtherNet/IP、
EtherCAT、
OPC UA、
西门子
Modbus
PROFINET

摘要

从现场总线到工业以太网,从开放标准到厂商私有协议——一次讲清工业领域"设备之间如何对话"的完整语言体系。 本文整合 Modbus、PROFINET、EtherNet/IP、EtherCAT、OPC UA 等开放标准,以及西门子、罗克韦尔、三菱、欧姆龙、倍福、松下、基恩士、汇川、DCS 厂商、机器人厂商的私有协议族。

第一部分 · 工业通信的世界观

1.1 为什么工业协议这么多

一台工业设备(PLC、DCS、伺服、机器人、仪表)从来不是孤立运行的,它要和上位机、控制器、驱动器、传感器、MES/ERP 对话。但工业通信的需求是分裂的:

维度两端需求
实时性 伺服闭环要纳秒~微秒级,云端监控 100ms 也无妨
带宽 视觉点云要海量吞吐,一个开关量只要 1 bit
可靠性 联锁/安全回路要求确定性 + 冗余,采集可以容忍丢包
互操作 IT 侧早已统一到以太网/IP,现场侧却长期"诸侯割据"
生态/成本 厂商要锁定生态,用户要开放省钱

于是工业界形成了"一套需求,多套协议"的格局。理解它们,第一把钥匙是自动化金字塔分层。

1.2 自动化金字塔与协议分层

#mermaid-svg-7R4SoBEWmFtRgIFb{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-7R4SoBEWmFtRgIFb .error-icon{fill:#552222;}#mermaid-svg-7R4SoBEWmFtRgIFb .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-7R4SoBEWmFtRgIFb .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-7R4SoBEWmFtRgIFb .marker{fill:#333333;stroke:#333333;}#mermaid-svg-7R4SoBEWmFtRgIFb .marker.cross{stroke:#333333;}#mermaid-svg-7R4SoBEWmFtRgIFb svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-7R4SoBEWmFtRgIFb p{margin:0;}#mermaid-svg-7R4SoBEWmFtRgIFb .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb .cluster-label text{fill:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb .cluster-label span{color:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb .cluster-label span p{background-color:transparent;}#mermaid-svg-7R4SoBEWmFtRgIFb .label text,#mermaid-svg-7R4SoBEWmFtRgIFb span{fill:#333;color:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb .node rect,#mermaid-svg-7R4SoBEWmFtRgIFb .node circle,#mermaid-svg-7R4SoBEWmFtRgIFb .node ellipse,#mermaid-svg-7R4SoBEWmFtRgIFb .node polygon,#mermaid-svg-7R4SoBEWmFtRgIFb .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-7R4SoBEWmFtRgIFb .rough-node .label text,#mermaid-svg-7R4SoBEWmFtRgIFb .node .label text,#mermaid-svg-7R4SoBEWmFtRgIFb .image-shape .label,#mermaid-svg-7R4SoBEWmFtRgIFb .icon-shape .label{text-anchor:middle;}#mermaid-svg-7R4SoBEWmFtRgIFb .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-7R4SoBEWmFtRgIFb .rough-node .label,#mermaid-svg-7R4SoBEWmFtRgIFb .node .label,#mermaid-svg-7R4SoBEWmFtRgIFb .image-shape .label,#mermaid-svg-7R4SoBEWmFtRgIFb .icon-shape .label{text-align:center;}#mermaid-svg-7R4SoBEWmFtRgIFb .node.clickable{cursor:pointer;}#mermaid-svg-7R4SoBEWmFtRgIFb .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-7R4SoBEWmFtRgIFb .arrowheadPath{fill:#333333;}#mermaid-svg-7R4SoBEWmFtRgIFb .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-7R4SoBEWmFtRgIFb .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-7R4SoBEWmFtRgIFb .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-7R4SoBEWmFtRgIFb .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-7R4SoBEWmFtRgIFb .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-7R4SoBEWmFtRgIFb .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-7R4SoBEWmFtRgIFb .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-7R4SoBEWmFtRgIFb .cluster text{fill:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb .cluster span{color:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-7R4SoBEWmFtRgIFb .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-7R4SoBEWmFtRgIFb rect.text{fill:none;stroke-width:0;}#mermaid-svg-7R4SoBEWmFtRgIFb .icon-shape,#mermaid-svg-7R4SoBEWmFtRgIFb .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-7R4SoBEWmFtRgIFb .icon-shape p,#mermaid-svg-7R4SoBEWmFtRgIFb .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-7R4SoBEWmFtRgIFb .icon-shape .label rect,#mermaid-svg-7R4SoBEWmFtRgIFb .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-7R4SoBEWmFtRgIFb .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-7R4SoBEWmFtRgIFb .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-7R4SoBEWmFtRgIFb :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

L1 现场层 · 驱动器 / 远程 IO / 仪表 / 传感器

L2 控制层 · PLC / DCS 控制器 / 运动控制器

L3 监控层 · 操作员站 / 工程师站 / 历史站

L4 管理层 · ERP / MES / 厂级监控

OPC UA / MQTT / HTTP

S7 / FINS / MC / ADS / Modbus TCP / OPC UA

S7 / FINS / MC / ADS / Modbus TCP / OPC UA

S7 / FINS / MC / ADS / Modbus TCP / OPC UA

S7 / FINS / MC / ADS / Modbus TCP / OPC UA

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

PROFINET / EtherCAT / EtherNet/IP / CC-Link

ERP / MES / SIS

SCADA / HMI / OPC UA Server

西门子 S7

罗克韦尔 Logix

三菱 MELSEC

倍福 TwinCAT

变频器 / 伺服

远程 IO 站

变送器 / 传感器

记忆口诀:

  • 上层(L3/L4)偏向 IT:TCP/IP、HTTP、OPC UA、MQTT,关心"含义"与"语义互操作";
  • 下层(L1/L2)偏向 OT:实时确定性、循环周期、抖动,关心"快且准"。

1.3 OSI 七层模型与工业协议的"精简"

工业协议不一定遵守完整七层,很多为了实时性故意"跳过"部分层——这是理解协议差异的第二把钥匙。

#mermaid-svg-q9yDpdgRNXPEOaFA{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-q9yDpdgRNXPEOaFA .error-icon{fill:#552222;}#mermaid-svg-q9yDpdgRNXPEOaFA .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-q9yDpdgRNXPEOaFA .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-q9yDpdgRNXPEOaFA .marker{fill:#333333;stroke:#333333;}#mermaid-svg-q9yDpdgRNXPEOaFA .marker.cross{stroke:#333333;}#mermaid-svg-q9yDpdgRNXPEOaFA svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-q9yDpdgRNXPEOaFA p{margin:0;}#mermaid-svg-q9yDpdgRNXPEOaFA .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA .cluster-label text{fill:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA .cluster-label span{color:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA .cluster-label span p{background-color:transparent;}#mermaid-svg-q9yDpdgRNXPEOaFA .label text,#mermaid-svg-q9yDpdgRNXPEOaFA span{fill:#333;color:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA .node rect,#mermaid-svg-q9yDpdgRNXPEOaFA .node circle,#mermaid-svg-q9yDpdgRNXPEOaFA .node ellipse,#mermaid-svg-q9yDpdgRNXPEOaFA .node polygon,#mermaid-svg-q9yDpdgRNXPEOaFA .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-q9yDpdgRNXPEOaFA .rough-node .label text,#mermaid-svg-q9yDpdgRNXPEOaFA .node .label text,#mermaid-svg-q9yDpdgRNXPEOaFA .image-shape .label,#mermaid-svg-q9yDpdgRNXPEOaFA .icon-shape .label{text-anchor:middle;}#mermaid-svg-q9yDpdgRNXPEOaFA .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-q9yDpdgRNXPEOaFA .rough-node .label,#mermaid-svg-q9yDpdgRNXPEOaFA .node .label,#mermaid-svg-q9yDpdgRNXPEOaFA .image-shape .label,#mermaid-svg-q9yDpdgRNXPEOaFA .icon-shape .label{text-align:center;}#mermaid-svg-q9yDpdgRNXPEOaFA .node.clickable{cursor:pointer;}#mermaid-svg-q9yDpdgRNXPEOaFA .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-q9yDpdgRNXPEOaFA .arrowheadPath{fill:#333333;}#mermaid-svg-q9yDpdgRNXPEOaFA .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-q9yDpdgRNXPEOaFA .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-q9yDpdgRNXPEOaFA .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-q9yDpdgRNXPEOaFA .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-q9yDpdgRNXPEOaFA .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-q9yDpdgRNXPEOaFA .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-q9yDpdgRNXPEOaFA .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-q9yDpdgRNXPEOaFA .cluster text{fill:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA .cluster span{color:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-q9yDpdgRNXPEOaFA .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-q9yDpdgRNXPEOaFA rect.text{fill:none;stroke-width:0;}#mermaid-svg-q9yDpdgRNXPEOaFA .icon-shape,#mermaid-svg-q9yDpdgRNXPEOaFA .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-q9yDpdgRNXPEOaFA .icon-shape p,#mermaid-svg-q9yDpdgRNXPEOaFA .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-q9yDpdgRNXPEOaFA .icon-shape .label rect,#mermaid-svg-q9yDpdgRNXPEOaFA .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-q9yDpdgRNXPEOaFA .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-q9yDpdgRNXPEOaFA .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-q9yDpdgRNXPEOaFA :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

对应

工业协议分层对应

OPC UA / MQTT / S7Comm / FINS / MC / RAPID(应用层语义)

CIP / PROFINET IO / CANopen DS-402(应用协议 + 设备行规)

TCP / UDP / RTPS / TCPROS(传输层)

IP(部分协议保留)EtherCAT / PROFINET IRT 为实时性跳过

Ethernet / CAN / RS-485 / 光纤(数据链路 + 物理层)

ISO/OSI 参考模型

7 应用层 Application

6 表示层 Presentation

5 会话层 Session

4 传输层 Transport

3 网络层 Network

2 数据链路层 Data Link

1 物理层 Physical

关键结论:

  • EtherCAT / PROFINET IRT / SERCOS III:为实现微秒级确定性,绕开 TCP/IP 栈,直接在以太网帧上做"实时通道",因此不能直接穿过普通交换机/路由器(需专用从站芯片 ESC 或 TSN 交换机)。
  • EtherNet/IP / Modbus TCP / PROFINET RT(软实时):保留 TCP/UDP + IP,可复用标准以太网硬件,但实时性弱于前一类。
  • 这一"是否保留 IP 栈"的差异,几乎决定了协议在实时性 vs 通用性上的取舍。

1.4 协议的两大阵营

按技术路线,工业通信协议可分为两大阵营:

#mermaid-svg-0zNxxGNE5DDFmfTt{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-0zNxxGNE5DDFmfTt .error-icon{fill:#552222;}#mermaid-svg-0zNxxGNE5DDFmfTt .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-0zNxxGNE5DDFmfTt .marker{fill:#333333;stroke:#333333;}#mermaid-svg-0zNxxGNE5DDFmfTt .marker.cross{stroke:#333333;}#mermaid-svg-0zNxxGNE5DDFmfTt svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-0zNxxGNE5DDFmfTt p{margin:0;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge{stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 text{fill:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth–1{stroke-width:17;}#mermaid-svg-0zNxxGNE5DDFmfTt .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-0{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-0{stroke-width:14;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-1{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-1{stroke-width:11;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 text{fill:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-2{stroke-width:8;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-3{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-3{stroke-width:5;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-4{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-4{stroke-width:2;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-5{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-5{stroke-width:-1;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-6{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-6{stroke-width:-4;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-7{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-7{stroke-width:-7;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-8{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-8{stroke-width:-10;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-9{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-9{stroke-width:-13;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 polygon,#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 text{fill:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .node-icon-10{font-size:40px;color:black;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .edge-depth-10{stroke-width:-16;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled circle,#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:lightgray;}#mermaid-svg-0zNxxGNE5DDFmfTt .disabled text{fill:#efefef;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-root rect,#mermaid-svg-0zNxxGNE5DDFmfTt .section-root path,#mermaid-svg-0zNxxGNE5DDFmfTt .section-root circle,#mermaid-svg-0zNxxGNE5DDFmfTt .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-0zNxxGNE5DDFmfTt .section-root text{fill:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-root span{color:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .section-2 span{color:#ffffff;}#mermaid-svg-0zNxxGNE5DDFmfTt .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-0zNxxGNE5DDFmfTt .edge{fill:none;}#mermaid-svg-0zNxxGNE5DDFmfTt .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-0zNxxGNE5DDFmfTt :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

工业通信协议

现场总线 Fieldbus

PROFIBUS DP / PA

HART

FOUNDATION Fieldbus FF

Modbus RTU / ASCII

CANopen

DeviceNet

CC-Link

AS-i

SERCOS I/II

工业以太网 Industrial Ethernet

PROFINET RT / IRT

EtherNet/IP CIP

EtherCAT

Modbus TCP

POWERLINK

CC-Link IE

SERCOS III

信息集成与互操作

OPC UA / OPC UA FX

MQTT / Sparkplug

厂商私有协议

西门子 S7Comm

罗克韦尔 DF1 / PCCC

三菱 MC / FX

欧姆龙 FINS / HostLink

倍福 ADS

松下 Mewtocol / RTEX

基恩士 Nano / MC-3E

汇川 InovanceSerial / EasyNet

DCS 骨干网 FTE / Vnet/IP

核心矛盾:现场层协议长期"诸侯割据",IT 侧早已统一到以太网/IP。行业的长期方向,就是"以太网一网到底"——这将在第六部分展开。


第二部分 · 开放通用协议

开放通用协议是跨厂商互通的"普通话"。这一部分从最老的 Modbus 讲起,一直到最上层的 OPC UA。

2.1 Modbus 家族:最简单、最开放的"万能胶"

2.1.1 一句话核心认知

Modbus 的 8 个变体,本质是「同一应用层 PDU(功能码 + 数据)的不同封装形态」。变的只是物理层 / 链路层 / 传输层,不变的是那颗"Modbus 心"。

所有 Modbus 设备都暴露四类对象:

名称别名读写典型用途
Coil 线圈 / DO 读写 继电器、阀门、开关量输出
Discrete Input DI 只读 按钮、限位、状态位输入
Holding Register HR / AO 读写 设定值、参数、控制字
Input Register IR 只读 测量值、传感器数据

通用功能码跨变体一致:0x01 读线圈、0x02 读离散输入、0x03 读保持寄存器、0x04 读输入寄存器、0x05/0x0F 写线圈、0x06/0x10 写寄存器。异常响应 = 0x80 + FC。

2.1.2 八变体分层结构

#mermaid-svg-ba5iFIP6w06o5prs{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-ba5iFIP6w06o5prs .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-ba5iFIP6w06o5prs .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-ba5iFIP6w06o5prs .error-icon{fill:#552222;}#mermaid-svg-ba5iFIP6w06o5prs .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-ba5iFIP6w06o5prs .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-ba5iFIP6w06o5prs .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-ba5iFIP6w06o5prs .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-ba5iFIP6w06o5prs .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-ba5iFIP6w06o5prs .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-ba5iFIP6w06o5prs .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-ba5iFIP6w06o5prs .marker{fill:#333333;stroke:#333333;}#mermaid-svg-ba5iFIP6w06o5prs .marker.cross{stroke:#333333;}#mermaid-svg-ba5iFIP6w06o5prs svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-ba5iFIP6w06o5prs p{margin:0;}#mermaid-svg-ba5iFIP6w06o5prs .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-ba5iFIP6w06o5prs .cluster-label text{fill:#333;}#mermaid-svg-ba5iFIP6w06o5prs .cluster-label span{color:#333;}#mermaid-svg-ba5iFIP6w06o5prs .cluster-label span p{background-color:transparent;}#mermaid-svg-ba5iFIP6w06o5prs .label text,#mermaid-svg-ba5iFIP6w06o5prs span{fill:#333;color:#333;}#mermaid-svg-ba5iFIP6w06o5prs .node rect,#mermaid-svg-ba5iFIP6w06o5prs .node circle,#mermaid-svg-ba5iFIP6w06o5prs .node ellipse,#mermaid-svg-ba5iFIP6w06o5prs .node polygon,#mermaid-svg-ba5iFIP6w06o5prs .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-ba5iFIP6w06o5prs .rough-node .label text,#mermaid-svg-ba5iFIP6w06o5prs .node .label text,#mermaid-svg-ba5iFIP6w06o5prs .image-shape .label,#mermaid-svg-ba5iFIP6w06o5prs .icon-shape .label{text-anchor:middle;}#mermaid-svg-ba5iFIP6w06o5prs .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-ba5iFIP6w06o5prs .rough-node .label,#mermaid-svg-ba5iFIP6w06o5prs .node .label,#mermaid-svg-ba5iFIP6w06o5prs .image-shape .label,#mermaid-svg-ba5iFIP6w06o5prs .icon-shape .label{text-align:center;}#mermaid-svg-ba5iFIP6w06o5prs .node.clickable{cursor:pointer;}#mermaid-svg-ba5iFIP6w06o5prs .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-ba5iFIP6w06o5prs .arrowheadPath{fill:#333333;}#mermaid-svg-ba5iFIP6w06o5prs .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-ba5iFIP6w06o5prs .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-ba5iFIP6w06o5prs .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ba5iFIP6w06o5prs .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-ba5iFIP6w06o5prs .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ba5iFIP6w06o5prs .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-ba5iFIP6w06o5prs .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-ba5iFIP6w06o5prs .cluster text{fill:#333;}#mermaid-svg-ba5iFIP6w06o5prs .cluster span{color:#333;}#mermaid-svg-ba5iFIP6w06o5prs div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-ba5iFIP6w06o5prs .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-ba5iFIP6w06o5prs rect.text{fill:none;stroke-width:0;}#mermaid-svg-ba5iFIP6w06o5prs .icon-shape,#mermaid-svg-ba5iFIP6w06o5prs .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ba5iFIP6w06o5prs .icon-shape p,#mermaid-svg-ba5iFIP6w06o5prs .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-ba5iFIP6w06o5prs .icon-shape .label rect,#mermaid-svg-ba5iFIP6w06o5prs .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ba5iFIP6w06o5prs .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-ba5iFIP6w06o5prs .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-ba5iFIP6w06o5prs :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

Modbus PDU(应用层)Function Code + Data(与变体无关)

Modbus RTU串口·二进制·CRC-16

Modbus ASCII串口·ASCII·LRC

Modbus TCP以太网·TCP 502·MBAP 头

Modbus UDP以太网·UDP 502

Modbus Server角色层概念

RTU over TCP串口服务器透传

ASCII over TCP

2.1.3 横评对比表

变体介质校验帧头开销节点数默认端口现状
Modbus RTU RS-232/485 CRC-16 4B 247 串口 主流
Modbus ASCII RS-232/485 LRC 7B+CRLF 247 串口 遗留
Modbus TCP 以太网 TCP 内置 7B MBAP 几乎无限 TCP 502 主流
Modbus UDP 以太网 UDP 无 7B MBAP 几乎无限 UDP 502 边缘
RTU over TCP 以太网 TCP+CRC 仅 TCP 247/连接 自定义 串口服务器标配

选型原则:看物理介质和设备规格书——同一种 PDU 走不同路,只影响你选择的库和帧头边界,业务语义完全一样。

调试 Top 坑:① 协议地址 vs 数据手册地址差 1;② 32 位/浮点寄存器的字节序拼接;③ RTU 帧间隔(3.5 字符时间)没设好;④ 走网关时 TCP 没设 Unit ID;⑤ 老设备单事务只支持读 1 个寄存器。

2.2 现场总线 Fieldbus:模拟时代的"数字革命"

现场总线是 1980–90 年代兴起的数字通信技术,用于替代传统 4–20 mA 模拟信号和点对点硬接线。共同价值是:一根线上挂多台仪表、双向数字通信、远程诊断。

2.2.1 PROFIBUS(DP/PA)

  • 组织:PI(PROFIBUS & PROFINET International)
  • DP(Decentralized Periphery):RS-485,最高 12 Mbit/s,主从式周期性,用于控制器 ↔ 分布式 I/O / 驱动器
  • PA(Process Automation):31.25 kbit/s,本质安全,物理层与 FF H1 相同(MBP),专用于流程仪表
  • 用 GSD 文件描述设备参数;在国内电力、冶金、市政等领域渗透率极高

#mermaid-svg-M7AcmAItkrxsn7Bh{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-M7AcmAItkrxsn7Bh .error-icon{fill:#552222;}#mermaid-svg-M7AcmAItkrxsn7Bh .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-M7AcmAItkrxsn7Bh .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-M7AcmAItkrxsn7Bh .marker{fill:#333333;stroke:#333333;}#mermaid-svg-M7AcmAItkrxsn7Bh .marker.cross{stroke:#333333;}#mermaid-svg-M7AcmAItkrxsn7Bh svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-M7AcmAItkrxsn7Bh p{margin:0;}#mermaid-svg-M7AcmAItkrxsn7Bh .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh .cluster-label text{fill:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh .cluster-label span{color:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh .cluster-label span p{background-color:transparent;}#mermaid-svg-M7AcmAItkrxsn7Bh .label text,#mermaid-svg-M7AcmAItkrxsn7Bh span{fill:#333;color:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh .node rect,#mermaid-svg-M7AcmAItkrxsn7Bh .node circle,#mermaid-svg-M7AcmAItkrxsn7Bh .node ellipse,#mermaid-svg-M7AcmAItkrxsn7Bh .node polygon,#mermaid-svg-M7AcmAItkrxsn7Bh .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-M7AcmAItkrxsn7Bh .rough-node .label text,#mermaid-svg-M7AcmAItkrxsn7Bh .node .label text,#mermaid-svg-M7AcmAItkrxsn7Bh .image-shape .label,#mermaid-svg-M7AcmAItkrxsn7Bh .icon-shape .label{text-anchor:middle;}#mermaid-svg-M7AcmAItkrxsn7Bh .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-M7AcmAItkrxsn7Bh .rough-node .label,#mermaid-svg-M7AcmAItkrxsn7Bh .node .label,#mermaid-svg-M7AcmAItkrxsn7Bh .image-shape .label,#mermaid-svg-M7AcmAItkrxsn7Bh .icon-shape .label{text-align:center;}#mermaid-svg-M7AcmAItkrxsn7Bh .node.clickable{cursor:pointer;}#mermaid-svg-M7AcmAItkrxsn7Bh .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-M7AcmAItkrxsn7Bh .arrowheadPath{fill:#333333;}#mermaid-svg-M7AcmAItkrxsn7Bh .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-M7AcmAItkrxsn7Bh .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-M7AcmAItkrxsn7Bh .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-M7AcmAItkrxsn7Bh .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-M7AcmAItkrxsn7Bh .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-M7AcmAItkrxsn7Bh .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-M7AcmAItkrxsn7Bh .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-M7AcmAItkrxsn7Bh .cluster text{fill:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh .cluster span{color:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-M7AcmAItkrxsn7Bh .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-M7AcmAItkrxsn7Bh rect.text{fill:none;stroke-width:0;}#mermaid-svg-M7AcmAItkrxsn7Bh .icon-shape,#mermaid-svg-M7AcmAItkrxsn7Bh .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-M7AcmAItkrxsn7Bh .icon-shape p,#mermaid-svg-M7AcmAItkrxsn7Bh .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-M7AcmAItkrxsn7Bh .icon-shape .label rect,#mermaid-svg-M7AcmAItkrxsn7Bh .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-M7AcmAItkrxsn7Bh .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-M7AcmAItkrxsn7Bh .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-M7AcmAItkrxsn7Bh :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

DP · 12 Mbit/s · RS-485

DP

PA · 31.25 kbit/s · 本安

PA

主站 控制器

从站 I/O

变频器

耦合器 DP/PA

压力变送器

温度变送器

2.2.2 HART:模拟信号上的"数字叠加"

  • 全称:Highway Addressable Remote Transducer,1986 年 Rosemount 推出
  • 本质:在标准 4–20 mA 模拟信号上叠加 FSK 数字信号(1200 bit/s),模拟量承载主变量,数字量承载参数/诊断
  • 现状:安装基数最大的现场仪表协议,几乎每块智能变送器都支持;HART 7 引入 WirelessHART(IEC 62591)

#mermaid-svg-4Z0iI9cuIqWkwn9D{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-4Z0iI9cuIqWkwn9D .error-icon{fill:#552222;}#mermaid-svg-4Z0iI9cuIqWkwn9D .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-4Z0iI9cuIqWkwn9D .marker{fill:#333333;stroke:#333333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .marker.cross{stroke:#333333;}#mermaid-svg-4Z0iI9cuIqWkwn9D svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-4Z0iI9cuIqWkwn9D p{margin:0;}#mermaid-svg-4Z0iI9cuIqWkwn9D .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .cluster-label text{fill:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .cluster-label span{color:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .cluster-label span p{background-color:transparent;}#mermaid-svg-4Z0iI9cuIqWkwn9D .label text,#mermaid-svg-4Z0iI9cuIqWkwn9D span{fill:#333;color:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .node rect,#mermaid-svg-4Z0iI9cuIqWkwn9D .node circle,#mermaid-svg-4Z0iI9cuIqWkwn9D .node ellipse,#mermaid-svg-4Z0iI9cuIqWkwn9D .node polygon,#mermaid-svg-4Z0iI9cuIqWkwn9D .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .rough-node .label text,#mermaid-svg-4Z0iI9cuIqWkwn9D .node .label text,#mermaid-svg-4Z0iI9cuIqWkwn9D .image-shape .label,#mermaid-svg-4Z0iI9cuIqWkwn9D .icon-shape .label{text-anchor:middle;}#mermaid-svg-4Z0iI9cuIqWkwn9D .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .rough-node .label,#mermaid-svg-4Z0iI9cuIqWkwn9D .node .label,#mermaid-svg-4Z0iI9cuIqWkwn9D .image-shape .label,#mermaid-svg-4Z0iI9cuIqWkwn9D .icon-shape .label{text-align:center;}#mermaid-svg-4Z0iI9cuIqWkwn9D .node.clickable{cursor:pointer;}#mermaid-svg-4Z0iI9cuIqWkwn9D .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .arrowheadPath{fill:#333333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-4Z0iI9cuIqWkwn9D .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-4Z0iI9cuIqWkwn9D .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-4Z0iI9cuIqWkwn9D .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-4Z0iI9cuIqWkwn9D .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .cluster text{fill:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D .cluster span{color:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-4Z0iI9cuIqWkwn9D .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-4Z0iI9cuIqWkwn9D rect.text{fill:none;stroke-width:0;}#mermaid-svg-4Z0iI9cuIqWkwn9D .icon-shape,#mermaid-svg-4Z0iI9cuIqWkwn9D .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-4Z0iI9cuIqWkwn9D .icon-shape p,#mermaid-svg-4Z0iI9cuIqWkwn9D .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-4Z0iI9cuIqWkwn9D .icon-shape .label rect,#mermaid-svg-4Z0iI9cuIqWkwn9D .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-4Z0iI9cuIqWkwn9D .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-4Z0iI9cuIqWkwn9D .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-4Z0iI9cuIqWkwn9D :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

4–20 mA 模拟主变量

同一对双绞线

FSK 数字信号 ±0.5 mA · 1200 bps

智能变送器 / 阀门定位器

2.2.3 FOUNDATION Fieldbus(FF):控制下放到现场

  • FF H1:31.25 kbit/s,本质安全、总线供电,最长 1900 m
  • FF HSE:100 Mbit/s 以太网骨干,连接 H1 网段
  • 最大特点——Control in the Field(控制在现场):FF 仪表内置标准功能块(AI、PID、AO),控制回路可直接在仪表间闭环执行,不依赖控制器

2.2.4 其他现场总线速查

协议主导特点主要市场
DeviceNet ODVA 基于 CAN,供电+通信 北美离散制造
CANopen CiA 基于 CAN,开放,CiA 301/402 欧洲、移动机器人、运动控制
CC-Link 三菱/CLPA 主从,日本工厂自动化 日本、亚洲
AS-i AS-Interface 极低成本二线制 全球离散
SERCOS I/II 德国驱动联盟 光纤环网,运动控制 欧洲驱动

2.3 工业以太网:把"确定性"做进以太网

21 世纪后,现场总线"速率低、网段分散"的短板日益明显,工业界转向基于标准以太网(IEEE 802.3)的实时通信。核心挑战只有一个:标准以太网的 CSMA/CD 冲突机制无法保证确定性,于是各家在"以太网之上"做了不同改造。

#mermaid-svg-3EsJv5Hvvx5mJ3Fw{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .error-icon{fill:#552222;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .marker{fill:#333333;stroke:#333333;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .marker.cross{stroke:#333333;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw p{margin:0;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge{stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section–1 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section–1 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section–1 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section–1 text{fill:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth–1{stroke-width:17;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-0 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-0 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-0 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-0 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-0{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-0{stroke-width:14;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-1 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-1 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-1 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-1 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-1{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-1{stroke-width:11;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-2 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-2 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-2 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-2 text{fill:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-2{stroke-width:8;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-3 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-3 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-3 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-3 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-3{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-3{stroke-width:5;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-4 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-4 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-4 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-4 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-4{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-4{stroke-width:2;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-5 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-5 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-5 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-5 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-5{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-5{stroke-width:-1;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-6 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-6 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-6 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-6 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-6{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-6{stroke-width:-4;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-7 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-7 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-7 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-7 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-7{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-7{stroke-width:-7;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-8 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-8 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-8 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-8 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-8{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-8{stroke-width:-10;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-9 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-9 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-9 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-9 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-9{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-9{stroke-width:-13;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-10 rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-10 path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-10 circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-10 text{fill:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .node-icon-10{font-size:40px;color:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge-depth-10{stroke-width:-16;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .lineWrapper line{stroke:black;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled circle,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:lightgray;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .disabled text{fill:#efefef;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-root rect,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-root path,#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-root circle{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .section-root text{fill:#ffffff;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .edge{fill:none;}#mermaid-svg-3EsJv5Hvvx5mJ3Fw .eventWrapper{filter:brightness(120%);}#mermaid-svg-3EsJv5Hvvx5mJ3Fw :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

2001

PROFINET

发布(PNO)

2001

EtherNet/IP

发布(ODVA)

2003

EtherCAT

发布(Beckhoff/ETG)

2003

POWERLINK

开源(B&R)

2006

PROFINET IRT

等时同步实时

2016

OPC UA PubSub 发布

2022

OPC UA FX C2C

标准发布

2023

Ethernet-APL

10BASE-T1L 落地

2025

IEC/IEEE 60802 TSN

工业 profile 发布

工业以太网演进脉络

2.3.1 PROFINET:一个协议、三档性能

PROFINET 完全复用标准以太网硬件,按实时性分三档:

#mermaid-svg-VpQfqHDtOXdXQCE4{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-VpQfqHDtOXdXQCE4 .error-icon{fill:#552222;}#mermaid-svg-VpQfqHDtOXdXQCE4 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-VpQfqHDtOXdXQCE4 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .marker.cross{stroke:#333333;}#mermaid-svg-VpQfqHDtOXdXQCE4 svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-VpQfqHDtOXdXQCE4 p{margin:0;}#mermaid-svg-VpQfqHDtOXdXQCE4 .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .cluster-label text{fill:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .cluster-label span{color:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .cluster-label span p{background-color:transparent;}#mermaid-svg-VpQfqHDtOXdXQCE4 .label text,#mermaid-svg-VpQfqHDtOXdXQCE4 span{fill:#333;color:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .node rect,#mermaid-svg-VpQfqHDtOXdXQCE4 .node circle,#mermaid-svg-VpQfqHDtOXdXQCE4 .node ellipse,#mermaid-svg-VpQfqHDtOXdXQCE4 .node polygon,#mermaid-svg-VpQfqHDtOXdXQCE4 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .rough-node .label text,#mermaid-svg-VpQfqHDtOXdXQCE4 .node .label text,#mermaid-svg-VpQfqHDtOXdXQCE4 .image-shape .label,#mermaid-svg-VpQfqHDtOXdXQCE4 .icon-shape .label{text-anchor:middle;}#mermaid-svg-VpQfqHDtOXdXQCE4 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .rough-node .label,#mermaid-svg-VpQfqHDtOXdXQCE4 .node .label,#mermaid-svg-VpQfqHDtOXdXQCE4 .image-shape .label,#mermaid-svg-VpQfqHDtOXdXQCE4 .icon-shape .label{text-align:center;}#mermaid-svg-VpQfqHDtOXdXQCE4 .node.clickable{cursor:pointer;}#mermaid-svg-VpQfqHDtOXdXQCE4 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .arrowheadPath{fill:#333333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-VpQfqHDtOXdXQCE4 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-VpQfqHDtOXdXQCE4 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-VpQfqHDtOXdXQCE4 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-VpQfqHDtOXdXQCE4 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .cluster text{fill:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 .cluster span{color:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-VpQfqHDtOXdXQCE4 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-VpQfqHDtOXdXQCE4 rect.text{fill:none;stroke-width:0;}#mermaid-svg-VpQfqHDtOXdXQCE4 .icon-shape,#mermaid-svg-VpQfqHDtOXdXQCE4 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-VpQfqHDtOXdXQCE4 .icon-shape p,#mermaid-svg-VpQfqHDtOXdXQCE4 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-VpQfqHDtOXdXQCE4 .icon-shape .label rect,#mermaid-svg-VpQfqHDtOXdXQCE4 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-VpQfqHDtOXdXQCE4 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-VpQfqHDtOXdXQCE4 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-VpQfqHDtOXdXQCE4 :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

IRT 等时同步实时(硬实时)

专用时隙 · <1 ms · 抖动 <1 μs · 运动控制

RT 实时(软实时)

周期 I/O · 1~10 ms · 跳过 IP 层 EtherType 0x8892

NRT 非实时(TCP/IP)

组态 · 诊断 · 参数 · 约 100 ms

  • 支持 S2 冗余、MRP 环网、PRP/HSR 网络冗余;
  • 主导市场:欧洲、中国,流程与离散两栖的最强选手之一。

2.3.2 EtherNet/IP:一套 CIP、多种介质

CIP(Common Industrial Protocol) 是 ODVA 维护的、独立于介质的应用层协议,统一贯穿 EtherNet/IP、DeviceNet、ControlNet、CompoNet:

#mermaid-svg-Y67GI2LQwOZ2WGaB{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-Y67GI2LQwOZ2WGaB .error-icon{fill:#552222;}#mermaid-svg-Y67GI2LQwOZ2WGaB .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-Y67GI2LQwOZ2WGaB .marker{fill:#333333;stroke:#333333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .marker.cross{stroke:#333333;}#mermaid-svg-Y67GI2LQwOZ2WGaB svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-Y67GI2LQwOZ2WGaB p{margin:0;}#mermaid-svg-Y67GI2LQwOZ2WGaB .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .cluster-label text{fill:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .cluster-label span{color:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .cluster-label span p{background-color:transparent;}#mermaid-svg-Y67GI2LQwOZ2WGaB .label text,#mermaid-svg-Y67GI2LQwOZ2WGaB span{fill:#333;color:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .node rect,#mermaid-svg-Y67GI2LQwOZ2WGaB .node circle,#mermaid-svg-Y67GI2LQwOZ2WGaB .node ellipse,#mermaid-svg-Y67GI2LQwOZ2WGaB .node polygon,#mermaid-svg-Y67GI2LQwOZ2WGaB .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .rough-node .label text,#mermaid-svg-Y67GI2LQwOZ2WGaB .node .label text,#mermaid-svg-Y67GI2LQwOZ2WGaB .image-shape .label,#mermaid-svg-Y67GI2LQwOZ2WGaB .icon-shape .label{text-anchor:middle;}#mermaid-svg-Y67GI2LQwOZ2WGaB .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .rough-node .label,#mermaid-svg-Y67GI2LQwOZ2WGaB .node .label,#mermaid-svg-Y67GI2LQwOZ2WGaB .image-shape .label,#mermaid-svg-Y67GI2LQwOZ2WGaB .icon-shape .label{text-align:center;}#mermaid-svg-Y67GI2LQwOZ2WGaB .node.clickable{cursor:pointer;}#mermaid-svg-Y67GI2LQwOZ2WGaB .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .arrowheadPath{fill:#333333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-Y67GI2LQwOZ2WGaB .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-Y67GI2LQwOZ2WGaB .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-Y67GI2LQwOZ2WGaB .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-Y67GI2LQwOZ2WGaB .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .cluster text{fill:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB .cluster span{color:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-Y67GI2LQwOZ2WGaB .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-Y67GI2LQwOZ2WGaB rect.text{fill:none;stroke-width:0;}#mermaid-svg-Y67GI2LQwOZ2WGaB .icon-shape,#mermaid-svg-Y67GI2LQwOZ2WGaB .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-Y67GI2LQwOZ2WGaB .icon-shape p,#mermaid-svg-Y67GI2LQwOZ2WGaB .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-Y67GI2LQwOZ2WGaB .icon-shape .label rect,#mermaid-svg-Y67GI2LQwOZ2WGaB .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-Y67GI2LQwOZ2WGaB .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-Y67GI2LQwOZ2WGaB .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-Y67GI2LQwOZ2WGaB :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

CIP 通用工业协议(对象模型 · I/O · 显式消息 · 安全 · 运动)

EtherNet/IPTCP 44818 / UDP 2222

DeviceNetCAN

ControlNet同轴/光纤

CompoNet

  • 隐式消息(Implicit / Class 1):UDP 多播,周期性实时 I/O 数据;
  • 显式消息(Explicit / Class 3):TCP 请求/应答,组态、诊断、读写;
  • 主导市场:北美、日本,Rockwell 为核心。

2.3.3 EtherCAT:最快的工业以太网

  • 原理:“飞读飞写”(Process on the Fly)——主站发出一帧,从站边转发边就地读写自己的数据位,无需逐站排队:

#mermaid-svg-rdWFmzvEGd0krTUk{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-rdWFmzvEGd0krTUk .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-rdWFmzvEGd0krTUk .error-icon{fill:#552222;}#mermaid-svg-rdWFmzvEGd0krTUk .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-rdWFmzvEGd0krTUk .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-rdWFmzvEGd0krTUk .marker{fill:#333333;stroke:#333333;}#mermaid-svg-rdWFmzvEGd0krTUk .marker.cross{stroke:#333333;}#mermaid-svg-rdWFmzvEGd0krTUk svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-rdWFmzvEGd0krTUk p{margin:0;}#mermaid-svg-rdWFmzvEGd0krTUk .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-rdWFmzvEGd0krTUk .cluster-label text{fill:#333;}#mermaid-svg-rdWFmzvEGd0krTUk .cluster-label span{color:#333;}#mermaid-svg-rdWFmzvEGd0krTUk .cluster-label span p{background-color:transparent;}#mermaid-svg-rdWFmzvEGd0krTUk .label text,#mermaid-svg-rdWFmzvEGd0krTUk span{fill:#333;color:#333;}#mermaid-svg-rdWFmzvEGd0krTUk .node rect,#mermaid-svg-rdWFmzvEGd0krTUk .node circle,#mermaid-svg-rdWFmzvEGd0krTUk .node ellipse,#mermaid-svg-rdWFmzvEGd0krTUk .node polygon,#mermaid-svg-rdWFmzvEGd0krTUk .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-rdWFmzvEGd0krTUk .rough-node .label text,#mermaid-svg-rdWFmzvEGd0krTUk .node .label text,#mermaid-svg-rdWFmzvEGd0krTUk .image-shape .label,#mermaid-svg-rdWFmzvEGd0krTUk .icon-shape .label{text-anchor:middle;}#mermaid-svg-rdWFmzvEGd0krTUk .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-rdWFmzvEGd0krTUk .rough-node .label,#mermaid-svg-rdWFmzvEGd0krTUk .node .label,#mermaid-svg-rdWFmzvEGd0krTUk .image-shape .label,#mermaid-svg-rdWFmzvEGd0krTUk .icon-shape .label{text-align:center;}#mermaid-svg-rdWFmzvEGd0krTUk .node.clickable{cursor:pointer;}#mermaid-svg-rdWFmzvEGd0krTUk .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-rdWFmzvEGd0krTUk .arrowheadPath{fill:#333333;}#mermaid-svg-rdWFmzvEGd0krTUk .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-rdWFmzvEGd0krTUk .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-rdWFmzvEGd0krTUk .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-rdWFmzvEGd0krTUk .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-rdWFmzvEGd0krTUk .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-rdWFmzvEGd0krTUk .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-rdWFmzvEGd0krTUk .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-rdWFmzvEGd0krTUk .cluster text{fill:#333;}#mermaid-svg-rdWFmzvEGd0krTUk .cluster span{color:#333;}#mermaid-svg-rdWFmzvEGd0krTUk div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-rdWFmzvEGd0krTUk .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-rdWFmzvEGd0krTUk rect.text{fill:none;stroke-width:0;}#mermaid-svg-rdWFmzvEGd0krTUk .icon-shape,#mermaid-svg-rdWFmzvEGd0krTUk .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-rdWFmzvEGd0krTUk .icon-shape p,#mermaid-svg-rdWFmzvEGd0krTUk .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-rdWFmzvEGd0krTUk .icon-shape .label rect,#mermaid-svg-rdWFmzvEGd0krTUk .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-rdWFmzvEGd0krTUk .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-rdWFmzvEGd0krTUk .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-rdWFmzvEGd0krTUk :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

主站

单个以太网帧在环上边传边处理

从站1 就地读写

从站2 就地读写

从站3 就地读写

  • 性能:1000 个分布式 I/O 点刷新约 30 μs,支持**分布式时钟(DC)**纳秒级同步;
  • 从站需专用 ESC 芯片;开源主站(Linux IgH)生态成熟;主导全球运动控制领域。

2.3.4 工业以太网横向对比

协议主导组织是否绕过 IP同步能力典型周期实时性
EtherCAT ETG(Beckhoff) 是(ESC 芯片) 分布式时钟 µs 级 ★★★★★
PROFINET IRT PI(Siemens) 是(专用芯片) 等时同步 31.25 µs 起 ★★★★
POWERLINK EPSG(B&R/ABB) 否(主从调度) 较强 百 µs 级 ★★★★
SERCOS III IG Sercos µs 级 ★★★★
CC-Link IE CLPA(三菱) 部分 较强 ms 级 ★★★
EtherNet/IP ODVA(Rockwell) 一般 ms 级 ★★★
Modbus TCP Modbus-IDA 10 ms+

2.4 信息集成层:OPC UA 与 MQTT

现场层解决"怎么把数据传上来",OPC UA 解决"数据怎么被理解和安全地共享"——这是打通 IT/OT 的关键。

2.4.1 OPC UA 的四大支柱

  • 信息建模:地址空间 + 配套规范(Companion Specs),让"温度值"带语义,而非裸字节;
  • 安全内置:X.509 证书、AES 加密、签名、角色权限;
  • 两种通信模式:Client/Server(请求应答)+ PubSub(发布订阅,支持 UDP/MQTT/AMQP);
  • 跨平台:从嵌入式到云端统一。
  • 2.4.2 OPC UA FX:向现场层进军

    OPC UA FX(Field eXchange,Parts 80–83) 是 OPC UA 向控制器与现场设备层延伸的关键一步:

    #mermaid-svg-SRHedxPTx5EK4VYv{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-SRHedxPTx5EK4VYv .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-SRHedxPTx5EK4VYv .error-icon{fill:#552222;}#mermaid-svg-SRHedxPTx5EK4VYv .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-SRHedxPTx5EK4VYv .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-SRHedxPTx5EK4VYv .marker{fill:#333333;stroke:#333333;}#mermaid-svg-SRHedxPTx5EK4VYv .marker.cross{stroke:#333333;}#mermaid-svg-SRHedxPTx5EK4VYv svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-SRHedxPTx5EK4VYv p{margin:0;}#mermaid-svg-SRHedxPTx5EK4VYv .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-SRHedxPTx5EK4VYv .cluster-label text{fill:#333;}#mermaid-svg-SRHedxPTx5EK4VYv .cluster-label span{color:#333;}#mermaid-svg-SRHedxPTx5EK4VYv .cluster-label span p{background-color:transparent;}#mermaid-svg-SRHedxPTx5EK4VYv .label text,#mermaid-svg-SRHedxPTx5EK4VYv span{fill:#333;color:#333;}#mermaid-svg-SRHedxPTx5EK4VYv .node rect,#mermaid-svg-SRHedxPTx5EK4VYv .node circle,#mermaid-svg-SRHedxPTx5EK4VYv .node ellipse,#mermaid-svg-SRHedxPTx5EK4VYv .node polygon,#mermaid-svg-SRHedxPTx5EK4VYv .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-SRHedxPTx5EK4VYv .rough-node .label text,#mermaid-svg-SRHedxPTx5EK4VYv .node .label text,#mermaid-svg-SRHedxPTx5EK4VYv .image-shape .label,#mermaid-svg-SRHedxPTx5EK4VYv .icon-shape .label{text-anchor:middle;}#mermaid-svg-SRHedxPTx5EK4VYv .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-SRHedxPTx5EK4VYv .rough-node .label,#mermaid-svg-SRHedxPTx5EK4VYv .node .label,#mermaid-svg-SRHedxPTx5EK4VYv .image-shape .label,#mermaid-svg-SRHedxPTx5EK4VYv .icon-shape .label{text-align:center;}#mermaid-svg-SRHedxPTx5EK4VYv .node.clickable{cursor:pointer;}#mermaid-svg-SRHedxPTx5EK4VYv .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-SRHedxPTx5EK4VYv .arrowheadPath{fill:#333333;}#mermaid-svg-SRHedxPTx5EK4VYv .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-SRHedxPTx5EK4VYv .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-SRHedxPTx5EK4VYv .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-SRHedxPTx5EK4VYv .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-SRHedxPTx5EK4VYv .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-SRHedxPTx5EK4VYv .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-SRHedxPTx5EK4VYv .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-SRHedxPTx5EK4VYv .cluster text{fill:#333;}#mermaid-svg-SRHedxPTx5EK4VYv .cluster span{color:#333;}#mermaid-svg-SRHedxPTx5EK4VYv div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-SRHedxPTx5EK4VYv .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-SRHedxPTx5EK4VYv rect.text{fill:none;stroke-width:0;}#mermaid-svg-SRHedxPTx5EK4VYv .icon-shape,#mermaid-svg-SRHedxPTx5EK4VYv .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-SRHedxPTx5EK4VYv .icon-shape p,#mermaid-svg-SRHedxPTx5EK4VYv .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-SRHedxPTx5EK4VYv .icon-shape .label rect,#mermaid-svg-SRHedxPTx5EK4VYv .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-SRHedxPTx5EK4VYv .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-SRHedxPTx5EK4VYv .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-SRHedxPTx5EK4VYv :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    OPC UA FX 现场级通信

    C2C 控制器↔控制器

    C2D 控制器↔设备

    D2D 设备↔设备

    over TSN 确定性传输

    PubSub UDP 多播

    Client/Server 组态与诊断

    • C2C(控制器对控制器)官方标准 2022 年发布,跨厂商 PLC 直接交换周期数据,取代厂商私有链路。

    2.4.3 MQTT / Sparkplug

    • MQTT:轻量发布订阅,OT 数据上云/上边缘的主流通道;
    • Sparkplug:MQTT 之上的工业主题/负载规范,定义统一数据模型。

    第三部分 · 厂商协议族

    开放标准之上,每家 PLC/DCS 厂商还自建一套垂直整合的协议栈。理解它们,是打通具体品牌生态的第一步。

    3.1 西门子 Siemens:S7 协议族

    西门子的协议生态分两条相对独立的链路:上位机链路(访问 PLC 内部数据)与现场总线链路(连接 PLC 与现场设备)。

    #mermaid-svg-73fCma7QeO4Mr0w5{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-73fCma7QeO4Mr0w5 .error-icon{fill:#552222;}#mermaid-svg-73fCma7QeO4Mr0w5 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-73fCma7QeO4Mr0w5 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-73fCma7QeO4Mr0w5 .marker.cross{stroke:#333333;}#mermaid-svg-73fCma7QeO4Mr0w5 svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-73fCma7QeO4Mr0w5 p{margin:0;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge{stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 text{fill:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth–1{stroke-width:17;}#mermaid-svg-73fCma7QeO4Mr0w5 .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-0{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-0{stroke-width:14;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-1{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-1{stroke-width:11;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 text{fill:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-2{stroke-width:8;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-3{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-3{stroke-width:5;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-4{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-4{stroke-width:2;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-5{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-5{stroke-width:-1;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-6{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-6{stroke-width:-4;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-7{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-7{stroke-width:-7;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-8{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-8{stroke-width:-10;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-9{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-9{stroke-width:-13;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 polygon,#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 text{fill:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .node-icon-10{font-size:40px;color:black;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .edge-depth-10{stroke-width:-16;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled circle,#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:lightgray;}#mermaid-svg-73fCma7QeO4Mr0w5 .disabled text{fill:#efefef;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-root rect,#mermaid-svg-73fCma7QeO4Mr0w5 .section-root path,#mermaid-svg-73fCma7QeO4Mr0w5 .section-root circle,#mermaid-svg-73fCma7QeO4Mr0w5 .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-73fCma7QeO4Mr0w5 .section-root text{fill:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-root span{color:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .section-2 span{color:#ffffff;}#mermaid-svg-73fCma7QeO4Mr0w5 .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-73fCma7QeO4Mr0w5 .edge{fill:none;}#mermaid-svg-73fCma7QeO4Mr0w5 .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-73fCma7QeO4Mr0w5 :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    西门子 S7 通信协议族

    现场总线层

    PROFINET RT / IRT

    PROFIBUS DP

    串口现场层

    PPI

    MPI

    以太网控制层

    S7 Communication

    ISO-on-TCP

    信息管理层

    Fetch/Write

    SIE WebApi

    OPC UA

    网关服务层

    S7 Virtual Server

    S7 PPI Server

    3.1.1 协议栈速查

    协议所在层传输端口主要场景
    PPI 现场 RS-485 187.5k S7-200 编程口
    MPI 控制 RS-485 12M S7-300/400 多点总线
    S7 Communication 控制 ISO-on-TCP TCP 102 最常用 S7 通讯
    Fetch/Write 信息 ISO-on-TCP TCP 102 第三方系统集成
    SIE WebApi 信息 HTTP/HTTPS 80/443 S7-1200/1500 REST
    OPC UA 上层 TCP 4840 工业 4.0 主协议
    PROFINET 现场 实时以太网 EtherType 0x8892 ET200SP / SINAMICS
    PROFIBUS DP 现场 RS-485 老车间

    3.1.2 S7 Communication 协议栈

    PLC CPU

    S7Comm (application)

    COTP (TPDU)

    TPKT (RFC1006)

    上位机

    PLC CPU

    S7Comm (application)

    COTP (TPDU)

    TPKT (RFC1006)

    上位机

    #mermaid-svg-nQKr2tLOZ4Mxbg0m{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .error-icon{fill:#552222;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .marker{fill:#333333;stroke:#333333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .marker.cross{stroke:#333333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-nQKr2tLOZ4Mxbg0m p{margin:0;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-nQKr2tLOZ4Mxbg0m text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .actor-line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-nQKr2tLOZ4Mxbg0m .innerArc{stroke-width:1.5;stroke-dasharray:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .sequenceNumber{fill:white;}#mermaid-svg-nQKr2tLOZ4Mxbg0m #sequencenumber{fill:#333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .messageText{fill:#333;stroke:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .labelText,#mermaid-svg-nQKr2tLOZ4Mxbg0m .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .loopText,#mermaid-svg-nQKr2tLOZ4Mxbg0m .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-nQKr2tLOZ4Mxbg0m .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .noteText,#mermaid-svg-nQKr2tLOZ4Mxbg0m .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .actorPopupMenu{position:absolute;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-nQKr2tLOZ4Mxbg0m .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-nQKr2tLOZ4Mxbg0m .actor-man circle,#mermaid-svg-nQKr2tLOZ4Mxbg0m line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-nQKr2tLOZ4Mxbg0m :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    TPKT Header (4B)

    1

    CR (Connect Request) → CC

    2

    Setup Communication (0xF0)

    3

    Read/Write Request (header + parameter + data)

    4

    Read/Write Response

    5

    Userdata | Data

    6

    • TPKT 端口 102,COTP 建链(CR/CC);
    • S7 帧头部固定 10–12 字节,后跟 Parameter 和 Data 区;
    • 常用功能码:0x04 Read、0x05 Write、0x28 PLC Control、0x1A~0x1F 程序上下载;
    • 开源实现:snap7(最稳)、libnodave、OpenS7。

    3.1.3 关键坑点

    • TSAP 配置:S7-300/400 默认 03.02(机架 0 槽 2),S7-1200/1500 默认 03.01(机架 0 槽 1);
    • PDU 大小协商:S7-300/400 最大 240–480B,S7-1200 4KB,S7-1500(S7-PLUS)64KB;
    • 优化 DB:S7-1200/1500 的 Optimized DB 无法绝对地址访问,需符号寻址或 WebApi。

    3.2 罗克韦尔 Rockwell / Allen-Bradley

    Rockwell 以 CIP(Common Industrial Protocol) 为核心,多种物理层和封装方式为载体,兼容 40 年来的设备谱系。

    #mermaid-svg-qjU9gzL3kx9dXfEX{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-qjU9gzL3kx9dXfEX .error-icon{fill:#552222;}#mermaid-svg-qjU9gzL3kx9dXfEX .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-qjU9gzL3kx9dXfEX .marker{fill:#333333;stroke:#333333;}#mermaid-svg-qjU9gzL3kx9dXfEX .marker.cross{stroke:#333333;}#mermaid-svg-qjU9gzL3kx9dXfEX svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-qjU9gzL3kx9dXfEX p{margin:0;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge{stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 text{fill:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth–1{stroke-width:17;}#mermaid-svg-qjU9gzL3kx9dXfEX .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-0{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-0{stroke-width:14;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-1{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-1{stroke-width:11;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 text{fill:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-2{stroke-width:8;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-3{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-3{stroke-width:5;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-4{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-4{stroke-width:2;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-5{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-5{stroke-width:-1;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-6{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-6{stroke-width:-4;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-7{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-7{stroke-width:-7;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-8{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-8{stroke-width:-10;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-9{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-9{stroke-width:-13;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 polygon,#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 text{fill:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .node-icon-10{font-size:40px;color:black;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .edge-depth-10{stroke-width:-16;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled circle,#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:lightgray;}#mermaid-svg-qjU9gzL3kx9dXfEX .disabled text{fill:#efefef;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-root rect,#mermaid-svg-qjU9gzL3kx9dXfEX .section-root path,#mermaid-svg-qjU9gzL3kx9dXfEX .section-root circle,#mermaid-svg-qjU9gzL3kx9dXfEX .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-qjU9gzL3kx9dXfEX .section-root text{fill:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-root span{color:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .section-2 span{color:#ffffff;}#mermaid-svg-qjU9gzL3kx9dXfEX .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-qjU9gzL3kx9dXfEX .edge{fill:none;}#mermaid-svg-qjU9gzL3kx9dXfEX .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-qjU9gzL3kx9dXfEX :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    Allen-Bradley 通讯协议族

    现代工业以太网

    EtherNet/IP CIP

    Connected CIP

    微型/边缘控制器

    Micro800

    兼容层/迁移层

    CIP PCCC

    CIP PCCC Server

    传统串行/专有网络

    DH-485

    DF1

    3.2.1 端口与寻址速查

    协议/模式物理层传输层默认端口控制器家族寻址方式
    EtherNet/IP CIP 以太网 TCP 44818 ControlLogix / CompactLogix 标签名(Symbolic)
    EtherNet/IP I/O 以太网 UDP 2222 Logix 系列 Assembly Instance
    PCCC over Ethernet 以太网 TCP 2222 PLC-5E / SLC 5/05 文件/元素(N7:0)
    DF1 RS-232/485 PLC-5 / SLC / MicroLogix 文件/元素
    DH-485 / SLC Net RS-485 SLC 500 / MicroLogix 文件/元素 + 节点

    3.2.2 三代演进

    #mermaid-svg-T6H3uEeWpuCF1hdI{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-T6H3uEeWpuCF1hdI .error-icon{fill:#552222;}#mermaid-svg-T6H3uEeWpuCF1hdI .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-T6H3uEeWpuCF1hdI .marker{fill:#333333;stroke:#333333;}#mermaid-svg-T6H3uEeWpuCF1hdI .marker.cross{stroke:#333333;}#mermaid-svg-T6H3uEeWpuCF1hdI svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-T6H3uEeWpuCF1hdI p{margin:0;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge{stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .section–1 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section–1 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section–1 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section–1 text{fill:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth–1{stroke-width:17;}#mermaid-svg-T6H3uEeWpuCF1hdI .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-0 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-0 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-0 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-0 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-0{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-0{stroke-width:14;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-1 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-1 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-1 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-1 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-1{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-1{stroke-width:11;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-2 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-2 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-2 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-2 text{fill:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-2{stroke-width:8;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-3 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-3 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-3 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-3 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-3{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-3{stroke-width:5;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-4 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-4 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-4 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-4 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-4{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-4{stroke-width:2;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-5 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-5 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-5 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-5 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-5{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-5{stroke-width:-1;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-6 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-6 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-6 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-6 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-6{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-6{stroke-width:-4;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-7 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-7 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-7 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-7 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-7{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-7{stroke-width:-7;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-8 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-8 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-8 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-8 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-8{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-8{stroke-width:-10;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-9 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-9 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-9 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-9 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-9{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-9{stroke-width:-13;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-10 rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-10 path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-10 circle,#mermaid-svg-T6H3uEeWpuCF1hdI .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-10 text{fill:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .node-icon-10{font-size:40px;color:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .edge-depth-10{stroke-width:-16;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-T6H3uEeWpuCF1hdI .lineWrapper line{stroke:black;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled circle,#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:lightgray;}#mermaid-svg-T6H3uEeWpuCF1hdI .disabled text{fill:#efefef;}#mermaid-svg-T6H3uEeWpuCF1hdI .section-root rect,#mermaid-svg-T6H3uEeWpuCF1hdI .section-root path,#mermaid-svg-T6H3uEeWpuCF1hdI .section-root circle{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-T6H3uEeWpuCF1hdI .section-root text{fill:#ffffff;}#mermaid-svg-T6H3uEeWpuCF1hdI .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-T6H3uEeWpuCF1hdI .edge{fill:none;}#mermaid-svg-T6H3uEeWpuCF1hdI .eventWrapper{filter:brightness(120%);}#mermaid-svg-T6H3uEeWpuCF1hdI :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    1980s

    PLC-5 / SLC 500

    时代

    DF1 串口协议 +

    PCCC 命令集

    DH+ / DH-485

    专有总线

    1990s

    SLC 500 扩展

    SLC Net / DH-485

    以太网萌芽 (PLC-5E,

    SLC 5/05)

    2000s

    Logix 平台兴起

    EtherNet/IP

    成为主流

    CIP 统一应用层

    2010s+

    Micro800 系列

    CIP Symbolic

    Addressing

    CIP Security /

    Motion / Safety

    Allen-Bradley 通讯协议演进

    3.2.3 给驱动开发者的提示

  • 先确认控制器家族:老设备 PCCC 文件寻址,Logix/Micro800 CIP 标签寻址,两者不可混用;
  • 端口别搞混:CIP 显式 TCP 44818,PCCC over Ethernet 常见 TCP 2222,I/O 隐式 UDP 2222;
  • Micro800 不是小号 ControlLogix:不支持复杂 backplane 路由,也不支持作为 CIP Scanner 做 Implicit I/O;
  • Logix 机架访问需路由路径:通过 ENBT/EN2T 访问背板 CPU 时须指定 backplane, slot;
  • DF1 没有以太网原生版:遇到"以太网走 DF1"实际是 PCCC 封装或串口服务器透传。
  • 3.3 三菱 Mitsubishi:MC 协议族

    三菱体系的特点是协议不统一——不同 PLC 家族(FX、A、Q/L、iQ-R)有不同的协议,再叠加 TCP/UDP、Binary/ASCII、Client/Server 三对交叉维度。

    #mermaid-svg-NesgF97xiKrbdU4p{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-NesgF97xiKrbdU4p .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-NesgF97xiKrbdU4p .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-NesgF97xiKrbdU4p .error-icon{fill:#552222;}#mermaid-svg-NesgF97xiKrbdU4p .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-NesgF97xiKrbdU4p .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-NesgF97xiKrbdU4p .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-NesgF97xiKrbdU4p .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-NesgF97xiKrbdU4p .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-NesgF97xiKrbdU4p .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-NesgF97xiKrbdU4p .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-NesgF97xiKrbdU4p .marker{fill:#333333;stroke:#333333;}#mermaid-svg-NesgF97xiKrbdU4p .marker.cross{stroke:#333333;}#mermaid-svg-NesgF97xiKrbdU4p svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-NesgF97xiKrbdU4p p{margin:0;}#mermaid-svg-NesgF97xiKrbdU4p .edge{stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .section–1 rect,#mermaid-svg-NesgF97xiKrbdU4p .section–1 path,#mermaid-svg-NesgF97xiKrbdU4p .section–1 circle,#mermaid-svg-NesgF97xiKrbdU4p .section–1 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section–1 text{fill:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth–1{stroke-width:17;}#mermaid-svg-NesgF97xiKrbdU4p .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-0 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-0 path,#mermaid-svg-NesgF97xiKrbdU4p .section-0 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-0 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-NesgF97xiKrbdU4p .section-0 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-0{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-0{stroke-width:14;}#mermaid-svg-NesgF97xiKrbdU4p .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-1 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-1 path,#mermaid-svg-NesgF97xiKrbdU4p .section-1 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-1 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-1 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-1{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-1{stroke-width:11;}#mermaid-svg-NesgF97xiKrbdU4p .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-2 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-2 path,#mermaid-svg-NesgF97xiKrbdU4p .section-2 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-2 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-2 text{fill:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-2{stroke-width:8;}#mermaid-svg-NesgF97xiKrbdU4p .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-3 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-3 path,#mermaid-svg-NesgF97xiKrbdU4p .section-3 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-3 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-3 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-3{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-3{stroke-width:5;}#mermaid-svg-NesgF97xiKrbdU4p .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-4 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-4 path,#mermaid-svg-NesgF97xiKrbdU4p .section-4 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-4 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-4 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-4{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-4{stroke-width:2;}#mermaid-svg-NesgF97xiKrbdU4p .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-5 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-5 path,#mermaid-svg-NesgF97xiKrbdU4p .section-5 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-5 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-5 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-5{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-5{stroke-width:-1;}#mermaid-svg-NesgF97xiKrbdU4p .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-6 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-6 path,#mermaid-svg-NesgF97xiKrbdU4p .section-6 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-6 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-6 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-6{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-6{stroke-width:-4;}#mermaid-svg-NesgF97xiKrbdU4p .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-7 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-7 path,#mermaid-svg-NesgF97xiKrbdU4p .section-7 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-7 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-7 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-7{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-7{stroke-width:-7;}#mermaid-svg-NesgF97xiKrbdU4p .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-8 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-8 path,#mermaid-svg-NesgF97xiKrbdU4p .section-8 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-8 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-8 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-8{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-8{stroke-width:-10;}#mermaid-svg-NesgF97xiKrbdU4p .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-9 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-9 path,#mermaid-svg-NesgF97xiKrbdU4p .section-9 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-9 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-9 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-9{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-9{stroke-width:-13;}#mermaid-svg-NesgF97xiKrbdU4p .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-10 rect,#mermaid-svg-NesgF97xiKrbdU4p .section-10 path,#mermaid-svg-NesgF97xiKrbdU4p .section-10 circle,#mermaid-svg-NesgF97xiKrbdU4p .section-10 polygon,#mermaid-svg-NesgF97xiKrbdU4p .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-10 text{fill:black;}#mermaid-svg-NesgF97xiKrbdU4p .node-icon-10{font-size:40px;color:black;}#mermaid-svg-NesgF97xiKrbdU4p .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .edge-depth-10{stroke-width:-16;}#mermaid-svg-NesgF97xiKrbdU4p .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-NesgF97xiKrbdU4p .disabled,#mermaid-svg-NesgF97xiKrbdU4p .disabled circle,#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:lightgray;}#mermaid-svg-NesgF97xiKrbdU4p .disabled text{fill:#efefef;}#mermaid-svg-NesgF97xiKrbdU4p .section-root rect,#mermaid-svg-NesgF97xiKrbdU4p .section-root path,#mermaid-svg-NesgF97xiKrbdU4p .section-root circle,#mermaid-svg-NesgF97xiKrbdU4p .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-NesgF97xiKrbdU4p .section-root text{fill:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .section-root span{color:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .section-2 span{color:#ffffff;}#mermaid-svg-NesgF97xiKrbdU4p .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-NesgF97xiKrbdU4p .edge{fill:none;}#mermaid-svg-NesgF97xiKrbdU4p .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-NesgF97xiKrbdU4p :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    三菱 PLC 通讯协议组

    通用工业

    CIP

    MC_QnA_3E4E

    MC_Binary

    MC_ASCII

    MC_Udp_Binary

    MC_Udp_ASCII

    MC_R

    MC_Virtual_Server

    MC_A_1E

    MC_A1E_Binary

    MC_A1E_ASCII

    MC_A1E_Server

    A_3C

    A3C_串口

    A3C_OverTcp

    A3C_Server

    FX

    FX_Serial

    FX_Serial_OverTcp

    FX_Links

    3.3.1 PLC 型号 → 推荐协议速查

    PLC 型号优先协议备选
    FX0S/FX1S/FX2N FX Serial 或 FX Links
    FX3G/FX3U FX Serial + MC Binary FX Links
    FX5U MC Binary(SLMP 兼容) EtherNet/IP
    A1S/A2N/A3N MC A-1E Binary A-3C
    Q02/Q03 老 Q MC R MC Binary
    QnA/Q/L 系列 MC Binary MC ASCII
    iQ-R MC Binary EtherNet/IP

    3.3.2 默认端口

    协议默认端口
    MC Binary / ASCII / Udp 5000(UDP 同)
    MC A-1E 5000
    A-3C 5001 或自定义
    EtherNet/IP 44818 / 2222

    选型口诀:真实 Q/L/iQ-R + 不犯错 → MC Binary;跨网段高实时 → UDP 版;老 PLC 只吃 ASCII → ASCII 版;无实物联调 → MC Virtual Server。

    3.4 欧姆龙 Omron:FINS + HostLink

    欧姆龙协议族既有私有的 FINS/HostLink,也有开放的 EtherNet/IP/CIP,在现代以太网机型中两者共存。

    #mermaid-svg-OWzFg5rkB8OEEyML{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-OWzFg5rkB8OEEyML .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-OWzFg5rkB8OEEyML .error-icon{fill:#552222;}#mermaid-svg-OWzFg5rkB8OEEyML .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-OWzFg5rkB8OEEyML .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-OWzFg5rkB8OEEyML .marker{fill:#333333;stroke:#333333;}#mermaid-svg-OWzFg5rkB8OEEyML .marker.cross{stroke:#333333;}#mermaid-svg-OWzFg5rkB8OEEyML svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-OWzFg5rkB8OEEyML p{margin:0;}#mermaid-svg-OWzFg5rkB8OEEyML .edge{stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .section–1 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section–1 path,#mermaid-svg-OWzFg5rkB8OEEyML .section–1 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section–1 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section–1 text{fill:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth–1{stroke-width:17;}#mermaid-svg-OWzFg5rkB8OEEyML .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-0 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-0 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-0 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-0 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-0 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-0{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-0{stroke-width:14;}#mermaid-svg-OWzFg5rkB8OEEyML .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-1 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-1 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-1 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-1 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-1 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-1{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-1{stroke-width:11;}#mermaid-svg-OWzFg5rkB8OEEyML .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-2 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-2 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-2 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-2 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-2 text{fill:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-2{stroke-width:8;}#mermaid-svg-OWzFg5rkB8OEEyML .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-3 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-3 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-3 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-3 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-3 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-3{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-3{stroke-width:5;}#mermaid-svg-OWzFg5rkB8OEEyML .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-4 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-4 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-4 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-4 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-4 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-4{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-4{stroke-width:2;}#mermaid-svg-OWzFg5rkB8OEEyML .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-5 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-5 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-5 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-5 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-5 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-5{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-5{stroke-width:-1;}#mermaid-svg-OWzFg5rkB8OEEyML .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-6 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-6 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-6 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-6 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-6 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-6{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-6{stroke-width:-4;}#mermaid-svg-OWzFg5rkB8OEEyML .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-7 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-7 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-7 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-7 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-7 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-7{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-7{stroke-width:-7;}#mermaid-svg-OWzFg5rkB8OEEyML .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-8 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-8 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-8 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-8 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-8 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-8{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-8{stroke-width:-10;}#mermaid-svg-OWzFg5rkB8OEEyML .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-9 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-9 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-9 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-9 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-9 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-9{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-9{stroke-width:-13;}#mermaid-svg-OWzFg5rkB8OEEyML .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-10 rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-10 path,#mermaid-svg-OWzFg5rkB8OEEyML .section-10 circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-10 polygon,#mermaid-svg-OWzFg5rkB8OEEyML .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-10 text{fill:black;}#mermaid-svg-OWzFg5rkB8OEEyML .node-icon-10{font-size:40px;color:black;}#mermaid-svg-OWzFg5rkB8OEEyML .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .edge-depth-10{stroke-width:-16;}#mermaid-svg-OWzFg5rkB8OEEyML .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled,#mermaid-svg-OWzFg5rkB8OEEyML .disabled circle,#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:lightgray;}#mermaid-svg-OWzFg5rkB8OEEyML .disabled text{fill:#efefef;}#mermaid-svg-OWzFg5rkB8OEEyML .section-root rect,#mermaid-svg-OWzFg5rkB8OEEyML .section-root path,#mermaid-svg-OWzFg5rkB8OEEyML .section-root circle,#mermaid-svg-OWzFg5rkB8OEEyML .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-OWzFg5rkB8OEEyML .section-root text{fill:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .section-root span{color:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .section-2 span{color:#ffffff;}#mermaid-svg-OWzFg5rkB8OEEyML .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-OWzFg5rkB8OEEyML .edge{fill:none;}#mermaid-svg-OWzFg5rkB8OEEyML .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-OWzFg5rkB8OEEyML :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    欧姆龙 PLC 协议封装

    FINS

    9600

    9600

    CIP / EtherNet/IP

    44818

    Connected CIP

    FINS Virtual CIP

    HostLink

    HostLink 串口

    HostLink C-Mode

    HostLink Over TCP

    服务端/仿真

    FINS UDP Server

    CIP Server

    3.4.1 FINS 报文结构

    FINS 报文 = FINS 头(10 字节)+ 命令码(2 字节)+ 参数/数据。核心字段:ICF(控制)、DNA/DA1/DA2(目标网络/节点/单元号)、SNA/SA1/SA2(源)、SID(匹配请求响应)。常用命令码:0101 读存储区、0102 写存储区、0501 读控制器状态。

    3.4.2 选型建议

    场景推荐
    新项目、以太网机型、上位机采集 FINS TCP
    局域网内高频轮询 FINS UDP
    实时控制、伺服联动 Connected CIP / EtherNet/IP
    旧型号、串口机型 HostLink 或 TCP 透传

    注意:FINS 数据为大端,CIP 数据多为小端,解析时注意字节序。

    3.5 倍福 Beckhoff:ADS + EtherCAT

    倍福是"工业 PC 化"最彻底的一家:TwinCAT 软 PLC + ADS 统一接口 + EtherCAT 实时总线,三个层级不分家。

    #mermaid-svg-AZD5DEsF9rxEqD8P{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-AZD5DEsF9rxEqD8P .error-icon{fill:#552222;}#mermaid-svg-AZD5DEsF9rxEqD8P .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-AZD5DEsF9rxEqD8P .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-AZD5DEsF9rxEqD8P .marker{fill:#333333;stroke:#333333;}#mermaid-svg-AZD5DEsF9rxEqD8P .marker.cross{stroke:#333333;}#mermaid-svg-AZD5DEsF9rxEqD8P svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-AZD5DEsF9rxEqD8P p{margin:0;}#mermaid-svg-AZD5DEsF9rxEqD8P .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P .cluster-label text{fill:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P .cluster-label span{color:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P .cluster-label span p{background-color:transparent;}#mermaid-svg-AZD5DEsF9rxEqD8P .label text,#mermaid-svg-AZD5DEsF9rxEqD8P span{fill:#333;color:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P .node rect,#mermaid-svg-AZD5DEsF9rxEqD8P .node circle,#mermaid-svg-AZD5DEsF9rxEqD8P .node ellipse,#mermaid-svg-AZD5DEsF9rxEqD8P .node polygon,#mermaid-svg-AZD5DEsF9rxEqD8P .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-AZD5DEsF9rxEqD8P .rough-node .label text,#mermaid-svg-AZD5DEsF9rxEqD8P .node .label text,#mermaid-svg-AZD5DEsF9rxEqD8P .image-shape .label,#mermaid-svg-AZD5DEsF9rxEqD8P .icon-shape .label{text-anchor:middle;}#mermaid-svg-AZD5DEsF9rxEqD8P .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-AZD5DEsF9rxEqD8P .rough-node .label,#mermaid-svg-AZD5DEsF9rxEqD8P .node .label,#mermaid-svg-AZD5DEsF9rxEqD8P .image-shape .label,#mermaid-svg-AZD5DEsF9rxEqD8P .icon-shape .label{text-align:center;}#mermaid-svg-AZD5DEsF9rxEqD8P .node.clickable{cursor:pointer;}#mermaid-svg-AZD5DEsF9rxEqD8P .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-AZD5DEsF9rxEqD8P .arrowheadPath{fill:#333333;}#mermaid-svg-AZD5DEsF9rxEqD8P .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-AZD5DEsF9rxEqD8P .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-AZD5DEsF9rxEqD8P .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-AZD5DEsF9rxEqD8P .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-AZD5DEsF9rxEqD8P .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-AZD5DEsF9rxEqD8P .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-AZD5DEsF9rxEqD8P .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-AZD5DEsF9rxEqD8P .cluster text{fill:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P .cluster span{color:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-AZD5DEsF9rxEqD8P .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-AZD5DEsF9rxEqD8P rect.text{fill:none;stroke-width:0;}#mermaid-svg-AZD5DEsF9rxEqD8P .icon-shape,#mermaid-svg-AZD5DEsF9rxEqD8P .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-AZD5DEsF9rxEqD8P .icon-shape p,#mermaid-svg-AZD5DEsF9rxEqD8P .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-AZD5DEsF9rxEqD8P .icon-shape .label rect,#mermaid-svg-AZD5DEsF9rxEqD8P .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-AZD5DEsF9rxEqD8P .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-AZD5DEsF9rxEqD8P .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-AZD5DEsF9rxEqD8P :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    物理层(多协议并行)

    TwinCAT Runtime

    ADS 路由层(统一访问层)

    应用层

    AMS NetId 寻址

    实时 EtherCAT 帧

    实时 EtherCAT 帧

    实时 EtherCAT 帧

    工程接口

    ADS / OPC UA / Modbus

    TwinCAT 3 工程

    SCADA / HMI / 自研上位机

    Ads Net 网络侧/客户端

    Ads Server 设备侧/服务端

    PLC 任务

    NC 运动控制

    IO 任务

    EtherCAT 默认现场总线

    TCP/UDP ADS Router

    Modbus TCP/RTU

    OPC UA Server

    EtherNet/IP Adapter

    3.5.1 ADS 关键概念

    概念说明
    AMS NetId 6 字节唯一地址,类 IP 但不依赖 IP(如 192.168.1.10.1.1)
    AMS Port 2 字节(PLC 任务常用 801,IO 100,System 10000)
    ADS Router 路由服务,每个 TwinCAT 节点跑一份
    传输通道 TCP/IP(默认)、UDP、共享内存(同机最优)

    工程经验:上位机读写量过大时用 AddNotification(订阅)而非轮询 Read,否则 CPU 跳涨;Notify 走事件驱动,带宽占用低两个数量级。

    3.6 松下 Panasonic:Mewtocol + MC 3E + RTEX

    松下 PLC 提供两类"语言":自家的 Mewtocol(ASCII),以及为兼容三菱生态引入的 MC 协议 3E 帧二进制。

    #mermaid-svg-OArWiab6r1ALueS4{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-OArWiab6r1ALueS4 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-OArWiab6r1ALueS4 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-OArWiab6r1ALueS4 .error-icon{fill:#552222;}#mermaid-svg-OArWiab6r1ALueS4 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-OArWiab6r1ALueS4 .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-OArWiab6r1ALueS4 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-OArWiab6r1ALueS4 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-OArWiab6r1ALueS4 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-OArWiab6r1ALueS4 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-OArWiab6r1ALueS4 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-OArWiab6r1ALueS4 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-OArWiab6r1ALueS4 .marker.cross{stroke:#333333;}#mermaid-svg-OArWiab6r1ALueS4 svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-OArWiab6r1ALueS4 p{margin:0;}#mermaid-svg-OArWiab6r1ALueS4 .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-OArWiab6r1ALueS4 .cluster-label text{fill:#333;}#mermaid-svg-OArWiab6r1ALueS4 .cluster-label span{color:#333;}#mermaid-svg-OArWiab6r1ALueS4 .cluster-label span p{background-color:transparent;}#mermaid-svg-OArWiab6r1ALueS4 .label text,#mermaid-svg-OArWiab6r1ALueS4 span{fill:#333;color:#333;}#mermaid-svg-OArWiab6r1ALueS4 .node rect,#mermaid-svg-OArWiab6r1ALueS4 .node circle,#mermaid-svg-OArWiab6r1ALueS4 .node ellipse,#mermaid-svg-OArWiab6r1ALueS4 .node polygon,#mermaid-svg-OArWiab6r1ALueS4 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-OArWiab6r1ALueS4 .rough-node .label text,#mermaid-svg-OArWiab6r1ALueS4 .node .label text,#mermaid-svg-OArWiab6r1ALueS4 .image-shape .label,#mermaid-svg-OArWiab6r1ALueS4 .icon-shape .label{text-anchor:middle;}#mermaid-svg-OArWiab6r1ALueS4 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-OArWiab6r1ALueS4 .rough-node .label,#mermaid-svg-OArWiab6r1ALueS4 .node .label,#mermaid-svg-OArWiab6r1ALueS4 .image-shape .label,#mermaid-svg-OArWiab6r1ALueS4 .icon-shape .label{text-align:center;}#mermaid-svg-OArWiab6r1ALueS4 .node.clickable{cursor:pointer;}#mermaid-svg-OArWiab6r1ALueS4 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-OArWiab6r1ALueS4 .arrowheadPath{fill:#333333;}#mermaid-svg-OArWiab6r1ALueS4 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-OArWiab6r1ALueS4 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-OArWiab6r1ALueS4 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-OArWiab6r1ALueS4 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-OArWiab6r1ALueS4 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-OArWiab6r1ALueS4 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-OArWiab6r1ALueS4 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-OArWiab6r1ALueS4 .cluster text{fill:#333;}#mermaid-svg-OArWiab6r1ALueS4 .cluster span{color:#333;}#mermaid-svg-OArWiab6r1ALueS4 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-OArWiab6r1ALueS4 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-OArWiab6r1ALueS4 rect.text{fill:none;stroke-width:0;}#mermaid-svg-OArWiab6r1ALueS4 .icon-shape,#mermaid-svg-OArWiab6r1ALueS4 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-OArWiab6r1ALueS4 .icon-shape p,#mermaid-svg-OArWiab6r1ALueS4 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-OArWiab6r1ALueS4 .icon-shape .label rect,#mermaid-svg-OArWiab6r1ALueS4 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-OArWiab6r1ALueS4 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-OArWiab6r1ALueS4 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-OArWiab6r1ALueS4 :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    Panasonic 协议命名空间

    Panasonic Plc

    Pan Mc_3EBinary 三菱 MC 3E 帧

    Pan Mewtocol松下原生 ASCII

    Pan MewtocolOverTcpTCP 透传

    Pan Mewtocol Server

    3.6.1 核心成员

    协议接口端口定位
    Mewtocol RS232C/RS485 松下原生 ASCII,调试/legacy
    MewtocolOverTcp Ethernet 2000 串口转网、远程维护
    MC Protocol 3E Binary Ethernet 5001/1025 等 大数据量、三菱兼容
    Modbus TCP/RTU Ethernet/RS485 502 第三方仪表
    RTEX 100 Mbps 环网 MINAS A6N 多轴高速同步

    3.6.2 Mewtocol 帧结构

    一个完整帧包含 5 部分:%(帧头)+ 站号 + 文本(命令字 + 地址/长度 + 数据)+ BCC(异或校验)+ CR。典型读命令:%01#RCSX0000100\\r。

    BCC 坑:很多人漏算帧头 %,或把终止符 \\r 也纳入校验;正确做法是"从帧头到文本末(不含 BCC 和 CR)"逐字节 XOR。

    3.7 基恩士 Keyence:MC-3E + Nano

    KEYENCE 的协议族围绕"新老 PLC 兼容"展开:

    #mermaid-svg-NoExbbaPtcIAgyU5{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-NoExbbaPtcIAgyU5 .error-icon{fill:#552222;}#mermaid-svg-NoExbbaPtcIAgyU5 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-NoExbbaPtcIAgyU5 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-NoExbbaPtcIAgyU5 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-NoExbbaPtcIAgyU5 .marker.cross{stroke:#333333;}#mermaid-svg-NoExbbaPtcIAgyU5 svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-NoExbbaPtcIAgyU5 p{margin:0;}#mermaid-svg-NoExbbaPtcIAgyU5 .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 .cluster-label text{fill:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 .cluster-label span{color:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 .cluster-label span p{background-color:transparent;}#mermaid-svg-NoExbbaPtcIAgyU5 .label text,#mermaid-svg-NoExbbaPtcIAgyU5 span{fill:#333;color:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 .node rect,#mermaid-svg-NoExbbaPtcIAgyU5 .node circle,#mermaid-svg-NoExbbaPtcIAgyU5 .node ellipse,#mermaid-svg-NoExbbaPtcIAgyU5 .node polygon,#mermaid-svg-NoExbbaPtcIAgyU5 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-NoExbbaPtcIAgyU5 .rough-node .label text,#mermaid-svg-NoExbbaPtcIAgyU5 .node .label text,#mermaid-svg-NoExbbaPtcIAgyU5 .image-shape .label,#mermaid-svg-NoExbbaPtcIAgyU5 .icon-shape .label{text-anchor:middle;}#mermaid-svg-NoExbbaPtcIAgyU5 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-NoExbbaPtcIAgyU5 .rough-node .label,#mermaid-svg-NoExbbaPtcIAgyU5 .node .label,#mermaid-svg-NoExbbaPtcIAgyU5 .image-shape .label,#mermaid-svg-NoExbbaPtcIAgyU5 .icon-shape .label{text-align:center;}#mermaid-svg-NoExbbaPtcIAgyU5 .node.clickable{cursor:pointer;}#mermaid-svg-NoExbbaPtcIAgyU5 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-NoExbbaPtcIAgyU5 .arrowheadPath{fill:#333333;}#mermaid-svg-NoExbbaPtcIAgyU5 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-NoExbbaPtcIAgyU5 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-NoExbbaPtcIAgyU5 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-NoExbbaPtcIAgyU5 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-NoExbbaPtcIAgyU5 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-NoExbbaPtcIAgyU5 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-NoExbbaPtcIAgyU5 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-NoExbbaPtcIAgyU5 .cluster text{fill:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 .cluster span{color:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-NoExbbaPtcIAgyU5 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-NoExbbaPtcIAgyU5 rect.text{fill:none;stroke-width:0;}#mermaid-svg-NoExbbaPtcIAgyU5 .icon-shape,#mermaid-svg-NoExbbaPtcIAgyU5 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-NoExbbaPtcIAgyU5 .icon-shape p,#mermaid-svg-NoExbbaPtcIAgyU5 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-NoExbbaPtcIAgyU5 .icon-shape .label rect,#mermaid-svg-NoExbbaPtcIAgyU5 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-NoExbbaPtcIAgyU5 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-NoExbbaPtcIAgyU5 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-NoExbbaPtcIAgyU5 :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    Keyence Plc

    PLC 核心协议

    智能外设协议

    MC-3E Binary / ASCII

    Nano ASCII 串口

    Nano OverTCP

    KV300 / Older

    SR-2000 读码器

    DL-EN1 传感器单元

    3.7.1 一句话结论

    • KV-7000/8000 及较新 PLC → MC-3E(Binary),端口 5000;
    • KV-5000/3000/1000/700、Nano 系列 → Nano 上位链路协议,串口或 TCP 8501;
    • 老型号 KV-300 / Visual KV → Host Link / KV 协议(Older),串口 ASCII;
    • 读码器 SR-2000 → MC 协议、EtherNet/IP、PROFINET、无协议等多种方式;
    • 位移传感器 DL-EN1 → TCP Socket 无协议 ASCII,默认端口 64000(不是 8500)。

    3.7.2 关键坑

    • 站号/网络号:KEYENCE MC-3E 默认都是 0,不要照搬三菱多站经验;
    • 二进制开关:MC-3E 推荐二进制,吞吐更高;
    • DL-EN1 端口:默认 64000,8500 是系统保留。

    3.8 汇川 Inovance:国产"自有 + 开放"双轨

    汇川是国产自动化代表,协议生态更扁平——围绕核心设备类型形成协议簇:

    #mermaid-svg-BDyRcFYcCCtU3gxM{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-BDyRcFYcCCtU3gxM .error-icon{fill:#552222;}#mermaid-svg-BDyRcFYcCCtU3gxM .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-BDyRcFYcCCtU3gxM .marker{fill:#333333;stroke:#333333;}#mermaid-svg-BDyRcFYcCCtU3gxM .marker.cross{stroke:#333333;}#mermaid-svg-BDyRcFYcCCtU3gxM svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-BDyRcFYcCCtU3gxM p{margin:0;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge{stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 text{fill:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth–1{stroke-width:17;}#mermaid-svg-BDyRcFYcCCtU3gxM .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-0{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-0{stroke-width:14;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-1{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-1{stroke-width:11;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 text{fill:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-2{stroke-width:8;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-3{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-3{stroke-width:5;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-4{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-4{stroke-width:2;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-5{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-5{stroke-width:-1;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-6{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-6{stroke-width:-4;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-7{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-7{stroke-width:-7;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-8{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-8{stroke-width:-10;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-9{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-9{stroke-width:-13;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 polygon,#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 text{fill:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .node-icon-10{font-size:40px;color:black;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .edge-depth-10{stroke-width:-16;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled circle,#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:lightgray;}#mermaid-svg-BDyRcFYcCCtU3gxM .disabled text{fill:#efefef;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-root rect,#mermaid-svg-BDyRcFYcCCtU3gxM .section-root path,#mermaid-svg-BDyRcFYcCCtU3gxM .section-root circle,#mermaid-svg-BDyRcFYcCCtU3gxM .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-BDyRcFYcCCtU3gxM .section-root text{fill:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-root span{color:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .section-2 span{color:#ffffff;}#mermaid-svg-BDyRcFYcCCtU3gxM .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-BDyRcFYcCCtU3gxM .edge{fill:none;}#mermaid-svg-BDyRcFYcCCtU3gxM .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-BDyRcFYcCCtU3gxM :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    汇川通信协议族

    PLC 串口链路

    InovanceSerial

    InovanceComputerLink

    PLC 以太网链路

    InovanceTcpNet

    伺服/变频器链路

    EasyNet

    ConnectedClp

    开放标准

    Modbus RTU / TCP

    CANopen

    EtherCAT

    PROFINET

    3.8.1 核心协议定位

    协议应用对象定位
    InovanceSerial H3U/H5U 自有串口协议,类似 PPI
    InovanceComputerLink H3U/H5U 兼容三菱 Computer Link
    InovanceTcpNet H5U/AM400/600/AC800 自有以太网,对标 S7 Communication
    EasyNet SV660/SV680/MD500 伺服/变频器专用
    ConnectedClp SV680/AC800 高端多轴同步(抖动 <1ms)

    3.8.2 设备与协议支持矩阵(节选)

    协议H3UH5UAM600AC800SV660SV680MD500
    InovanceSerial
    InovanceTcpNet
    EasyNet
    Modbus RTU
    Modbus TCP
    EtherCAT
    PROFINET

    3.9 DCS 厂商:骨干网私有协议

    DCS(集散控制系统)区别于 PLC 体系的重要特征,是其骨干网(Backbone)协议——用于控制器、服务器、操作员站之间的高可靠实时互联。

    厂商系统骨干网/专用协议特点
    Honeywell Experion PKS FTE(容错以太网) 物理冗余+逻辑单网,<1s 切换
    Emerson DeltaV / Ovation 冗余控制网 深度集成 HART + FF
    Yokogawa CENTUM VP Vnet/IP 1 Gbps 全冗余
    ABB 800xA PROFINET / EtherNet/IP 早期 MasterBus/AF100 已统一
    Siemens PCS 7 冗余工业以太网 复用 SIMATIC 生态
    和利时 HOLLiAS MACS 自研实时内核 火电国产第一,兼容龙芯/飞腾
    中控技术 ECS-700 标准协议丰富 化工龙头
    国能智深 iDCS 全栈国产 国家能源集团自研

    #mermaid-svg-dwx3pe5MRrQgaAFL{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-dwx3pe5MRrQgaAFL .error-icon{fill:#552222;}#mermaid-svg-dwx3pe5MRrQgaAFL .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-dwx3pe5MRrQgaAFL .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-dwx3pe5MRrQgaAFL .marker{fill:#333333;stroke:#333333;}#mermaid-svg-dwx3pe5MRrQgaAFL .marker.cross{stroke:#333333;}#mermaid-svg-dwx3pe5MRrQgaAFL svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-dwx3pe5MRrQgaAFL p{margin:0;}#mermaid-svg-dwx3pe5MRrQgaAFL .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL .cluster-label text{fill:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL .cluster-label span{color:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL .cluster-label span p{background-color:transparent;}#mermaid-svg-dwx3pe5MRrQgaAFL .label text,#mermaid-svg-dwx3pe5MRrQgaAFL span{fill:#333;color:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL .node rect,#mermaid-svg-dwx3pe5MRrQgaAFL .node circle,#mermaid-svg-dwx3pe5MRrQgaAFL .node ellipse,#mermaid-svg-dwx3pe5MRrQgaAFL .node polygon,#mermaid-svg-dwx3pe5MRrQgaAFL .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-dwx3pe5MRrQgaAFL .rough-node .label text,#mermaid-svg-dwx3pe5MRrQgaAFL .node .label text,#mermaid-svg-dwx3pe5MRrQgaAFL .image-shape .label,#mermaid-svg-dwx3pe5MRrQgaAFL .icon-shape .label{text-anchor:middle;}#mermaid-svg-dwx3pe5MRrQgaAFL .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-dwx3pe5MRrQgaAFL .rough-node .label,#mermaid-svg-dwx3pe5MRrQgaAFL .node .label,#mermaid-svg-dwx3pe5MRrQgaAFL .image-shape .label,#mermaid-svg-dwx3pe5MRrQgaAFL .icon-shape .label{text-align:center;}#mermaid-svg-dwx3pe5MRrQgaAFL .node.clickable{cursor:pointer;}#mermaid-svg-dwx3pe5MRrQgaAFL .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-dwx3pe5MRrQgaAFL .arrowheadPath{fill:#333333;}#mermaid-svg-dwx3pe5MRrQgaAFL .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-dwx3pe5MRrQgaAFL .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-dwx3pe5MRrQgaAFL .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-dwx3pe5MRrQgaAFL .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-dwx3pe5MRrQgaAFL .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-dwx3pe5MRrQgaAFL .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-dwx3pe5MRrQgaAFL .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-dwx3pe5MRrQgaAFL .cluster text{fill:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL .cluster span{color:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-dwx3pe5MRrQgaAFL .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-dwx3pe5MRrQgaAFL rect.text{fill:none;stroke-width:0;}#mermaid-svg-dwx3pe5MRrQgaAFL .icon-shape,#mermaid-svg-dwx3pe5MRrQgaAFL .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-dwx3pe5MRrQgaAFL .icon-shape p,#mermaid-svg-dwx3pe5MRrQgaAFL .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-dwx3pe5MRrQgaAFL .icon-shape .label rect,#mermaid-svg-dwx3pe5MRrQgaAFL .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-dwx3pe5MRrQgaAFL .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-dwx3pe5MRrQgaAFL .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-dwx3pe5MRrQgaAFL :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    上层交换机 A

    上层交换机 B

    下层交换机 A

    下层交换机 B

    控制器 C300

    服务器/操作站

    Honeywell FTE 任意两设备间最多 4 条独立路径,故障检测与路径切换 <1 秒。


    第四部分 · 机器人通信协议

    机器人不是孤立执行器,而是多子系统实时协作的复杂机电系统,没有一种协议能通吃,于是形成"协议组"。

    #mermaid-svg-tTmwslbMrvGw5thc{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-tTmwslbMrvGw5thc .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-tTmwslbMrvGw5thc .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-tTmwslbMrvGw5thc .error-icon{fill:#552222;}#mermaid-svg-tTmwslbMrvGw5thc .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-tTmwslbMrvGw5thc .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-tTmwslbMrvGw5thc .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-tTmwslbMrvGw5thc .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-tTmwslbMrvGw5thc .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-tTmwslbMrvGw5thc .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-tTmwslbMrvGw5thc .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-tTmwslbMrvGw5thc .marker{fill:#333333;stroke:#333333;}#mermaid-svg-tTmwslbMrvGw5thc .marker.cross{stroke:#333333;}#mermaid-svg-tTmwslbMrvGw5thc svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-tTmwslbMrvGw5thc p{margin:0;}#mermaid-svg-tTmwslbMrvGw5thc .edge{stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .section–1 rect,#mermaid-svg-tTmwslbMrvGw5thc .section–1 path,#mermaid-svg-tTmwslbMrvGw5thc .section–1 circle,#mermaid-svg-tTmwslbMrvGw5thc .section–1 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section–1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section–1 text{fill:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon–1{font-size:40px;color:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge–1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth–1{stroke-width:17;}#mermaid-svg-tTmwslbMrvGw5thc .section–1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-0 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-0 path,#mermaid-svg-tTmwslbMrvGw5thc .section-0 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-0 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-tTmwslbMrvGw5thc .section-0 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-0{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-0{stroke-width:14;}#mermaid-svg-tTmwslbMrvGw5thc .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-1 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-1 path,#mermaid-svg-tTmwslbMrvGw5thc .section-1 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-1 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-1 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-1{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-1{stroke-width:11;}#mermaid-svg-tTmwslbMrvGw5thc .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-2 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-2 path,#mermaid-svg-tTmwslbMrvGw5thc .section-2 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-2 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-2 text{fill:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-2{stroke-width:8;}#mermaid-svg-tTmwslbMrvGw5thc .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-3 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-3 path,#mermaid-svg-tTmwslbMrvGw5thc .section-3 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-3 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-3 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-3{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-3{stroke-width:5;}#mermaid-svg-tTmwslbMrvGw5thc .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-4 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-4 path,#mermaid-svg-tTmwslbMrvGw5thc .section-4 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-4 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-4 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-4{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-4{stroke-width:2;}#mermaid-svg-tTmwslbMrvGw5thc .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-5 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-5 path,#mermaid-svg-tTmwslbMrvGw5thc .section-5 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-5 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-5 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-5{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-5{stroke-width:-1;}#mermaid-svg-tTmwslbMrvGw5thc .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-6 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-6 path,#mermaid-svg-tTmwslbMrvGw5thc .section-6 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-6 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-6 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-6{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-6{stroke-width:-4;}#mermaid-svg-tTmwslbMrvGw5thc .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-7 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-7 path,#mermaid-svg-tTmwslbMrvGw5thc .section-7 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-7 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-7 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-7{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-7{stroke-width:-7;}#mermaid-svg-tTmwslbMrvGw5thc .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-8 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-8 path,#mermaid-svg-tTmwslbMrvGw5thc .section-8 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-8 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-8 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-8{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-8{stroke-width:-10;}#mermaid-svg-tTmwslbMrvGw5thc .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-9 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-9 path,#mermaid-svg-tTmwslbMrvGw5thc .section-9 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-9 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-9 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-9{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-9{stroke-width:-13;}#mermaid-svg-tTmwslbMrvGw5thc .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-10 rect,#mermaid-svg-tTmwslbMrvGw5thc .section-10 path,#mermaid-svg-tTmwslbMrvGw5thc .section-10 circle,#mermaid-svg-tTmwslbMrvGw5thc .section-10 polygon,#mermaid-svg-tTmwslbMrvGw5thc .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-10 text{fill:black;}#mermaid-svg-tTmwslbMrvGw5thc .node-icon-10{font-size:40px;color:black;}#mermaid-svg-tTmwslbMrvGw5thc .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .edge-depth-10{stroke-width:-16;}#mermaid-svg-tTmwslbMrvGw5thc .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-tTmwslbMrvGw5thc .disabled,#mermaid-svg-tTmwslbMrvGw5thc .disabled circle,#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:lightgray;}#mermaid-svg-tTmwslbMrvGw5thc .disabled text{fill:#efefef;}#mermaid-svg-tTmwslbMrvGw5thc .section-root rect,#mermaid-svg-tTmwslbMrvGw5thc .section-root path,#mermaid-svg-tTmwslbMrvGw5thc .section-root circle,#mermaid-svg-tTmwslbMrvGw5thc .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-tTmwslbMrvGw5thc .section-root text{fill:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .section-root span{color:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .section-2 span{color:#ffffff;}#mermaid-svg-tTmwslbMrvGw5thc .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-tTmwslbMrvGw5thc .edge{fill:none;}#mermaid-svg-tTmwslbMrvGw5thc .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-tTmwslbMrvGw5thc :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    机器人通讯协议组

    现场总线

    PROFIBUS-DP

    CANopen

    DeviceNet

    Modbus RTU

    SERCOS

    工业以太网

    PROFINET RT / IRT

    EtherCAT

    EtherNet/IP

    POWERLINK

    厂商私有协议

    FANUC

    KUKA

    ABB

    YASKAWA

    应用与中间件

    OPC UA

    MQTT

    ROS / ROS2

    DDS

    gRPC / REST

    4.1 机器人厂商私有协议

    厂商核心接口实时能力说明
    FANUC FOCAS/Ethernet 程序/状态访问,PC Developer’s Kit
    KUKA KUKA.Ethernet KRL XML / RSI RSI 周期 4 ms RSI 实时引导(力控/视觉伺服)
    ABB EGM / RTC EGM 250µs–4ms 外部引导运动
    YASKAWA MotoCom32 / HSES HSES 高速实时数据接口

    集成要点:私有协议实时性越强(ABB EGM、KUKA RSI),门槛与授权费越高;若只需状态监控与程序控制,标准总线(PROFINET/Modbus TCP)往往更经济通用。

    4.2 应用层中间件:ROS / ROS 2 / DDS

    #mermaid-svg-toloABuHJynFp3Mz{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-toloABuHJynFp3Mz .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-toloABuHJynFp3Mz .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-toloABuHJynFp3Mz .error-icon{fill:#552222;}#mermaid-svg-toloABuHJynFp3Mz .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-toloABuHJynFp3Mz .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-toloABuHJynFp3Mz .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-toloABuHJynFp3Mz .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-toloABuHJynFp3Mz .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-toloABuHJynFp3Mz .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-toloABuHJynFp3Mz .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-toloABuHJynFp3Mz .marker{fill:#333333;stroke:#333333;}#mermaid-svg-toloABuHJynFp3Mz .marker.cross{stroke:#333333;}#mermaid-svg-toloABuHJynFp3Mz svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-toloABuHJynFp3Mz p{margin:0;}#mermaid-svg-toloABuHJynFp3Mz .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-toloABuHJynFp3Mz .cluster-label text{fill:#333;}#mermaid-svg-toloABuHJynFp3Mz .cluster-label span{color:#333;}#mermaid-svg-toloABuHJynFp3Mz .cluster-label span p{background-color:transparent;}#mermaid-svg-toloABuHJynFp3Mz .label text,#mermaid-svg-toloABuHJynFp3Mz span{fill:#333;color:#333;}#mermaid-svg-toloABuHJynFp3Mz .node rect,#mermaid-svg-toloABuHJynFp3Mz .node circle,#mermaid-svg-toloABuHJynFp3Mz .node ellipse,#mermaid-svg-toloABuHJynFp3Mz .node polygon,#mermaid-svg-toloABuHJynFp3Mz .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-toloABuHJynFp3Mz .rough-node .label text,#mermaid-svg-toloABuHJynFp3Mz .node .label text,#mermaid-svg-toloABuHJynFp3Mz .image-shape .label,#mermaid-svg-toloABuHJynFp3Mz .icon-shape .label{text-anchor:middle;}#mermaid-svg-toloABuHJynFp3Mz .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-toloABuHJynFp3Mz .rough-node .label,#mermaid-svg-toloABuHJynFp3Mz .node .label,#mermaid-svg-toloABuHJynFp3Mz .image-shape .label,#mermaid-svg-toloABuHJynFp3Mz .icon-shape .label{text-align:center;}#mermaid-svg-toloABuHJynFp3Mz .node.clickable{cursor:pointer;}#mermaid-svg-toloABuHJynFp3Mz .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-toloABuHJynFp3Mz .arrowheadPath{fill:#333333;}#mermaid-svg-toloABuHJynFp3Mz .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-toloABuHJynFp3Mz .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-toloABuHJynFp3Mz .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-toloABuHJynFp3Mz .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-toloABuHJynFp3Mz .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-toloABuHJynFp3Mz .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-toloABuHJynFp3Mz .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-toloABuHJynFp3Mz .cluster text{fill:#333;}#mermaid-svg-toloABuHJynFp3Mz .cluster span{color:#333;}#mermaid-svg-toloABuHJynFp3Mz div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-toloABuHJynFp3Mz .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-toloABuHJynFp3Mz rect.text{fill:none;stroke-width:0;}#mermaid-svg-toloABuHJynFp3Mz .icon-shape,#mermaid-svg-toloABuHJynFp3Mz .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-toloABuHJynFp3Mz .icon-shape p,#mermaid-svg-toloABuHJynFp3Mz .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-toloABuHJynFp3Mz .icon-shape .label rect,#mermaid-svg-toloABuHJynFp3Mz .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-toloABuHJynFp3Mz .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-toloABuHJynFp3Mz .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-toloABuHJynFp3Mz :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    OPC UA

    MQTT / gRPC

    AGV/AMR

    DDS/RTPS

    CANopen / CAN

    CAN / EtherCAT

    ROS2 计算平台

    底盘控制器 MCU

    激光雷达

    IMU/编码器

    调度系统 WMS / RCS

    MES

    • ROS 1:Master/Node + XML-RPC + TCPROS,单点故障、非实时;
    • ROS 2:去中心化,底层基于 DDS(RTPS),通过 RMW 抽象层可替换 DDS 实现(Fast DDS / Cyclone DDS);
    • DDS:OMG 标准,发布/订阅 + QoS 策略,高可靠、去中心化。

    第五部分 · 横向对比与选型

    5.1 主流协议横向对比

    协议介质/物理层最高速率实时性层级主导市场
    HART 4–20mA + FSK 1.2 kbps 现场仪表 全球
    FF H1 双绞线(本安) 31.25 kbps 现场仪表 欧美流程
    PROFIBUS DP RS-485 12 Mbps 控制/现场 欧洲·中国
    Modbus RTU RS-232/485 115.2 kbps 第三方集成 全球
    PROFINET IRT 标准以太网 100M/1G 极高(<1ms) 控制/现场 欧洲·中国
    EtherNet/IP 标准以太网 100M/1G 控制/现场 北美·日本
    EtherCAT 以太网帧 100M 极高(~30µs) 运动/现场 全球运动控制
    Modbus TCP 以太网 100M/1G 集成 全球
    OPC UA 平台无关 L3/L4+ 全球 IT/OT
    Ethernet-APL 单对线(本安) 10 Mbps 现场仪表 新兴

    5.2 端口速查表

    协议默认端口
    S7-Protocol(ISO-on-TCP) TCP 102
    Modbus TCP TCP 502
    OPC UA TCP 4840
    EtherNet/IP TCP 44818 / UDP 2222
    PROFINET IO/RT UDP 34964 / 34965
    FINS(Omron) TCP/UDP 9600
    ADS Router(Beckhoff) UDP 48899 / TCP 48898
    MQTT TCP 1883(TLS 8883)
    BACnet/IP UDP 47808
    三菱 MC TCP 5000
    KEYENCE MC-3E TCP 5000
    KEYENCE Nano OverTCP TCP 8501
    松下 MewtocolOverTcp TCP 2000
    KEYENCE DL-EN1 TCP 64000

    5.3 选型决策总图

    #mermaid-svg-pH7sJ3Mx5UX9Hv8Z{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .error-icon{fill:#552222;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .marker{fill:#333333;stroke:#333333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .marker.cross{stroke:#333333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z p{margin:0;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .cluster-label text{fill:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .cluster-label span{color:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .cluster-label span p{background-color:transparent;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .label text,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z span{fill:#333;color:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node rect,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node circle,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node ellipse,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node polygon,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .rough-node .label text,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node .label text,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .image-shape .label,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .icon-shape .label{text-anchor:middle;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .rough-node .label,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node .label,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .image-shape .label,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .icon-shape .label{text-align:center;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node.clickable{cursor:pointer;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .arrowheadPath{fill:#333333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .cluster text{fill:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .cluster span{color:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z rect.text{fill:none;stroke-width:0;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .icon-shape,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .icon-shape p,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .icon-shape .label rect,#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-pH7sJ3Mx5UX9Hv8Z :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    伺服/多轴同步 µs级

    通用 I/O 与设备互联 ms级

    第三方设备快速接入

    IT/OT 集成、上云、跨厂商语义

    危险区仪表总线

    西门子生态

    罗克韦尔生态

    三菱生态

    倍福生态

    否,专用网络

    开始选协议

    要解决什么?

    EtherCAT / PROFINET IRT

    和谁集成?

    Modbus RTU / TCP

    OPC UA + MQTT

    FF H1 / PROFIBUS PA

    PROFINET

    EtherNet/IP

    CC-Link IE / MC

    ADS + EtherCAT

    需要过标准交换机?

    TSN 或软实时方案

    5.4 按场景速查

    场景推荐
    智能仪表组态/诊断(存量最大) HART
    危险区多仪表总线控制 FF H1 / PROFIBUS PA
    控制器 ↔ 远程 I/O 高速周期 PROFINET / EtherNet/IP
    伺服/运动控制子网 EtherCAT / PROFINET IRT
    第三方设备(PLC/仪表/UPS)快速接入 Modbus RTU/TCP
    IT/OT 信息集成、上云 OPC UA(+MQTT)
    新建流程工厂"一网到底" Ethernet-APL + TSN + OPC UA FX
    DCS 骨干网高可靠互联 厂商私有(FTE/Vnet/IP)或冗余工业以太网

    第六部分 · 趋势与总结

    6.1 三大趋势技术

    6.1.1 Ethernet-APL:以太网进防爆区

    • 全称:Ethernet Advanced Physical Layer,基于 IEEE 802.3cg 10BASE-T1L;
    • 关键能力:单对双绞线同时供电+通信,10 Mbit/s 全双工,最长 1000 m,支持本质安全(防爆);
    • 最大红利:可复用现有 FF / PROFIBUS PA 的 Type A 线缆;
    • 标准:IEC TS 63444,由 FieldComm Group、ODVA、OPC Foundation、PI 四大 SDO 联合推动。

    #mermaid-svg-sYovivf7ywbQnKrF{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-sYovivf7ywbQnKrF .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-sYovivf7ywbQnKrF .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-sYovivf7ywbQnKrF .error-icon{fill:#552222;}#mermaid-svg-sYovivf7ywbQnKrF .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-sYovivf7ywbQnKrF .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-sYovivf7ywbQnKrF .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-sYovivf7ywbQnKrF .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-sYovivf7ywbQnKrF .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-sYovivf7ywbQnKrF .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-sYovivf7ywbQnKrF .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-sYovivf7ywbQnKrF .marker{fill:#333333;stroke:#333333;}#mermaid-svg-sYovivf7ywbQnKrF .marker.cross{stroke:#333333;}#mermaid-svg-sYovivf7ywbQnKrF svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-sYovivf7ywbQnKrF p{margin:0;}#mermaid-svg-sYovivf7ywbQnKrF .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-sYovivf7ywbQnKrF .cluster-label text{fill:#333;}#mermaid-svg-sYovivf7ywbQnKrF .cluster-label span{color:#333;}#mermaid-svg-sYovivf7ywbQnKrF .cluster-label span p{background-color:transparent;}#mermaid-svg-sYovivf7ywbQnKrF .label text,#mermaid-svg-sYovivf7ywbQnKrF span{fill:#333;color:#333;}#mermaid-svg-sYovivf7ywbQnKrF .node rect,#mermaid-svg-sYovivf7ywbQnKrF .node circle,#mermaid-svg-sYovivf7ywbQnKrF .node ellipse,#mermaid-svg-sYovivf7ywbQnKrF .node polygon,#mermaid-svg-sYovivf7ywbQnKrF .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-sYovivf7ywbQnKrF .rough-node .label text,#mermaid-svg-sYovivf7ywbQnKrF .node .label text,#mermaid-svg-sYovivf7ywbQnKrF .image-shape .label,#mermaid-svg-sYovivf7ywbQnKrF .icon-shape .label{text-anchor:middle;}#mermaid-svg-sYovivf7ywbQnKrF .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-sYovivf7ywbQnKrF .rough-node .label,#mermaid-svg-sYovivf7ywbQnKrF .node .label,#mermaid-svg-sYovivf7ywbQnKrF .image-shape .label,#mermaid-svg-sYovivf7ywbQnKrF .icon-shape .label{text-align:center;}#mermaid-svg-sYovivf7ywbQnKrF .node.clickable{cursor:pointer;}#mermaid-svg-sYovivf7ywbQnKrF .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-sYovivf7ywbQnKrF .arrowheadPath{fill:#333333;}#mermaid-svg-sYovivf7ywbQnKrF .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-sYovivf7ywbQnKrF .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-sYovivf7ywbQnKrF .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-sYovivf7ywbQnKrF .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-sYovivf7ywbQnKrF .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-sYovivf7ywbQnKrF .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-sYovivf7ywbQnKrF .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-sYovivf7ywbQnKrF .cluster text{fill:#333;}#mermaid-svg-sYovivf7ywbQnKrF .cluster span{color:#333;}#mermaid-svg-sYovivf7ywbQnKrF div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-sYovivf7ywbQnKrF .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-sYovivf7ywbQnKrF rect.text{fill:none;stroke-width:0;}#mermaid-svg-sYovivf7ywbQnKrF .icon-shape,#mermaid-svg-sYovivf7ywbQnKrF .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-sYovivf7ywbQnKrF .icon-shape p,#mermaid-svg-sYovivf7ywbQnKrF .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-sYovivf7ywbQnKrF .icon-shape .label rect,#mermaid-svg-sYovivf7ywbQnKrF .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-sYovivf7ywbQnKrF .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-sYovivf7ywbQnKrF .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-sYovivf7ywbQnKrF :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    Ethernet-APL 现场仪表层

    10BASE-T1L · 10 Mbps · 1000 m

    10BASE-T1L · 10 Mbps · 1000 m

    10BASE-T1L · 10 Mbps · 1000 m

    压力变送器

    流量计

    阀门定位器

    APL 现场交换机 PoDL 供电 + 防爆

    工业以太网交换机 TSN

    DCS 控制器 PROFINET / EtherNet/IP

    6.1.2 TSN:让标准以太网"确定性"

    TSN(Time-Sensitive Networking) 是 IEEE 802.1 系列标准,把时间同步与流量调度做进以太网标准:

    标准作用
    802.1AS-Rev 精确时间同步
    802.1Qbv 时间感知整形(分时隙调度)
    802.1Qbu 帧抢占(关键帧优先)
    802.1CB 帧复制与消除(无缝冗余)

    6.1.3 统一以太网愿景

    #mermaid-svg-oMdIjbd0gv7ZKxMI{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-oMdIjbd0gv7ZKxMI .error-icon{fill:#552222;}#mermaid-svg-oMdIjbd0gv7ZKxMI .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-oMdIjbd0gv7ZKxMI .marker{fill:#333333;stroke:#333333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .marker.cross{stroke:#333333;}#mermaid-svg-oMdIjbd0gv7ZKxMI svg{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-oMdIjbd0gv7ZKxMI p{margin:0;}#mermaid-svg-oMdIjbd0gv7ZKxMI .label{font-family:\”trebuchet ms\”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .cluster-label text{fill:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .cluster-label span{color:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .cluster-label span p{background-color:transparent;}#mermaid-svg-oMdIjbd0gv7ZKxMI .label text,#mermaid-svg-oMdIjbd0gv7ZKxMI span{fill:#333;color:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .node rect,#mermaid-svg-oMdIjbd0gv7ZKxMI .node circle,#mermaid-svg-oMdIjbd0gv7ZKxMI .node ellipse,#mermaid-svg-oMdIjbd0gv7ZKxMI .node polygon,#mermaid-svg-oMdIjbd0gv7ZKxMI .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .rough-node .label text,#mermaid-svg-oMdIjbd0gv7ZKxMI .node .label text,#mermaid-svg-oMdIjbd0gv7ZKxMI .image-shape .label,#mermaid-svg-oMdIjbd0gv7ZKxMI .icon-shape .label{text-anchor:middle;}#mermaid-svg-oMdIjbd0gv7ZKxMI .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .rough-node .label,#mermaid-svg-oMdIjbd0gv7ZKxMI .node .label,#mermaid-svg-oMdIjbd0gv7ZKxMI .image-shape .label,#mermaid-svg-oMdIjbd0gv7ZKxMI .icon-shape .label{text-align:center;}#mermaid-svg-oMdIjbd0gv7ZKxMI .node.clickable{cursor:pointer;}#mermaid-svg-oMdIjbd0gv7ZKxMI .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .arrowheadPath{fill:#333333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-oMdIjbd0gv7ZKxMI .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-oMdIjbd0gv7ZKxMI .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-oMdIjbd0gv7ZKxMI .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-oMdIjbd0gv7ZKxMI .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .cluster text{fill:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI .cluster span{color:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\”trebuchet ms\”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-oMdIjbd0gv7ZKxMI .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-oMdIjbd0gv7ZKxMI rect.text{fill:none;stroke-width:0;}#mermaid-svg-oMdIjbd0gv7ZKxMI .icon-shape,#mermaid-svg-oMdIjbd0gv7ZKxMI .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-oMdIjbd0gv7ZKxMI .icon-shape p,#mermaid-svg-oMdIjbd0gv7ZKxMI .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-oMdIjbd0gv7ZKxMI .icon-shape .label rect,#mermaid-svg-oMdIjbd0gv7ZKxMI .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-oMdIjbd0gv7ZKxMI .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-oMdIjbd0gv7ZKxMI .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-oMdIjbd0gv7ZKxMI :root{–mermaid-font-family:\”trebuchet ms\”,verdana,arial,sans-serif;}

    10BASE-T1L

    确定性骨干

    现场仪表 Ethernet-APL

    TSN 交换机

    控制器 · 驱动器 PROFINET/EtherNet/IP/OPC UA FX

    边缘/服务器 OPC UA · MQTT

    云 / MES / ERP

    6.2 三点结论

  • 协议没有"最好",只有"最合适":现场层、控制层、信息层对实时性/可靠性/开放性的权重完全不同,一个成熟系统通常是多协议协同,而非单一协议包打天下。

  • 开放标准正在赢:以太网/IP 的规模效应 + OPC UA 的语义能力,正在把厂商私有协议逐步挤压到"骨干网冗余"与"私有接口深度交互"这两小块地盘。但厂商私有协议仍牢牢占据"上位机 ↔ 控制器"的高性能与生态锁定位置。

  • 方向已明确——一网到底:Ethernet-APL 打通防爆现场"最后一公里",TSN 补上确定性,OPC UA FX 补上跨厂商语义。三者的收敛,正在把工业网络从"多协议孤岛"推向"统一开放网络"。

  • 一句话总结:工业通信史,是一部"从专用走向开放、从分段走向一网到底"的历史——而 OPC UA + TSN + Ethernet-APL 正在书写这部历史的下一章。真正的工程能力,在于根据实时性、生态、成本、可维护性四个维度,把上述协议在一条产线里"各司其职"地编排起来。


    博客签名2021

    赞(0)
    未经允许不得转载:171主机测评 » 工业通信协议百科
    分享到: 更多 (0)

    评论 抢沙发

    • 昵称 (必填)
    • 邮箱 (必填)
    • 网址