OPC UA PubSub Configuration Error (PLCN0041): '...': The subscribed variable '...' may not also be published.
In the configuration of the OPC UA PubSub communication, a global variable is both published (written) and subscribed (read) in the same configuration since it is included in a data set and mapped as target variable. A variable can only be published or subscribed - both operations within one configuration are not allowed.
Remedy
- Double-click the error message to jump to the corresponding editor.
- Decide whether the affected variable is to be written or read in the current configuration.Delete one of these usages.