-

Error: The subscribed variable '...' must not be published, too

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

  1. Double-click the error message to jump to the corresponding editor.
  2. Decide whether the affected variable is to be written or read in the current configuation.

    Delete one of these usages.

Example