OPC UA: B&R struct cannot be added as complete value in S7-1500 OPC UA client

Hello,

I am testing OPC UA communication between a B&R OPC UA server (X20CP1684 / Automation Studio V6.5.1.7) and an S7-1500 OPC UA client.
Arrays work as expected after setting Automatic Enable = Recursive in Automation Studio: both the complete array and the individual array elements can be browsed and added in the Siemens client.
With a B&R struct (TestStruct_Typ with INT, REAL and STRING members), UAExpert can browse, read and write the complete struct. In the S7-1500 OPC UA client interface, however, I can only add the individual struct members. When I try to add the complete struct node (VarStruct), TIA shows this error:


In Automation Studio the struct looks like this:

A complete struct works in the Siemens client when the OPC UA server is also an S7-1500.
Is there a B&R Automation Studio setting comparable to Automatic Enable = Recursive that is required to expose a complete struct in a way that the Siemens OPC UA client can import it? Or is reading/writing the complete B&R struct not supported by the S7-1500 OPC UA client?

Thanks in advance :slight_smile:

Hello,

Try to enable Generation of OPC UA TypeDefinitions in the UaDvConfig.uadcfg file.

Hi Pavel,

thank you. I enabled it, but unfortunately the same error still occurs.

Do you have any other idea what could cause this or another setting I should check?

Thank you!