Page 1 of 1

UA Modeler, exported XML and Siemens TIA portal

Posted: 15 Oct 2021, 06:54
by pena67
Hi,

have anyone used exported XML models successfully with Siemens TIA portal?

We have TIA portal V17 in use. The exported model is imported nicely as a new OPC UA server interface (importing as Companion specification) and you can see that imported object types are visible to an OPC client communicating with the PLC.

However, in the TIA portal we have some issues when trying to generate local data for the server interface. TIA portal complains that "array dimensions for StaticNodeIdTypes do not match the array dimensions that were defined in the corresponding OPC UA server interface", even though dimensions seems to be the same, only difference is that array is of IdType and local data array is of DInt.

Re: UA Modeler, exported XML and Siemens TIA portal

Posted: 15 Oct 2021, 14:41
by Support Team
Hi,

working with UaModeler to create NodeSet-Files and importing them into Siemens TIA portal (V17, but also V15 and V16 and maybe earlier) works in general. Are you aware of SiOME (free tool provided by Siemens) that helps you adding TIA mapping Information into the NodeSet-File and potentially generating data blocks / function blocks in your TIA-project?

I have done this many times and never run into a problem like you described it. I am not sure what you are doing there in detail, but that seems rather a problem with how you try to generate local data in the Siemens-environment than a problem of the NodeSet-File. Maybe generating data blocks with SiOME is helping.

Re: UA Modeler, exported XML and Siemens TIA portal

Posted: 15 Oct 2021, 14:56
by pena67
Thanks, good to know that it has been used a lot. We will take a look based on your feedback. We've been using SiOME as well as part of this exercise trying to understand best ways to model data and code generation for our OPC UA client.

Thanks again,

Eero

Re: UA Modeler, exported XML and Siemens TIA portal

Posted: 20 Oct 2021, 14:15
by pena67
Hi,

one more question: my college is trying to use SiOME for the mapping. He seems to have an issue that he can't map PLC datatypes to OPC UA types in SiOME, simply because those PLC data types are not visible in SiOME. The idea is that mapping would be done once on a type level and the tool would do the rest for the data. We have lot of data blocks we want to expose via the OPC UA server interface.

Best regards,

Eero