# 自动化标记语言（AutomationML）

**AutomationML**（Automation Markup Language，AML）是一种开放、厂商中立的、基于XML的数据交换格式，用于在工业自动化工程所使用的异构软件工具之间描述和交换有关生产系统的工程信息。它在IEC 62714系列“工业自动化系统工程用工程数据交换格式——自动化标记语言”中标准化，并由AutomationML协会（AutomationML e.V.）开发和维护。<sup>[1](https://webstore.iec.ch/en/publication/32339)</sup><sup> • </sup><sup>[2](https://www.automationml.org/news/15-years-automationml-e-v/)</sup>

| 关键事实 | 详情 |
|---|---|
| 它是什么 | 一种开放、中立、基于XML的文件格式和面向对象的建模语言，用于在工厂工程生命周期内跨工具存储并迭代交换工程数据<sup>[2](https://www.automationml.org/news/15-years-automationml-e-v/)</sup> |
| 起源 | 2006年由戴姆勒股份公司（Daimler AG；现梅赛德斯-奔驰股份公司，Mercedes-Benz AG）与来自产业和研究的九家合作伙伴发起；AutomationML协会于2009年4月成立<sup>[3](https://www.automationml.org/conferences/conference-highlights/automationml-in-the-oil-gas-industry-automated-code-generation-by-means-of-the-iec-pas-63131/)</sup><sup> • </sup><sup>[2](https://www.automationml.org/news/15-years-automationml-e-v/)</sup> |
| 标准化 | IEC 62714系列，第一版于2014年作为国际标准发布，第二版于2018年发布，如今包括五个部分；由国际电工委员会第65技术委员会/第65E分技术委员会负责<sup>[2](https://www.automationml.org/news/15-years-automationml-e-v/)</sup><sup> • </sup><sup>[1](https://webstore.iec.ch/en/publication/32339)</sup> |
| 构建块 | CAEX（IEC 62424）作为工厂拓扑的顶层格式，COLLADA（ISO/PAS 17506）用于几何与运动学，PLCopen XML（IEC 61131-10）用于逻辑<sup>[4](https://reference.opcfoundation.org/specs/OPC-30040/4.1)</sup> |
| 互操作性水平 | 明确为语法互操作性设计（概念互操作性层次模型的第2层），并以基础角色库面向语义互操作性（第3层）<sup>[5](https://www.automationml.org/conferences/conference-highlights/semantic-interoperability-in-a-heterogeneous-world-via-automationml-based-mappings/)</sup> |
| 工具 | AutomationML编辑器（AutomationML Editor）、AutomationML引擎（AutomationML Engine，C# API）和AutomationML组件检查器（AutomationML Component Checker），由协会免费提供；AMLX用作自动化组件的包格式<sup>[6](https://www.automationml.org/about-automationml/aml-tools/)</sup> |

## 目的与背景

生产系统的工程设计涉及工具链：在不同阶段，来自不同供应商的多种工具执行3D产品规划、工厂布局规划、软件工程和硬件工程等任务。<sup>[5](https://www.automationml.org/conferences/conference-highlights/semantic-interoperability-in-a-heterogeneous-world-via-automationml-based-mappings/)</sup> 这些工具历史上交换设计数据的效果很差，导致重复设计步骤和手动重新录入结果。<sup>[7](https://www.psa.ovgu.de/iniaf/en/Research/AutomationML.html)</sup> AutomationML指出，自动化系统约60%的成本来自工程，其中很大一部分是在不同工具中重做和重新定义相同事物，而不是复用它们。<sup>[8](https://trepo.tuni.fi/bitstream/handle/10024/213202/Siltala_1402.pdf?isAllowed=y&sequence=1)</sup>

该倡议始于2006年，当时戴姆勒股份公司邀请自动化技术的领先制造商和用户开发一种数据格式，用于工程工具之间的无缝数据交换。<sup>[2](https://www.automationml.org/news/15-years-automationml-e-v/)</sup> 该格式于2008年春季在[汉诺威工业博览会](https://www.edgepedia.org/zh/hannover-messe)（Hannover Messe）上向公众展示，被描述为第一个免费的、开放的、基于XML的格式，涵盖了多个学科的广泛规划内容。<sup>[9](https://www.researchgate.net/publication/321608286_Datenaustausch_in_der_Anlagenplanung_mit_AutomationML_Integration_von_CAEX_PLCopen_XML_und_COLLADA)</sup> 2009年，九家倡议成员中的七家成立了AutomationML e.V.，该协会组织开发并推动标准化。<sup>[7](https://www.psa.ovgu.de/iniaf/en/Research/AutomationML.html)</sup>

## 格式结构

AutomationML并非从零定义新文件格式。它复用现有、成熟的数据格式，并标准化其应用与相互链接。<sup>[3](https://www.automationml.org/conferences/conference-highlights/automationml-in-the-oil-gas-industry-automated-code-generation-by-means-of-the-iec-pas-63131/)</sup> 逻辑上它分为：<sup>[4](https://reference.opcfoundation.org/specs/OPC-30040/4.1)</sup>

- 工厂结构与通信系统，按照IEC 62424通过CAEX描述为AutomationML对象的层次结构；
- 对象的几何与运动学，通过COLLADA 1.4.1和1.5.0（ISO/PAS 17506:2012）表示；
- 与控制相关的逻辑数据，通过PLCopen XML 2.0和2.0.1（IEC 61131-10）表示；
- 对象之间的关系以及指向顶层格式之外文档中存储信息的引用。

主AutomationML文件实际上是CAEX文件。CAEX提供类和实例等面向对象概念：系统对象的语义通过收集在角色类库中的角色来指定，接口语义使用接口类库，可复用对象类在系统单元类库中定义，单个对象在实例层次中建模，并引用其所派生自的类。<sup>[10](https://www.researchgate.net/publication/262259273_Interoperability_between_OPC-UA_and_AutomationML)</sup><sup> • </sup><sup>[4](https://reference.opcfoundation.org/specs/OPC-30040/4.1)</sup>

有两个属性被认为对异构工具环境中的使用至关重要。混合语义意味着标准类和专有类以相同方式建模，并可一起存储在一个文件中，因此数据可在需要处标准化，同时专有数据仍可传输到已准备好的目标工具。文件标记意味着每个AutomationML文件都带有一个关于其来源的元信息块，使接收方能够区分来自不同工具的文件，并识别所需的语义或方言。<sup>[3](https://www.automationml.org/conferences/conference-highlights/automationml-in-the-oil-gas-industry-automated-code-generation-by-means-of-the-iec-pas-63131/)</sup>

## IEC 62714标准系列

包含基本概念的白皮书被转交给国际电工委员会第65技术委员会/第65E分技术委员会/第9工作组，即负责IEC 62714系列中AutomationML国际标准化的工作组。<sup>[11](https://www.automationml.org/wp-content/uploads/2021/06/AutomationML-Brochure.pdf)</sup> 该系列包括五个部分：<sup>[4](https://reference.opcfoundation.org/specs/OPC-30040/4.1)</sup>

- **IEC 62714-1:2018**，架构与一般要求。第二版（2018）取代2014年第一版，是技术修订：它使用依据IEC 62424:2016的CAEX 3.0，改进对外部文档引用的建模，修订角色库，修改端口概念，增加多语言表达、结构化属性列表或数组、新的AML容器格式以及新的标准AML属性库。<sup>[1](https://webstore.iec.ch/en/publication/32339)</sup>
- **IEC 62714-2**，角色类库（第一版2015；第二版2022，改名为语义库）。它规定规范性和资料性AML库；角色类为AML对象提供语义，属性类型为AML属性提供语义。<sup>[12](https://webstore.iec.ch/en/publication/63231)</sup>
- **IEC 62714-3:2017**，几何与运动学，规定基于COLLADA集成几何与运动学信息。<sup>[13](https://webstore.iec.ch/en/publication/34158)</sup>
- **IEC 62714-4:2020**，逻辑。它规定三类逻辑信息：顺序、行为和互锁，并涵盖六种顺序与行为逻辑模型：[甘特图](https://www.edgepedia.org/zh/gantt-chart)、节点活动网络图、时序图、顺序功能图（Sequential Function Chart，SFC）、功能块图（Function Block Diagram，FBD）和数学表达式。互锁建模为互锁源组和目标组并存储在FBD中；逻辑XML模式使用IEC 61131-10，该部分规定如何引用存储在PLCopen XML文档中的PLC程序。<sup>[14](https://webstore.iec.ch/en/publication/28979)</sup>
- **IEC 62714-5:2022**，通信，处理沿工具链的工程信息交换，因为项目持续时间往往随系统复杂性增加而增加。<sup>[15](https://webstore.iec.ch/en/publication/65493)</sup>

第2、3、4部分的新版本正在IEC制定中，预计发布日期为2028-05-31。<sup>[13](https://webstore.iec.ch/en/publication/34158)</sup>

## 互操作性定位

在概念互操作性层次模型中，从无互操作性（第0层）经技术、语法、语义、语用、动态到概念互操作性（第6层），AutomationML数据格式明确为第2层语法互操作性设计，并且仅为第3层语义互操作性提供基础角色库。这种语法中立性与语义表达力的分离是有意为之：建模机制允许在用户定义或标准库中建模任何语义，这使格式保持可扩展，以便未来集成更多语义标准。<sup>[5](https://www.automationml.org/conferences/conference-highlights/semantic-interoperability-in-a-heterogeneous-world-via-automationml-based-mappings/)</sup>

为在数据模型不同的工具之间达到语义互操作性，来自ABB企业研究中心（ABB Corporate Research）和普福尔茨海姆大学（Pforzheim University）的研究考察了可放置映射的三个层次：工具本身、导出器和导入器接口，或中间文件数据模型。推荐的最佳实践将语义映射指令外化到文件层中基于AutomationML的中立类库，使工具保留其原始数据模型，导出器和导入器可通用编程；该方法已在ABB高压直流输电（ABB HVDC）的工业数据交换中实施。<sup>[5](https://www.automationml.org/conferences/conference-highlights/semantic-interoperability-in-a-heterogeneous-world-via-automationml-based-mappings/)</sup>

## 应用

AutomationML已在虚拟调试、跨多个工程工具平台的数据同步、通信网络建模、过程控制工程请求的扩展建模以及工程工具开放性的评估中得到工业应用。<sup>[3](https://www.automationml.org/conferences/conference-highlights/automationml-in-the-oil-gas-industry-automated-code-generation-by-means-of-the-iec-pas-63131/)</sup> 在石油和天然气领域，围绕IEC PAS 63131的社区旨在对系统控制图使用电子数据交换，而不是印刷图或专有文件。<sup>[3](https://www.automationml.org/conferences/conference-highlights/automationml-in-the-oil-gas-industry-automated-code-generation-by-means-of-the-iec-pas-63131/)</sup>

在机器人领域，PathML是一种基于AutomationML的语法，在离线机器人编程系统中跨制造系统的异构元素和阶段集成机器人与制造数据，该系统从任务演示中捕获制造技能。<sup>[16](https://arxiv.org/abs/2405.13141)</sup> R3M框架将UML领域模型中形式化的产品、过程和设备信息序列化为AutomationML，将基于模型的制造知识与[ROS 2](https://www.edgepedia.org/zh/ros-2)驱动的机器人控制连接起来。<sup>[17](https://www.sciencedirect.com/science/article/pii/S0736584526002413)</sup>

AutomationML还与OPC UA交互，后者用于生产IT系统中的运行时数据交换。OPC UA服务器配置数据的手动交换可由AML中的指定描述替代，并且存在用于工程数据的OPC UA配套规范——AutomationML的OPC UA信息模型（OPC 30040）。<sup>[18](https://www.automationml.org/organisation/organisation/)</sup><sup> • </sup><sup>[4](https://reference.opcfoundation.org/specs/OPC-30040/4.1)</sup> 在一项针对光学组件装配数字孪生的四种工业4.0数据格式（AutomationML、OPC UA、B2MML/BatchML和[MTConnect](https://www.edgepedia.org/zh/mtconnect)）的比较评估中，OPC UA得分最高，为58.36%，MTConnect最低，为49.25%，四种格式均集中在50%左右，且没有一种无需调整即可直接适合该用例。<sup>[19](https://doi.org/10.1007/s40684-020-00196-5)</sup>

## 工具与生态

AutomationML协会提供免费软件：AutomationML编辑器用于可视化、创建和编辑AutomationML/CAEX文件，适合学习和试验；AutomationML引擎是一个精确表示CAEX数据模型的C#类结构，可在nuget.org上获得；AutomationML组件检查器供设备供应商用于确保以AMLX格式打包的交付物达到最低质量标准。<sup>[6](https://www.automationml.org/about-automationml/aml-tools/)</sup> 成员工具包括AML.hub，由纽伦自动化（Neuron Automation）和维也纳工业大学（TU Wien）的CDL-Flex研究实验室开发，它使用该标准集成工程工具网络，并管理反映所有学科的集成工厂模型。<sup>[6](https://www.automationml.org/about-automationml/aml-tools/)</sup> 最近的编辑器版本增加了语义建模功能、通过可公开访问的AML库空间分发AutomationML库，以及使编辑器可供非成员使用的许可模式。<sup>[20](https://github.com/AutomationML/AutomationMLEditor)</sup>

由于AutomationML用额外语义扩展XML，常见XML工具在查询和验证方面受到限制；2025年的一种方法将AutomationML模型转换为OWL本体和RDF三元组，从而可用SPARQL查询并用SHACL验证。<sup>[21](https://arxiv.org/abs/2504.21694)</sup>

## References

1. [IEC 62714-1:2018, Engineering data exchange format for use in industrial automation systems engineering – Automation Markup Language – Part 1: Architecture and general requirements, IEC Webstore](https://webstore.iec.ch/en/publication/32339)
2. [15 years AutomationML e.V., AutomationML association, 29 April 2024](https://www.automationml.org/news/15-years-automationml-e-v/)
3. [AutomationML in the Oil & Gas Industry: Automated Code Generation by Means of the IEC PAS 63131, AutomationML Conference Highlights](https://www.automationml.org/conferences/conference-highlights/automationml-in-the-oil-gas-industry-automated-code-generation-by-means-of-the-iec-pas-63131/)
4. [Introduction to AutomationML, OPC UA Information Model for AutomationML (OPC 30040), OPC Foundation](https://reference.opcfoundation.org/specs/OPC-30040/4.1)
5. [Semantic Interoperability in a Heterogeneous World via AutomationML-based Mappings, Bihani & Drath, 5th AutomationML User Conference 2018](https://www.automationml.org/conferences/conference-highlights/semantic-interoperability-in-a-heterogeneous-world-via-automationml-based-mappings/)
6. [AutomationML Tools, AutomationML association](https://www.automationml.org/about-automationml/aml-tools/)
7. [AutomationML, Production Systems & Automation, Otto von Guericke University Magdeburg](https://www.psa.ovgu.de/iniaf/en/Research/AutomationML.html)
8. [Siltala, J. (2014). Reconfigurable and adaptable distributed manufacturing system architecture, Tampere University](https://trepo.tuni.fi/bitstream/handle/10024/213202/Siltala_1402.pdf?isAllowed=y&sequence=1)
9. [Drath, R. (2010). Datenaustausch in der Anlagenplanung mit AutomationML, Springer](https://www.researchgate.net/publication/321608286_Datenaustausch_in_der_Anlagenplanung_mit_AutomationML_Integration_von_CAEX_PLCopen_XML_und_COLLADA)
10. [Interoperability between OPC-UA and AutomationML, ResearchGate](https://www.researchgate.net/publication/262259273_Interoperability_between_OPC-UA_and_AutomationML)
11. [AutomationML Brochure: AutomationML's Standardization, AutomationML association](https://www.automationml.org/wp-content/uploads/2021/06/AutomationML-Brochure.pdf)
12. [IEC 62714-2:2022, Part 2: Semantics libraries, IEC Webstore](https://webstore.iec.ch/en/publication/63231)
13. [IEC 62714-3:2017, Part 3: Geometry and kinematics, IEC Webstore](https://webstore.iec.ch/en/publication/34158)
14. [IEC 62714-4:2020, Part 4: Logic, IEC Webstore](https://webstore.iec.ch/en/publication/28979)
15. [IEC 62714-5:2022, Part 5: Communication, IEC Webstore](https://webstore.iec.ch/en/publication/65493)
16. [Babcinschi, M. et al. (2024). Offline robot programming assisted by task demonstration: an AutomationML interoperable solution, arXiv:2405.13141](https://arxiv.org/abs/2405.13141)
17. [Enhancing robotic interoperability: An approach for ROS 2-driven system integration, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0736584526002413)
18. [Organisation, AutomationML association](https://www.automationml.org/organisation/organisation/)
19. [Evaluation of Industry 4.0 Data formats for Digital Twin of Optical Components, Int. J. Precision Engineering and Manufacturing-Green Technology (2020)](https://doi.org/10.1007/s40684-020-00196-5)
20. [AutomationML/AutomationMLEditor, GitHub](https://github.com/AutomationML/AutomationMLEditor)
21. [Westermann, T. et al. (2025). Automatic Mapping of AutomationML Files to Ontologies for Graph Queries and Validation, arXiv:2504.21694](https://arxiv.org/abs/2504.21694)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 制造系统与工业工程 › Manufacturing automation and control

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/automationml

English original: https://www.edgepedia.org/automationml
