Skip to content

OpcUA and user defined data (UDT) is it possible?

I have a remote siemens opc_ua_server with a UDT_TABLE looking like this:

The table is for a calender based start/stop function.

So i have declared them in siemens based on weekdays(Sunday through saturday):

But now my customer want to centralize this to a plc-next controller, so i begun doing some tests. And therefore I'm curious, am I limited to using the following variable identifier, that connects directly to the integer value (s="DB_TID"."MONDAG"."START_B_H_FM") or can i somehow connect it to a udt that is defined in the same way in plcNext? since this would mean either 98 separate variable mappings or 7...

And if I want to both write and read the tags, do I need to define them both as Group type Write AND Group type Subscribe?


BR

Mike

Comments

  • According to the Info Center:

    Since UDTs are structures, unfortunately it's not possible to link them directly to a single OPC UA Client variable.

    And if I want to both write and read the tags, do I need to define them both as Group type Write AND Group type Subscribe?

    Yes, that's correct.

Sign In or Register to comment.