Prerequisites
Installation
When installing WinCC, the SIEMENS OPC option must be installed on the WinCC PC station.
Licensing
In order for OPC UA clients like XLReporter to connect to the WinCC OPC UA Server you must have the WinCC Option Connectivity Pack license from Siemens SIMATIC.
Server Settings
In the TIA Portal, open the project. In the Project Tree, access the Runtime settings.
Go to OPC settings, OPC Unified Architecture Server configuration to configure the following:
Port number. The default is 4861 but can be changed if needed.
Security Policy / Message Security mode. At least 1 security policy should be set. None should be avoided except for testing or diagnostics.
Download the settings on the runtime PC and then the server should be available.