OPC UA Communication: Read/Write Multiple Tags from Lenze PLC to B&R PLC for MappView

Hi everyone,

I’m currently working on integrating OPC UA communication between a Lenze PLC and our B&R PLC for a MappView project.

Using EasyUaRead/Write and UAConnect, I’m able to successfully read and write individual tags. However, for the full MappView application, I need to read/write multiple tags simultaneously, similar to how UaExpert handles bulk tag operations.

Has anyone implemented this kind of setup before? Specifically, I’m looking for:

  • A way to batch read/write multiple tags efficiently from Lenze PLC to B&R PLC.

  • Any best practices or configuration tips for optimizing OPC UA communication in MappView.

  • Suggestions for alternative libraries or methods that support bulk tag operations.

Any insights, examples, or documentation references would be greatly appreciated!

Thanks in advance!

Hi Darshan,

If you want to stick with the AsOpcUac library, you could use the UaCld_ReadBulk and UaClt_WriteBulk function blocks to read/write multiple nodes at once.

Another option which may be faster is to connect mappView directly to the Lenze PLC without going through the AsOpcUac library first. You can do this by configuring an additional server for mappView. You can then bind to nodes on the B&R PLC as well as nodes on the Lenze PLC. However, keep in mind that you will have to use the correct syntax for the Lenze PLC’s namespace in the bindings. I recommend using UA Expert to troubleshoot this.

2 Likes