从OPC UA节点集文件(NodeSet)导入信息模型
01.09.2020
节点集文件简介
OPC UA 使用信息模型为 OPC UA 服务器传输的数据提供语义。标准 OPC UA 信息模型在规范的第五部分中定义,并由所有 OPC UA 服务器遵循使用。该信息模型被用作为各种应用程序定义新信息模型的基础,例如将设备及其组件建模为节点。
OPC UA 定义了信息模型 XML 模式,该模式指定了如何以 XML 格式描述信息模型。描述信息模型的 XML 文件正式名称为 OPC UA 节点集文件或被简称为节点集文件。OPC 基金会维护一个包含不同的 NodeSet 文件和其他文件的 GITHUB 存储库。
用户还可以使用 OPC UA 建模工具(如 OPC UA Modeler)为自己的信息模型生成节点集文件。
Prosys OPC 产品和节点集文件
Prosys OPC UA SDK for Java Prosys OPC UA SDK for Java 通过使用基于 UaAddressSpace 接口的 loadModel 方法直接从节点集文件加载信息模型,并通过代码生成器从一个节点集文件或一组节点集文件生成 Java 类,以此支持节点集文件。在使用代码生成器生成 Java 类后,用户可以扩充生成的代码,以实现信息模型中定义的方法。生成的代码还使得基于信息模型的 TypeDefinition 节点添加实例更加方便,Java 类将这些实例表现为服务器的地址空间,并使用明确命名的方法处理这些实例。下面的代码范例演示了如何使用从 Robotics 信息模型生成的代码轻松地将 MotionDeviceSystemType 和 MotionDeviceType 的实例添加到服务器的地址空间。
Prosys OPC UA Simulation Server 专业版可以从节点集文件中导入名称空间。这允许在“Object”标签下将导入的 ObjectType 和 VariableType 节点的实例添加到 Simulation Server 的地址空间中。由于 Simulation Server 的研发是基于 Prosys OPC UA SDK for Java,将节点集文件中的名称空间导入 Simulation Server 类似于将它们加载到使用 SDK 开发的任何服务器应用程序中。但是,Simulation Server 使用的 SDK 版本并不总是最新的,这意味着使用最新版本的 SDK 开发的服务器应用程序与使用旧版本 SDK 开发的 Simulation Server 之间可能存在一些细微差异。
不兼容问题
理想情况下,OPC 基金会的 GitHub 存储库中可用的 Nodeset 文件无需更改,即可被用于 Prosys OPC UA SDK for Java 和 Prosys OPC UA Simulation Server。可实际情况是,并非所有这些节点集文件都可被用于导入信息模型。有些节点集文件需要比 SDK 所支持的标准信息模型版本更新的模型,有些节点集文件包含建模错误,需要手动修复才能使用。
命名冲突
代码生成器还对节点集文件施加了一些额外的限制,在不同情况下,生成的方法之间可能会发生名称冲突。例如,让我们考虑具有两个子节点的 TemperatureControlType 节点:DataType 为 Double 的 SetpointTemperature 变量和包含 Double DataType 的单个 InputArgument 字段的 SetSetpointTemperature 方法。使用代码生成器处理时,生成的 TemperatureControl Type Java 类将有两个带有双参数的 SetSetpointTemperature 方法,其中一个方法用于设置 SetpointTemperature 变量的值,另一个方法用于调用 SetSetpointTemperature 方法。这些方法由 TemperatureControlTypeNodeBase 类实现,下面的代码展示如何实现这两个方法,其中第一个方法设置值,第二个方法调用该方法。本文忽略了这两个方法调用的其他生成的方法。由于 Java 类中的不同方法必须具有各自特定的方法签名,这段代码会导致 Java 编译器错误。
但是,生成的代码中的名称冲突可以通过重命名方法来手动修复,从而为它们提供唯一的方法签名。对于 TemperatureControlType,在它出现的所有类中重命名两个 setSetpointTemperature 方法中的任何一个都可以解决名称冲突问题。
防止生成的代码中的名称冲突也可以通过在代码生成器的配置文件中排除将其生成的节点。此类节点已被排除在与本文链接的代码生成器配置文件外。注意,排除节点只会影响代码生成器生成的 API,而不会影响被排除节点所在的地址空间,即该节点任然存在于地址空间内。
不受支持的 ValueRanks
目前,代码生成器支持 ValueRanks 为-1 和大于或等于 1 的变量节点。某些节点集文件包含具有其他 ValueRank 的变量节点,如-2(BaseDataType 除外)或-3,代码生成器不支持为此类节点生成代码。用户必须通过将节点的 BrowseName 添加到代码生成器配置文件中的 excludes elements 来排除包含不受支持的 ValueRanks 的节点。
本文链接的代码生成器配置文件已排除包含不受支持的 ValueRanks 的节点。同样,这只影响代码生成器生成的 API,而不影响地址空间。
测试设置
本文的目的是提供关于 OPC 基金会的 GITHUB 存储库中的 NodeSet 文件与 Prosys OPC UA SDK for Java 和 Prosys OPC UA Simulation Server 之间的兼容性的信息。
信息模型导入测试在 Windows 10 电脑上进行,其中 Prosys OPC UA SDK for Java 版本为 4.7.0-7,Prosys OPC UA Simulation Server 的版本为 5.1.4-361。测试 SDK 时,使用代码生成器根据节点集文件生成代码,并使用 UaAddressSpace 的 loadModel 方法将信息模型从节点集文件直接加载到服务器的地址空间界面模拟服务器通过名称空间选项卡的导入节点集文件功能进行测试。
测试用的 NodeSet 文件是从 OPC 基金会的 GITHUB 存储库的 V1.04 版分支下载的。我们没有对节点集文件进行任何修改。大多数信息模型由单个节点集文件组成,其他一些信息模型由多个节点集文件组成,以实现模块化。
请注意,节点集文件中的版本信息不会在每次更新模型时自动更新。
预定义的代码生成器配置文件
代码生成器需要一个配置文件,该文件定义应如何以及在何处生成相应的代码。我们提供了预定义版本,允许您从每个节点集文件生成可用代码,除非节点集文件无效或代码生成器不支持该文件。
首先,必须确保节点集及其所依赖的所有节点集文件都位于 codegen/commandline/models 文件夹中。之后,您可以通过运行
codegen\commandline\bin\codegen.bat -c CONF
或
codegen/commandline/bin/codegen.sh -c CONF
此处的 CONF 是配置文件的路径。
测试结果
The test results for the tested NodeSet files are summarized below. 表示成功, 表示需要修改节点集或排除配置中的定义,或是带有警告的 Success 表示失败. 您可以单击 下载工作正常的代码生成器配置文件。
Name | NamespaceUri | SDK: loadModel | SDK: Code Generator | Simulation Server |
GDS (10000-12) | http://opcfoundation.org/UA/GDS/ | |||
Safety (10000-15) | http://opcfoundation.org/UA/Safety | |||
DI (10000-100) | http://opcfoundation.org/UA/DI/ | |||
IA (10000-200) | http://opcfoundation.org/UA/IA/ | |||
ADI (10020) | http://opcfoundation.org/UA/ADI/ | |||
ISA-95 (10030) | http://www.OPCFoundation.org/UA/2013/01/ISA95 | |||
ISA95JOBCONTROL (10031-4) | http://opcfoundation.org/UA/ISA95-JOBCONTROL | |||
IEC61850 (10040) | http://opcfoundation.org/UA/IEC61850-6 | |||
http://opcfoundation.org/UA/IEC61850-7-3 | ||||
http://opcfoundation.org/UA/IEC61850-7-4 | ||||
PLCopen (30000) | http://PLCopen.org/OpcUa/IEC61131-3/ | |||
AutoID (30010) | http://opcfoundation.org/UA/AutoID/ | |||
MDIS (30020) | http://opcfoundation.org/UA/MDIS | |||
AutomationML (30040) | http://opcfoundation.org/UA/AML/ | |||
http://opcfoundation.org/UA/AMLLibs/ | ||||
PackML (30050) | http://opcfoundation.org/UA/PackML/ | |||
TMC (30060) | http://opcfoundation.org/UA/TMC/ | |||
MTConnect (30070-1) | http://opcfoundation.org/UA/MTConnect/v2/ | |||
FDI (30080-5 and 30080-7) | http://fdi-cooperation.com/OPCUA/FDI5/ | |||
http://fdi-cooperation.com/OPCUA/FDI7/ | ||||
PADIM (30081) | http://opcfoundation.org/UA/Dictionary/IRDI | |||
http://opcfoundation.org/UA/PADIM/ | ||||
FDT (30090) | http://opcfoundation.org/UA/schemas/FDT/1.0/ | |||
Sercos (30100) | http://sercos.org/UA/ | |||
POWERLINK (30110) | http://opcfoundation.org/UA/POWERLINK/ | |||
IOLink (30120) | http://opcfoundation.org/UA/IOLink/ | |||
http://opcfoundation.org/UA/IOLink/IODD/ | ||||
CSPPlus for Machine (30130) | http://opcfoundation.org/UA/CSPPlusForMachine/ | |||
PROFINET (30140) | http://opcfoundation.org/UA/PROFINET/ | |||
PROFIenergy (30141) | http://opcfoundation.org/UA/PNEM/ | |||
Commercial Kitchen Equipment (30200) | http://opcfoundation.org/UA/CommercialKitchenEquipment/ | |||
DEXPI (30250) | http://opcfoundation.org/UA/DEXPI/ | |||
OpenSCS (30260) | http://opcfoundation.org/UA/OPENSCS-SER/ | |||
I4AAS (30270) | http://opcfoundation.org/UA/I4AAS/ | |||
Machinery (40001-1) | http://opcfoundation.org/UA/Machinery/ | |||
Robotics (40010-1) | http://opcfoundation.org/UA/Robotics/ | |||
PlasticsRubber (40077, 40082, 40083 and 40084) | http://opcfoundation.org/UA/PlasticsRubber/IMM2MES/ | |||
http://opcfoundation.org/UA/PlasticsRubber/TCD/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/HotRunner/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/LDS/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/GeneralTypes/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/GeneralTypes/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/ExtrusionLine/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Extruder/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/HaulOff/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/MeltPump/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Filter/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Die/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Pelletizer/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Cutter/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Calibrator/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Corrugator/ | ||||
http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Calender/ | ||||
MachineVision (40100-1) | http://opcfoundation.org/UA/MachineVision | |||
Scales (40200) | http://opcfoundation.org/UA/Scales | |||
Pumps (40223) | http://opcfoundation.org/UA/Pumps/ | |||
CAS (40250-1) | http://opcfoundation.org/UA/CAS/ | |||
Glass/Flat (40301) | http://opcfoundation.org/UA/Glass/Flat/ | |||
Woodworking (40550-1) | http://opcfoundation.org/UA/Woodworking/ | |||
http://opcfoundation.org/UA/Eumabois/ | ||||
Tightening (40451-1) | http://opcfoundation.org/UA/IJT/ | |||
Machine Tool (40501-1) | http://opcfoundation.org/UA/MachineTool/ | |||
CNC Systems (40502) | http://opcfoundation.org/UA/CNC | |||
Weihenstephan (40600) | http://opcfoundation.org/UA/Weihenstephan/ |
下面给出了测试节点集文件的详细测试结果。
全局发现服务器
Specification | OPC 10000-12 - Part 12: Discovery and Global Services |
NamespaceUri | http://opcfoundation.org/UA/GDS/ |
NodeSet file | Opc.Ua.Gds.NodeSet2.xml |
Model version | 1.04.4 |
Publication date | 8.1.2020 |
Latest change | 18.11.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
安全
Specification | OPC 10000-15 - Part 15: Safety |
NamespaceUri | http://opcfoundation.org/UA/Safety |
NodeSet file | Opc.Ua.Safety.NodeSet2.xml |
Model version | 1.0 |
Publication date | 31.10.2019 |
Latest change | 17.7.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
设备
Specification | OPC 10000-100 - Part 100: Device Information Model |
NamespaceUri | http://opcfoundation.org/UA/DI/ |
NodeSet file | Opc.Ua.Di.NodeSet2.xml |
Model version | 1.03.0 |
Publication date | 9.3.2021 |
Latest change | 11.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
工业自动化
Specification | OPC 10000-200 - Part 200: Industrial Automation |
NamespaceUri | http://opcfoundation.org/UA/IA/ |
NodeSet file | Opc.Ua.IA.NodeSet2.xml |
Model version | 1.01.0 |
Publication date | 31.7.2021 |
Latest change | 5.8.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
分析仪设备
Specification | OPC 10020 - UA for Analyzer Devices |
NamespaceUri | http://opcfoundation.org/UA/ADI/ |
NodeSet file | Opc.Ua.Adi.NodeSet2.xml |
Model version | 1.01 |
Publication date | 31.7.2013 |
Latest change | 28.8.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
ISA-95
Specification | OPC 10030 - UA for ISA-S95 |
NamespaceUri | http://www.OPCFoundation.org/UA/2013/01/ISA95 |
NodeSet file | Opc.ISA95.NodeSet2.xml |
Model version | 1.00 |
Publication date | 6.11.2013 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Fail |
Simulation Server | Success |
其他信息
GeospatialAllocationType是PropertyType的一个子类型,它会导致代码生成器生成的Java代码出错,因为SDK不支持向PropertyType添加子类型。
ISA-95 作业控制
Specification | OPC 10031-4 - UA Companion Specification for ISA-95 Job Control |
NamespaceUri | http://opcfoundation.org/UA/ISA95-JOBCONTROL |
NodeSet file | opc.ua.isa95-jobcontrol.nodeset2.xml |
Model version | 1.0.0 |
Publication date | 31.3.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
IEC61850
Specification | OPC 10040 - IEC61850-6 Companion Specification |
NamespaceUri | http://opcfoundation.org/UA/IEC61850-6 |
NodeSet file | Opc.Ua.IEC61850-6.NodeSet2.xml |
Model version | 2.0 |
Publication date | 5.2.2018 |
Latest change | 28.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Untested |
Simulation Server | Fail |
其他信息
此节点集文件扩展了http://opcfoundation.org/UA/IEC61850-7-3中定义的信息模型.由于包含该信息模型的节点集文件与代码生成器不兼容,因此无法使用代码生成器测试该节点集文件。
此节点集文件包含Simulation Server不支持的视图节点。
Specification | OPC 10040 - IEC61850-7-3 Companion Specification |
NamespaceUri | http://opcfoundation.org/UA/IEC61850-7-3 |
NodeSet file | Opc.Ua.IEC61850-7-3.NodeSet2.xml |
Model version | 2.0 |
Publication date | 5.2.2018 |
Latest change | 28.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Fail |
Simulation Server | Success |
其他信息
NodeSet文件包含代码生成器不支持的枚举值,包括“1-of-n-control”、“C”和空值。
Specification | OPC 10040 - IEC61850-7-4 Companion Specification |
NamespaceUri | http://opcfoundation.org/UA/IEC61850-7-4 |
NodeSet file | Opc.Ua.IEC61850-7-4.NodeSet2.xml |
Model version | 2.0 |
Publication date | 5.2.2018 |
Latest change | 28.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Untested |
Simulation Server | Success |
其他信息
此节点集文件扩展了http://opcfoundation.org/UA/IEC61850-7-3中定义的信息模型。由于包含该信息模型的节点集文件与代码生成器不兼容,因此无法使用代码生成器测试该节点集文件。
PLCopen
Specification | OPC 30000 - UA for Programmable Logic Controllers based on IEC 61131-3 |
NamespaceUri | http://PLCopen.org/OpcUa/IEC61131-3/ |
NodeSet file | Opc.Ua.PLCopen.NodeSet2_V1.02.xml |
Model version | 1.02 |
Publication date | 25.11.2020 |
Latest change | 25.11.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
AutoID
Specification | OPC 30010 - UA for AutoId Devices |
NamespaceUri | http://opcfoundation.org/UA/AutoID/ |
NodeSet file | Opc.Ua.AutoID.NodeSet2.xml |
Model version | 1.01 |
Publication date | 18.6.2020 |
Latest change | 27.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success if the NodeSet file is fixed manually |
Simulation Server | Success |
其他信息
OpticalVerifierDeviceType具有扫描方法,其输出参数具有错误的WGS84协调数据类型,而不是正确的OpticalVerifierScanResult数据类型,这会导致代码生成器生成具有无效强制转换的代码。这可以在打开Opc.Ua.AutoID.NodeSet2.xml生成代码之前修复。搜索节点ID为“ns=1;i=6076”的UaVariable,并将结果的数据类型从 "ns=1;i=6076" 更改为 "ns=1;i=3027" to "ns=1;i=3026". 对于节点集文件的当前版本,需要更改的节点ID位于第4252行。
MDIS
Specification | OPC 30020 - MDIS Companion Specification |
NamespaceUri | http://opcfoundation.org/UA/MDIS |
NodeSet file | Opc.MDIS.NodeSet2.xml |
Model version | 1.20 |
Publication date | 3.10.2018 |
Latest change | 28.6.2020 |
SDK: loadModel | Fail |
SDK: Code Generator | Fail |
Simulation Server | Fail |
其他信息
此信息模型使用HasProperty联系来引用不属于PropertyType的节点,这违反了规范。
AutomationML
Specification | OPC 30040 - UA for AutomationML |
NamespaceUri | http://opcfoundation.org/UA/AML/ |
NodeSet file | Opc.Ua.AMLBaseTypes.NodeSet2.xml |
Model version | 1.00 |
Publication date | 22.2.2016 |
Latest change | 28.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 30040 - UA for AutomationML |
NamespaceUri | http://opcfoundation.org/UA/AMLLibs/ |
NodeSet file | Opc.Ua.AMLLibraries.NodeSet2.xml |
Model version | Version number is missing in the NodeSet file |
Publication date | Publication date is missing in the NodeSet file |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Fail |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server从节点集文件加载信息模型时,无法加载某些节点的值。
NodeSet文件包含两个具有BrowseName通信的ObjectType节点,这将导致在同一个包中生成两个具有相同名称的Java类,从而导致代码生成器中止处理NodeSet文件。
PackML
Specification | OPC 30050 - UA for PackML (OMAC) |
NamespaceUri | http://opcfoundation.org/UA/PackML/ |
NodeSet file | Opc.Ua.PackML.NodeSet2.xml |
Model version | 1.01 |
Publication date | 8.10.2020 |
Latest change | 9.12.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Tobacco Machines
Specification | OPC 30060 - UA for Tobacco Machines |
NamespaceUri | http://opcfoundation.org/UA/TMC/ |
NodeSet file | Opc.Ua.TMC.NodeSet2.xml |
Model version | 1.0 |
Publication date | 11.10.2017 |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Fail |
Simulation Server | Success with warnings |
其他信息
NodeSet文件包含DatasetChangeLogType和DatasetChangeLogType对象类型,在文件名不区分大小写且生成的代码无法使用的操作系统上,代码生成器无法将其生成为单独的文件。
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
MTConnect
Specification | OPC 30070-1 - UA for MTConnect, Part 1: Device Model |
NamespaceUri | http://opcfoundation.org/UA/MTConnect/v2/ |
NodeSet file | Opc.Ua.MTConnect.NodeSet2.xml |
Model version | 2.00.01 |
Publication date | 5.6.2020 |
Latest change | 28.8.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Fail |
其他信息
Simulation Server无法验证节点集文件,因此中止加载。
FDI
Specification | OPC 30080-5 - UA for Field Device Integration (FDI) – Part 5: Host System Information Model |
NamespaceUri | http://fdi-cooperation.com/OPCUA/FDI5/ |
NodeSet file | Opc.Ua.Fdi5.NodeSet2.xml |
Model version | 1.1 |
Publication date | 14.7.2017 |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 30080-7 - UA for Field Device Integration (FDI) – Part 7: Communication Devices |
NamespaceUri | http://fdi-cooperation.com/OPCUA/FDI7/ |
NodeSet file | Opc.Ua.Fdi7.NodeSet2.xml |
Model version | Version number is missing in the NodeSet file |
Publication date | 14.7.2017 |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Process Automation Devices
Specification | OPC 30081 - Process Automation Devices |
NamespaceUri | http://opcfoundation.org/UA/Dictionary/IRDI |
NodeSet file | Opc.Ua.IRDI.NodeSet2.xml |
Model version | 1.00 |
Publication date | 4.2.2020 |
Latest change | 15.9.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 30081 - Process Automation Devices |
NamespaceUri | http://opcfoundation.org/UA/PADIM/ |
NodeSet file | Opc.Ua.PADIM.NodeSet2.xml |
Model version | 1.0.2 |
Publication date | 21.7.2021 |
Latest change | 15.9.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
FDT
Specification | OPC 30090 – OPC UA for Field Device Tool (FDT) |
NamespaceUri | http://opcfoundation.org/UA/FDT/ |
NodeSet file | Opc.Ua.FDT.NodeSet.xml |
Model version | 1.01.00 |
Publication date | 6.8.2021 |
Latest change | 6.9.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Sercos Devices
Specification | OPC 30100 - UA for SERCOS Devices |
NamespaceUri | http://sercos.org/UA/ |
NodeSet file | Sercos.NodeSet2.xml |
Model version | 1.00 |
Publication date | 13.3.2017 |
Latest change | 27.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
POWERLINK
Specification | OPC 30110 - UA for POWERLINK |
NamespaceUri | http://opcfoundation.org/UA/POWERLINK/ |
NodeSet file | Opc.Ua.POWERLINK.NodeSet2.xml |
Model version | 1.0.0 |
Publication date | 10.10.2017 |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
IO Link Devices and IO-Link Masters
Specification | OPC 30120 - OPC UA for IO-Link Devices and IO-Link Masters |
NamespaceUri | http://opcfoundation.org/UA/IOLink/ |
NodeSet file | Opc.Ua.IOLink.NodeSet2.xml |
Model version | 1.0 |
Publication date | 1.12.2018 |
Latest change | 28.8.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success if the NodeSet file is fixed manually |
Simulation Server | Success |
其他信息
方法节点 "ns=1;i=7029" 和 "ns=1;i=7026" 具有相同的BrowsePath,不包括导致代码生成器生成不可用代码的尖括号。在生成代码之前,可以通过打开NodeSet文件并更改这两个方法节点中任何一个的BrowseName,使它们具有不同的BrowsePath来解决这个问题。对于节点集文件的当前版本,BrowseNames位于第4683和4692行。例如,将后一个BrowseName从 "2:MethodIdentifier" 更改为 "2:Method" 将解决此问题。
Specification | OPC 30120 - OPC UA for IO-Link Devices and IO-Link Masters |
NamespaceUri | http://opcfoundation.org/UA/IOLink/IODD/ |
NodeSet file | Opc.Ua.IOLinkIODD.NodeSet2.xml |
Model version | 1.0 |
Publication date | 1.12.2018 |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
CSPPlus for Machine
Specification | OPC 30130 - UA for Control & Communication System Profile (for Machine) CSP+ (CCLink) |
NamespaceUri | http://opcfoundation.org/UA/CSPPlusForMachine/ |
NodeSet file | Opc.Ua.CSPPlusForMachine.NodeSet2.xml |
Model version | 1.00 |
Publication date | 28.11.2017 |
Latest change | 27.6.2020 |
SDK: loadModel | Success if the NodeSet file is fixed manually |
SDK: Code Generator | Success if the NodeSet file is fixed manually |
Simulation Server | Success if the NodeSet file is fixed manually |
其他信息
节点集文件缺少IdType和NumericRange的别名声明。可以通过将以下Alias元素添加到从文件当前版本的第42行开始的Alias元素来解决此问题:
<Alias Alias="IdType">i=256</Alias>
<Alias Alias="NumericRange">i=291</Alias>
PROFINET
Specification | OPC 30140 - OPC UA for PROFINET |
NamespaceUri | http://opcfoundation.org/UA/PROFINET/ |
NodeSet file | Opc.Ua.Pn.NodeSet2.xml |
Model version | 1.0.1 |
Publication date | 13.4.2021 |
Latest change | 16.4.2021 |
SDK: loadModel | Success with warnings |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success with warnings |
其他信息
向SDK和Simulation Server通过NodeSet文件加载模型时,由于使用了 & in ua:Text 元素,无法加载某些节点的值。
PROFIenergy
Specification | OPC 30141 - UA CS for PROFIenergy |
NamespaceUri | http://opcfoundation.org/UA/PNEM/ |
NodeSet file | Opc.Ua.PnEm.NodeSet2.xml |
Model version | 1.0.0 |
Publication date | 11.3.2021 |
Latest change | 20.3.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success with warnings |
其他信息
使用UA Simulation Server加载节点集文件会生成错误警告。
Commercial Kitchen Equipment
Specification | OPC 30200 - OPC UA for Commercial Kitchen Equipment |
NamespaceUri | http://opcfoundation.org/UA/CommercialKitchenEquipment/ |
NodeSet file | Opc.Ua.CommercialKitchenEquipment.NodeSet2.xml |
Model version | 1.0 |
Publication date | 12.7.2019 |
Latest change | 28.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
DEXPI
Specification | OPC 30250 - UA Companion Specification for DEXPI |
NamespaceUri | http://opcfoundation.org/UA/DEXPI/ |
NodeSet file | Opc.Ua.DEXPI.NodeSet2.xml |
Model version | 1.0.0 |
Publication date | 10.9.2021 |
Latest change | 15.9.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
OpenSCS
Specification | OPC 30260 - UA CS for OpenSCS Serialization Model |
NamespaceUri | http://opcfoundation.org/UA/OPENSCS-SER/ |
NodeSet file | Opc.Ua.OPENSCS.NodeSet2.xml |
Model version | 1.00 |
Publication date | 4.2.2019 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Industrie 4.0 Asset Administration Shell
Specification | OPC 30270 – UA for Industrie 4.0 Asset Administration Shell |
NamespaceUri | http://opcfoundation.org/UA/I4AAS/ |
NodeSet file | Opc.Ua.I4AAS.NodeSet2.xml |
Model version | 5.0.0 |
Publication date | 4.6.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success with warnings |
其他信息
使用UA Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Machinery
Specification | OPC 40001-1 - UA CS for Machinery Part 1 - Basic Building Blocks |
NamespaceUri | http://opcfoundation.org/UA/Machinery/ |
NodeSet file | Opc.Ua.Machinery.NodeSet2.xml |
Model version | 1.01.0 |
Publication date | 25.2.2021 |
Latest change | 17.2.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
其他信息
NodeSet XML文件中标记的发布日期为25.2.2021,这是在17.2.2021年对该文件进行的最新更改之后。
Robotics
Specification | OPC 40010-1 - UA for Robotics, Part 1: Vertical Integration |
NamespaceUri | http://opcfoundation.org/UA/Robotics/ |
NodeSet file | Opc.Ua.Robotics.NodeSet2.xml |
Model version | 1.01.2 |
Publication date | 20.5.2021 |
Latest change | 20.5.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Plastics and Rubber Machinery
Specification | OPC 40077 - UA CS for PlasticsRubber - Injection Moudling Machines to MES |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/IMM2MES/ |
NodeSet file | Opc.Ua.PlasticsRubber.IMM2MES.NodeSet2.xml |
Model version | 1.01 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40082-1 - UA CS for PlasticsRubber - TCD |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/TCD/ |
NodeSet file | Opc.Ua.PlasticsRubber.TCD.NodeSet2.xml |
Model version | 1.01 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40082-2 - UA CS for PlasticsRubber - HotRunner |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/HotRunner/ |
NodeSet file | Opc.Ua.PlasticsRubber.HotRunner.NodeSet2.xml |
Model version | 1.00 |
Publication date | 10.5.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40082-3 - UA CS for PlasticsRubber - LDS |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/LDS/ |
NodeSet file | Opc.Ua.PlasticsRubber.LDS.NodeSet2.xml |
Model version | 1.00.1 |
Publication date | 21.6.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40083 - UA CS for PlasticsRubber - General Types |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/GeneralTypes/ |
NodeSet file | Opc.Ua.PlasticsRubber.GeneralTypes.NodeSet2.xml |
Model version | 1.03 |
Publication date | 10.5.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success with warnings |
其他信息
使用UA Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Specification | OPC 40084-1 - UA CS for PlasticsRubber - Extrusion - General Types |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/GeneralTypes/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.GeneralTypes.NodeSet2.xml |
Model version | 1.01 |
Publication date | 1.4.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40084-2 - UA CS for PlasticsRubber - Extrusion - Extrusion Line |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/ExtrusionLine/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.ExtrusionLine.NodeSet2.xml |
Model version | 1.00.01 |
Publication date | 9.11.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40084-3 - UA CS for PlasticsRubber - Extrusion - Extruder |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Extruder/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Extruder.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40084-4 - UA CS for PlasticsRubber - Extrusion - Haul-off |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/HaulOff/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.HaulOff.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-5 - UA CS for PlasticsRubber - Extrusion - Melt Pump |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/MeltPump/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.MeltPump.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-6 - UA CS for PlasticsRubber - Extrusion - Filter |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Filter/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Filter.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-7 - UA CS for PlasticsRubber - Extrusion - Die |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Die/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Die.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-8 - UA CS for PlasticsRubber - Extrusion - Pelletizer |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Pelletizer/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Pelletizer.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-9 - UA CS for PlasticsRubber - Extrusion - Cutter |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Cutter/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Cutter.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-10 - UA CS for PlasticsRubber - Extrusion - Calibrator |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Calibrator/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Calibrator.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Specification | OPC 40084-11 - UA CS for PlasticsRubber - Extrusion - Corrugator |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Corrugator/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Corrugator.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.6.2020 |
Latest change | 8.4.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success |
Specification | OPC 40084-12 - UA CS for PlasticsRubber - Extrusion - Calender |
NamespaceUri | http://opcfoundation.org/UA/PlasticsRubber/Extrusion/Calender/ |
NodeSet file | Opc.Ua.PlasticsRubber.Extrusion.Calender.NodeSet2.xml |
Model version | 1.00 |
Publication date | 1.4.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Machine Vision
Specification | OPC 40100-1 - UA Companion Specification Part 1 for Machine Vision |
NamespaceUri | http://opcfoundation.org/UA/MachineVision |
NodeSet file | Opc.Ua.MachineVision.NodeSet2.xml |
Model version | 1.0.0 |
Publication date | 11.7.2019 |
Latest change | 28.8.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Fail |
Simulation Server | Success with warnings |
其他信息
当代码生成器试图从节点集文件生成Java代码时,它陷入了一个无休止的循环。
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Weighing Technology
Specification | OPC 40200 - UA CS for Weighing Technology |
NamespaceUri | http://opcfoundation.org/UA/Scales |
NodeSet file | Opc.Ua.Scales.NodeSet2.xml |
Model version | 1.0 |
Publication date | 1.6.2020 |
Latest change | 27.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Pumps
Specification | OPC 40223 - UA Companion Specification for Pumps and Vacuum Pumps |
NamespaceUri | http://opcfoundation.org/UA/Pumps/ |
NodeSet file | Opc.Ua.Pumps.NodeSet2.xml |
Model version | 1.0.0 |
Publication date | 19.4.2021 |
Latest change | 2.7.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Compressed Air Systems
Specification | OPC 40250-1 - UA CS for CompressedAirSystems Part 1 - Main Control System |
NamespaceUri | http://opcfoundation.org/UA/CAS/ |
NodeSet file | Opc.Ua.CAS.NodeSet2.xml |
Model version | 1.00.1 |
Publication date | 13.7.2021 |
Latest change | 17.7.2021 |
SDK: loadModel | Success with warnings |
SDK: Code Generator | Success if the NodeSet file is fixed manually |
Simulation Server | Success with warnings |
其他信息
变量节点 "ns=1;i=6295" 和 "ns=1;i=7882" 具有相同的浏览路径,这将导致代码生成器生成不可用的代码。这可以在打开Opc.Ua.CAS.NodeSet2.xml文件,更改这两个变量节点的BrowseName,使它们具有不同的BrowsePath。对于节点集文件的当前版本,BrowseNames位于第4421行和第9054行。例如,将后一个BrowseName从 "3:UIElement" 更改为 "3:UIElement2" 可以解决此问题。
使用SDK和Simulation Server加载节点集文件会生成警告。
Flat Glass Processing
Specification | OPC 40301 - UA for Flat Glass Processing |
NamespaceUri | http://opcfoundation.org/UA/Glass/Flat/ |
NodeSet file | Opc.Ua.Glass.NodeSet2.xml |
Model version | 1.0.0 |
Publication date | 1.1.2022 |
Latest change | 19.10.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
节点集XML文件中标记的发布日期为1.1.2022。
Woodworking
Specification | OPC 40550-1 - UA for Woodworking Part 1 - Vertical Interface |
NamespaceUri | http://opcfoundation.org/UA/Woodworking/ |
NodeSet file | Opc.Ua.Woodworking.NodeSet2.xml |
Model version | 1.00 |
Publication date | 3.10.2021 |
Latest change | 19.10.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Fail |
Simulation Server | Success |
其他信息
WwMessageArgumentValueDataType有一个名为Boolean的字段,CodeGenerator不支持该字段,因为它与Boolean java类同名。
Specification | OPC 40550-1 - UA for Woodworking Part 1 - Vertical Interface |
NamespaceUri | http://opcfoundation.org/UA/Eumabois/ |
NodeSet file | Opc.Ua.Eumabois.Nodeset2.xml |
Model version | 0.14 |
Publication date | 27.1.2021 |
Latest change | 19.10.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Untested |
Simulation Server | Success |
其他信息
此节点集文件扩展了中定义的信息模型http://opcfoundation.org/UA/Woodworking/.由于包含该信息模型的节点集文件与代码生成器不兼容,因此无法测试该节点集文件。
Tightening
Specification | OPC 40451-1 - UA CS for for Tightening Systems |
NamespaceUri | http://opcfoundation.org/UA/IJT/ |
NodeSet file | Opc.Ua.Ijt.Tightening.NodeSet2.xml |
Model version | 1.00.0 |
Publication date | 29.9.2021 |
Latest change | 13.10.2021 |
SDK: loadModel | Success with warnings |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Machine Tool
Specification | OPC 40501-1 - UA CS for Machine Tools Part 1 - Monitoring and Job |
NamespaceUri | http://opcfoundation.org/UA/MachineTool/ |
NodeSet file | Opc.Ua.MachineTool.NodeSet2.xml |
Model version | 1.00.0 |
Publication date | 25.9.2020 |
Latest change | 26.9.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
CNC Systems
Specification | OPC 40502 - UA for Computerized Numerical Control (CNC) Systems |
NamespaceUri | http://opcfoundation.org/UA/CNC |
NodeSet file | Opc.Ua.CNC.NodeSet.xml |
Model version | 1.0.0 |
Publication date | 19.6.2017 |
Latest change | 17.6.2020 |
SDK: loadModel | Success |
SDK: Code Generator | Success |
Simulation Server | Success with warnings |
其他信息
使用Simulation Server加载节点集文件会生成Bad_DecodingError错误警告。
Weihenstephan Standards
Specification | OPC 40600 - UA CS for Weihenstephan Standards |
NamespaceUri | http://opcfoundation.org/UA/Weihenstephan/ |
NodeSet file | Opc.Ua.Weihenstephan.NodeSet2.xml |
Model version | 1.00.0 |
Publication date | 12.7.2021 |
Latest change | 7.8.2021 |
SDK: loadModel | Success |
SDK: Code Generator | Success if some Nodes are excluded |
Simulation Server | Success |
Matti Siponen
Software Engineer
Email: matti.siponen@prosysopc.com
Expertise and responsibility areas: OPC UA product development and project work
Tags: OPC UA, Information Models, NodeSet, SDK for Java, Simulation Server
comments powered by DisqusProsys OPC Ltd
Prosys OPC是OPC和OPC UA软件领域中拥有20年技术经验的行业佼佼者。 OPC和OPC UA(Unified Architecture)是工业和高科技公司使用的通信标准。
最新博客文章
SimServer How To #3: 使用OPC UA客户端模拟服务器上的数据更改
关于如何使用OPC UA客户端在OPC UA服务器上写入新数据的分步教程(分为两部分)。
如何在生产分析项目中取得成功
工业4.0分析项目将在未来几年内成为显著增长的业务。阅读如何绕过最常见的陷阱以及成功交付项目。
Prosys OPC UA Forge为什么是工业4.0工厂的重要组成部分
如今,边缘计算应用程序提供了比OPC UA聚合服务器更广泛的功能。事实上,它是工业4.0工厂的主要组成部分。"