Skip to content

OPC UA Pub/Sub

Is it possible to post some more detailed information about the OPC UA Pub/Sub function on the forum?

A example project would be appreciated.


Peter Paul

Comments

  • Hi Peter Paul.

    I generated a simple working example (one publisher and one subscriber) by following the step-by-step guide in the PLCnext Engineer help files:

    The resulting PLCnext Engineer projects - for two AXC F 2152 devices - are in the attached ZIP file.


  • Note that there are two bugs in PLCnext Engineer version 2022.0.1 that caused me some confusion when preparing this example:

    1. The Writer ID fields should be invisible in both the Publisher and the Subscriber configuration screens.
    2. There should be no references to the Writer ID field in the Help files.

    These bugs will be fixed in a future version.

  • Hi Martin,

    I did find the informations you mentioned and followed those. but....

    At the moment I'm using a AXC F 3152 and a AXC F2152 for testing.

    I keep the multicast address at the default. I also keep the WriterID for both Publisher and Subscriber as it is.

    Anything else I have to look out for.


    Peter Paul

  • In the example 239.0.0.1 is used, this should be changed to 239.0.1.1. The multicast group 239.0.0.1 maps to a multicast MAC address of 01:00:5E:00:00:01 which is in fact reserved for link-local multicasts. IGMP snooping does not work with this link-local multicasts addresses in all switches.

Sign In or Register to comment.