eclipse-aaspe / package-explorer

AASX Package Explorer
Other
60 stars 19 forks source link

Support of OPC UA export to CODESYS? #120

Open vChavezB opened 2 years ago

vChavezB commented 2 years ago

I am exploring the features of the package explorer and I wanted to know if you have tried importing an AASX package to OPC UA with CODESYS?

I have exported the package via the Menu File>> Export OPC UA nodes.. to generate the XML model. I exported the demo file Example_AAS_ServoDCMotor_21.aasx into OPC UA and load the XML with python to create an OPC UA server. In UA Expert I get the following view.

image

However, when trying to load the XML in CODESYS the model is not found (Tools>>OPC UA information model)

image

I was wondering if you have tried this; perhaps I am missing something.

Jorgecanetemartin commented 1 year ago

When you exported into OPC UA by the NodeSet.xml did your server started or you did somethine before to make it work? Because i can export my .aasx as an xml but my server doesn't start. What stepts did you follow for creating the OPC UA server and loading the XML in UaExpert. Have you only used the opcua-asyncio github or anything else? Thank you

vChavezB commented 6 months ago

When you exported into OPC UA by the NodeSet.xml did your server started or you did somethine before to make it work? Because i can export my .aasx as an xml but my server doesn't start. What stepts did you follow for creating the OPC UA server and loading the XML in UaExpert. Have you only used the opcua-asyncio github or anything else? Thank you

Yes I only used the opcua-asyncio python module. I do not remember the detailed steps but perhaps check the example provided by the authors in https://github.com/FreeOpcUa/opcua-asyncio/tree/094860570227c28b23818e972a05432caf847b00/examples/simple-client-server-xml