Problems implementing AutomationML into model|OPC UA Companion Standards|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Problems implementing AutomationML into model
Avatar
Waldemar Borsych
New Member
Members
Forum Posts: 2
Member Since:
10/12/2016
sp_UserOfflineSmall Offline
1
10/28/2016 - 05:19
sp_Permalink sp_Print

Hello,

I'm trying to implemet AutomationML into my UA Model. Therefor I add OPCUAforAutomationML .xml files as existing model in Unified Automation UAModeler. After adding BaseTypes I get several errors of the same kind: Incomplete internal reference detected: NodeBrowseName (ns:ID) and after adding AMLLibraries Value of ns:ID has invalid type.

As I took a closer look at the BaseTypes.NodeSet.xml, I noticed that the ParentID is missing at some nodes ( <UAObject NodeId="ns=1;i=5006" BrowseName="1:AutomationMLFiles" ParentNodeId=""> for example). I'm still looking what caused the error in Opc.Ua.AMLLibraries.NodeSet2.xml. I only noticed, that many nodes were not imported. 

After running the consistency check even more errors appear. It seems like there is an issue with ID and Version variables. 

Is that a known error or maybe I'm doing something wrong? Did someone had similar troubles?

Best Regards,
Waldemar Borsych. 

Avatar
Miriam Schleipen
Member
Members
Forum Posts: 3
Member Since:
04/16/2014
sp_UserOfflineSmall Offline
2
10/31/2016 - 01:46
sp_Permalink sp_Print

I am not used to the UAModeler from Unified Automation, so first question would be, if you can tell, which version of the UAModeler you are using? I assume that the UAModeler includes a version of the AMLBaseTypes. Do you know which version of the OPC UA AML Nodeset it includes? Is it described somewhere? The AMLBaseTypes are referenced in all AML-OPC-UA.xml models via references to the included NodeIDs. Currently, there is the version of the AMLBaseTypes which was published as Companion Specification in February 2016. This version also includes the corresponding AMLLibraries model. Did you use these ones for your model or a newer version? There is an extended version of the AMLBaseTypes (with different NodeIDs) for the DIN SPEC 15692 "Combining AML and OPC Unified Architecture" which will be published in December 2016 and includes an extended mapping concerning attributes and mapping details. For this version of the AMLBaseTypes, the NodeIDs changed. The newer version of the nodeset is not published yet as the DIN SPEC 16592 was not officially published until now, but includes additional Nodes. If you modelled you OPCUAforAutomationML.xml against this version, the described problem occurs if you use this in combination with the Companion Specification Nodeset. 

Best regards

Miriam Schleipen

Avatar
Waldemar Borsych
New Member
Members
Forum Posts: 2
Member Since:
10/12/2016
sp_UserOfflineSmall Offline
3
10/31/2016 - 09:27
sp_Permalink sp_Print

Hello and thank you for the fast reply.

 

I'm using UAModeler 1.5.0, which is the latest version of the software. The modeler itself doesn't include any AML specifications. So I downloaded 1457352183-AutomationML Whitepaper - OPCUAforAutomationML_Mar2016 directly from http://www.automationml.org and added Opc.Ua.NodeSet2.xml, Opc.Ua.AMLBaseTypes.NodeSet2.xml and Opc.Ua.AMLLibraries.NodeSet2.xml to my model. By adding these 3 namespaces I already get the errors or warnings as described in my last post.

Don't understand me wrong, it is possible to work with that. Maybe the warnings can be ignored and at the end it has no influence on the resulting model. I was just wondering and want to get sure. 

Best Regards,
Waldemar Borsych.

Avatar
Miriam Schleipen
Member
Members
Forum Posts: 3
Member Since:
04/16/2014
sp_UserOfflineSmall Offline
4
12/06/2016 - 11:21
sp_Permalink sp_Print

I installed UAModeler 1.5.0 and followed your described steps. The models are all loaded, even if I see the errors/warnings listed, too, but it seems that all Objects and ObjectTypes are created.

Best regards

Miriam Schleipen

Avatar
Miriam Schleipen
Member
Members
Forum Posts: 3
Member Since:
04/16/2014
sp_UserOfflineSmall Offline
5
12/06/2016 - 11:22
sp_Permalink sp_Print

I installed UAModeler 1.5.0 and followed your described steps. The models are all loaded, even if I see the errors/warnings listed, too, but it seems that all Objects and ObjectTypes are created.

Best regards

Miriam Schleipen

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 42
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1348
Posts: 4576