UA Modeler, exported XML and Siemens TIA portal

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
pena67
Jr. Member
Jr. Member
Posts: 3
Joined: 12 Oct 2021, 12:57

UA Modeler, exported XML and Siemens TIA portal

Post 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.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: UA Modeler, exported XML and Siemens TIA portal

Post 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.
Best regards
Unified Automation Support Team

pena67
Jr. Member
Jr. Member
Posts: 3
Joined: 12 Oct 2021, 12:57

Re: UA Modeler, exported XML and Siemens TIA portal

Post 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

pena67
Jr. Member
Jr. Member
Posts: 3
Joined: 12 Oct 2021, 12:57

Re: UA Modeler, exported XML and Siemens TIA portal

Post 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

Post Reply