Configure WIN-911 WinCC Source
Getting Started
This guide shows you how to configure the WIN-911 WinCC Source module for Siemens WinCC V7.5. When you finish, WIN-911 receives the alarms from your WinCC project and can acknowledge them back in WinCC.
The WinCC Source connects to the WinCC OPC UA server and subscribes to its alarms (OPC UA Alarms & Conditions). Each WinCC message from Alarm Logging arrives in WIN-911 with its message number, message text and severity.
Before you begin
Important
Review the System Requirements page for supported SCADA versions and other helpful information.
Make sure you have the following:
WinCC V7.5 with WinCC/Connectivity Pack installed and licensed. The Connectivity Pack provides the WinCC OPC UA server.
A WinCC project with the messages you want to monitor configured in Alarm Logging. Note the message numbers of these messages; you use them later in WIN-911.
WIN-911 with the WinCC Source module installed.
Important
The WinCC OPC UA server needs the Connectivity Pack licence. WinCC demo mode does not cover it: without the licence, the OpcUaServerWinCC service stays Paused even while the project runtime is active, and WIN-911 cannot connect.
Note
This guide first connects WIN-911 to WinCC with Security None and Anonymous Identity, which is the quickest way to confirm that communication works. These settings are not intended for production. After alarms arrive in WIN-911, secure the connection as described in Secure the connection.
Configure the WinCC OPC UA server
The WinCC OPC UA server runs as the Windows service OpcUaServerWinCC and is configured in a single file, OpcUaServerWinCC.xml. It serves data only while the WinCC project is in runtime. With the factory settings, the server already accepts Security None and Anonymous connections, so for the first connection you only need to check the settings below.
On the WinCC computer, open File Explorer and go to C:\Program Files (x86)\Siemens\WinCC\opc\UAServer.

Open OpcUaServerWinCC.xml in a text editor. To save changes, run the editor as administrator. Make a backup copy of the file before you change it.
Under BaseAddresses, find the server endpoint. By default it is opc.tcp://[HostName]:4862. At runtime, WinCC replaces [HostName] with the computer name. Change the port only if 4862 is already in use. You enter this endpoint in WIN-911 later.

Under SecurityPolicies, review the security policies the server offers. By default the server offers None, and Basic128Rsa15, Basic256 and Basic256Sha256, each with Sign and SignAndEncrypt. Keep None for the first connection.

Under UserTokenPolicies, review the user authentication types the server accepts. By default these are Anonymous and UserName.

If you changed the file, save it and restart the OpcUaServerWinCC service in Services.

Important
The OpcUaServerWinCC service shows Paused while the WinCC project is not in runtime; this is normal. Do not use Resume in Services: it fails with "Windows could not resume the OpcUaServerWinCC service". The service resumes by itself when you activate the project.
Important
If WIN-911 runs on a different computer, allow inbound TCP port 4862 (or the port you configured) in Windows Firewall on the WinCC computer, and use the WinCC computer's name or IP address in the WIN-911 Server Endpoint.
Tip
Siemens documents the WinCC OPC UA server and its configuration file in the WinCC/Connectivity Pack documentation. This documentation is available from Siemens, for example through Siemens Industry Online Support.
Prepare the WinCC project runtime
WinCC passes messages to the OPC UA server only when Alarm Logging Runtime is part of the project's runtime. It is not enabled by default.
In WinCC Explorer, deactivate the project if it is in runtime.
Click Computer. In the right pane, right-click your computer's name and click Properties.

On the Startup tab, under WinCC Runtime Start Up Order, select Alarm Logging Runtime, and then click OK.

Note
If Alarm Logging Runtime is not selected, a WinCC AlarmControl in runtime reports "1 Server connection(s) failed", and no messages reach WIN-911.

Click File > Activate to start the project runtime.

Configure WIN-911
Add the WinCC Source: open WIN-911 Workspace, go to Alarm Sources > WinCC, and click Add New Configuration.
![]() |
Note
When a source is added, there are 4 sections:
WinCC Source: the connection to the WinCC OPC UA server. This configuration is required.
Subscriptions: route alarms to a specific Notification Policy. This configuration is required.
Watchdogs: an alarm is triggered when there is no activity from WinCC.
Health Alarm: an alarm is triggered when the connection is disrupted.
Tip
Subscriptions, Watchdogs and Health Alarm use Notification Policies. A notification policy determines who, when and how an alarm event notification will be sent.
For more information about Notification Policies, refer to the WIN-911 Dispatcher Module documentation:
Workspace And Dispatcher: https://supportdesk.win911.com/s/topic/0TONs00000024vZOAQ/workspace-and-dispatcher-2023?tabset-b394a=2
Notification Policies: https://supportdesk.win911.com/s/article/WIN-911-2024-Notification-Policies
Configure WinCC Source
In the WinCC Source section, fill out the following fields:
Name: a name that identifies this configuration.
Server Endpoint: the endpoint from BaseAddresses in OpcUaServerWinCC.xml, with [HostName] replaced by the WinCC computer's name or IP address and a trailing slash, for example opc.tcp://WINCC-SERVER:4862/. If WIN-911 and WinCC run on the same computer, you can use localhost.
Authentication: keep Anonymous Identity.

In Endpoint Selection Policy, select Security None. The default is Secure.

Note
Leave the other options cleared for now:
Only Good Quality: when selected, WIN-911 ignores alarm events that do not have Good quality.
Prevent Reactivation Duplicates: when selected, an alarm that goes inactive and becomes active again before it is acknowledged stays a single alarm in WIN-911 instead of creating a duplicate. Acknowledging it acknowledges the earlier occurrences as well.
Message Security Preference, Reject Obsolete Security Policies, Require Authentication, Require Confidentiality and Require Integrity are described in Secure the connection.
Click Save Changes.
Click Test Connection.

Important
The warnings "Anonymous Identity" Is Not Intended For Production and "Security None" Is Not Intended For Production are expected with these settings. Secure the connection before you use it in production.
If the configuration is correct on both sides, the message WinCC Source application connected successfully. appears.
If WIN-911 cannot reach the WinCC OPC UA server, the following message appears:
![]() |
Note
If the connection fails, check the following:
The WinCC project is in runtime and the OpcUaServerWinCC service shows Running.
The Server Endpoint uses the correct computer name or IP address and port.
Windows Firewall on the WinCC computer allows the port.
The message also mentions trusting the WIN-911 certificate. This applies only to secured connections; see Secure the connection.
Configure Watchdogs (Optional)
WIN-911 WinCC Source supports watchdog timers, which alert users when communication is lost between WIN-911 and WinCC.
WIN-911 monitors a WinCC message that comes and goes on a regular interval, for example a message triggered by a tag that toggles in a cycle. Set the watchdog timeout to a value greater than this interval. If the timeout expires before the message comes or goes again, WIN-911 triggers a watchdog alarm. The watchdog alarm clears when the message is received again.
Important
WIN-911 uses the watchdog's message only to reset the watchdog timer; the message is not routed to subscriptions. Use a dedicated WinCC message for the watchdog.
To add a Watchdog:
Expand the Watchdogs section and click Add Watchdog.

Fill out the fields:
Name: a name for the watchdog alarm.
Item Id: the WinCC message number of the watchdog message, for example 600. Type the number; there is no browse button for WinCC sources.
Timeout: the time in seconds without the message before the watchdog alarm is triggered (5 to 900; default 90).
Notification Policy: the Notification Policy this watchdog alarm calls out to.
Severity: the severity of the watchdog alarm (default 500).
Labels: any labels you want.
Description: a description as needed.

Important
WIN-911 WinCC can participate in failover conditions.
To configure a watchdog for a failover condition, add a new watchdog and use Status as its Name.
For more information about the WIN-911 Failover Utility, refer to https://supportdesk.win911.com/s/article/WIN-911-2024-Failover-Utility.
Configure Health Alarm (Optional)
The health alarm monitors WIN-911's connection to the WinCC OPC UA server. If the connection is lost, WIN-911 triggers an alarm; the alarm clears when the connection is restored.
Select which Notification Policy this alarm calls out to, set the severity you want, add any labels, and change the description as needed. The default description is "Lost connection with WinCC Server".
![]() |
Click Save Changes when the configuration is complete.
Verify alarms in WIN-911
In WinCC runtime, trigger one of the messages that your subscription matches. The message appears in the WinCC AlarmControl.

Confirm that the alarm arrives in WIN-911 and is sent to the Notification Policy of the matching subscription.
When you acknowledge an alarm in WIN-911, WIN-911 acknowledges the message in WinCC.
Secure the connection
Security None and Anonymous Identity do not protect the connection: messages are neither signed nor encrypted, and any client can connect. After you confirm that alarms arrive in WIN-911, secure the connection on both sides. This section describes all the options and then walks through one configuration: Security Sign And Encrypt with User Name Identity.
Security options in WIN-911
Endpoint Selection Policy controls which server endpoints WIN-911 may use:
![]() |
Secure: uses an endpoint that provides security, either Sign or Sign And Encrypt (the default).
Security None: uses only an endpoint without security. Not intended for production.
Security Sign: uses an endpoint where messages are signed.
Security Sign And Encrypt: uses an endpoint where messages are signed and encrypted.
All: allows any endpoint the server offers, including endpoints without security.
Authentication controls how WIN-911 identifies itself to the WinCC OPC UA server:
Anonymous Identity: no user identity. Not intended for production.
User Name Identity: the User Name and Password of a WinCC user, configured in the WinCC User Administrator.
Kerberos Identity: the Windows (Kerberos) identity of the WIN-911 WinCC runtime service.
X509 Certificate Identity: a certificate file (File Name) and its Password. The Select File button is available only when Workspace runs on the WinCC computer.
The WinCC OPC UA server accepts only the identity types listed under UserTokenPolicies in OpcUaServerWinCC.xml; by default these are Anonymous and UserName. Use User Name Identity unless you have added other token types.
Additional options in the WinCC Source section:
Message Security Preference: when several endpoints are allowed, prefer endpoints that provide message security.
Reject Obsolete Security Policies: do not use obsolete security policies. On WinCC, Basic128Rsa15 and Basic256 are obsolete.
Require Authentication: connect only if both parties are authenticated.
Require Confidentiality: connect only if the communication is encrypted.
Require Integrity: connect only if the communication is signed.
Common Certificate Acceptance Policy applies to all WinCC sources:
Minimum Certificate Key Size: default 1024.
Accept Any Certificate: accept any server certificate without trusting it first. Not recommended.
Allow Sha1 Signed Certificates: accept certificates signed with SHA-1.
Allow User Accept Certificate: allow you to trust a server certificate from Show Certificates (selected by default).
Security options in WinCC
In OpcUaServerWinCC.xml, the server offers only the security policies listed under SecurityPolicies and the user identity types listed under UserTokenPolicies. The file also lists each security policy under SecurityProfileUris, with an Enabled setting.
After WIN-911 connects with security, stop unsecured clients from connecting:
Remove the None entry from SecurityPolicies, and set Enabled to false for the None entry under SecurityProfileUris.
Remove the Anonymous entry from UserTokenPolicies.
Optionally, do the same for the obsolete Basic128Rsa15 and Basic256 policies.
Back up the file before you change it, and restart the OpcUaServerWinCC service after you save it. For details, refer to the Siemens WinCC/Connectivity Pack documentation.
Secure the connection with Sign And Encrypt
In the WinCC Source section, set Endpoint Selection Policy to Security Sign And Encrypt.
Set Authentication to User Name Identity, and enter the User Name and Password of a WinCC user.
Select Reject Obsolete Security Policies.
Click Save Changes, and then click Test Connection.
Note
An error is expected the first time: WIN-911 must trust the WinCC server certificate, and WinCC must trust the WIN-911 certificate.
If the message The WinCC server certificate is not accepted. appears, click Show Certificates, select the certificate Siemens OPC UA Server for WinCC, and click Trust Selected Certificate. In this way, WIN-911 trusts the certificate provided by WinCC.
Click Test Connection again. WinCC rejects the WIN-911 certificate until you trust it.
On the WinCC computer, trust the WIN-911 certificate, named WIN-911 WinCC Source Runtime. WinCC stores client certificates it rejects in C:\Program Files (x86)\Siemens\WinCC\opc\UAServer\PKI\CA\rejected\certs. Move the WIN-911 certificate from this folder to C:\Program Files (x86)\Siemens\WinCC\opc\UAServer\PKI\CA\certs. You need administrator rights, and the project must be in runtime.
Note
If the WIN-911 certificate does not appear in the rejected folder, refer to the Siemens WinCC/Connectivity Pack documentation for how to trust client certificates in your WinCC version.
Click Test Connection again. If the configuration is correct on both sides, the message WinCC Source application connected successfully. appears.
In OpcUaServerWinCC.xml, remove the None security policy and the Anonymous user token as described in Security options in WinCC, and restart the OpcUaServerWinCC service. Click Test Connection once more to confirm that the secured connection still works.
Troubleshooting
This section lists problems that OPC UA clients commonly run into with the WinCC OPC UA server, and how to solve them. Start with the message that Test Connection shows, and then check the WIN-911 event log on the computer that runs the WIN-911 WinCC runtime for details.
Test Connection reports "Unable to connect to specified server"
This message appears for most connection errors. Work through the following checks in order:
On the WinCC computer, make sure the WinCC project is in runtime. The WinCC OPC UA server serves data only while a project is in runtime.
In Services, make sure the OpcUaServerWinCC service shows Running. If it stays Paused while the project is in runtime, check the licences in the Automation License Manager: the OPC UA server needs the WinCC/Connectivity Pack licence in addition to the WinCC runtime licence, and WinCC demo mode does not cover it.
Make sure the Server Endpoint in WIN-911 uses the port from BaseAddresses in OpcUaServerWinCC.xml (default 4862).
If WIN-911 runs on a different computer, check that it can reach the port. On the WIN-911 computer, open PowerShell and run Test-NetConnection <WinCC computer name> -Port 4862. If TcpTestSucceeded is False, allow inbound TCP port 4862 in Windows Firewall, and in any other security software, on the WinCC computer.
If you use a secured connection, make sure WinCC trusts the WIN-911 certificate. See WinCC rejects the WIN-911 certificate.
Note
The WinCC OPC UA server uses OPC UA over TCP only. Unlike the classic WinCC OPC DA and OPC A&E servers, it does not need any DCOM configuration.
Test Connection fails when you use an IP address
When a client connects, the WinCC OPC UA server returns its endpoint with the WinCC computer's name in place of [HostName]. The WinCC server certificate also contains only the computer name, not its IP address. As a result:
The WIN-911 computer must be able to resolve the WinCC computer's name, even when you enter an IP address in Server Endpoint.
A secured connection can fail with a host name error, such as BadCertificateHostNameInvalid in the event log, if Server Endpoint uses an IP address.
To solve this:
In Server Endpoint, use the WinCC computer's name instead of its IP address.
On the WIN-911 computer, run ping <WinCC computer name> to check that the name resolves. If it does not, ask your network administrator to add the name to DNS, or add an entry for it to the hosts file on the WIN-911 computer.
Test Connection reports "The WinCC server certificate is not accepted."
WIN-911 does not yet trust the certificate of the WinCC OPC UA server. Click Show Certificates, select Siemens OPC UA Server for WinCC, and click Trust Selected Certificate. Then click Test Connection again.
Note
If the WinCC server certificate is replaced, for example after it is renewed or WinCC is reinstalled, WIN-911 rejects the new certificate until you trust it again.
WinCC rejects the WIN-911 certificate
With a secured connection, the WinCC OPC UA server accepts only clients whose certificates it trusts. When an untrusted client connects, the server copies the client certificate to its rejected folder and refuses the connection. In WIN-911, Test Connection then reports "Unable to connect to specified server", even after WIN-911 trusts the WinCC server certificate.
Make sure the WinCC project is in runtime, and click Test Connection once. The server stores the rejected certificate only while the project is in runtime.
On the WinCC computer, go to C:\Program Files (x86)\Siemens\WinCC\opc\UAServer\PKI\CA\rejected\certs.
Move the WIN-911 WinCC Source Runtime certificate (.der file) to C:\Program Files (x86)\Siemens\WinCC\opc\UAServer\PKI\CA\certs. You need administrator rights.
Click Test Connection again.
Important
The WinCC OPC UA server uses its own certificate folders, not the Windows certificate store. If you open a certificate file, do not click Install Certificate: it has no effect on the WinCC OPC UA server. Windows may also warn that the root certificate is not trusted; you can ignore this warning.
Note
These paths are for a default installation. If WinCC is installed in a different folder, the PKI folder is under the opc\UAServer folder of that installation.
A secured connection stops working after it has worked before
Certificates are valid only for a limited time. The WinCC OPC UA server creates its certificate when WinCC is installed, and the certificate is valid for 5 years. Communication stops when a certificate expires, and also when the clocks of the two computers differ so much that a certificate appears not yet valid or already expired.
Make sure the date, time and time zone are correct on both computers.
In WIN-911, click Show Certificates and check Expires On for the WinCC server certificate and the WIN-911 certificate.
If the WinCC server certificate has expired or is about to expire, renew it as described in the Siemens FAQ "How do you create or delete CA certificates of the OPC UA server and client in WinCC?", available from Siemens Industry Online Support. Then trust the new certificate in WIN-911.
Test Connection fails after you change the security settings
WIN-911 can connect only if the WinCC OPC UA server offers an endpoint that matches the WIN-911 settings. Check the following:
Endpoint Selection Policy: if you removed the None policy from OpcUaServerWinCC.xml, Security None no longer works. Select Security Sign or Security Sign And Encrypt.
Reject Obsolete Security Policies: when selected, WIN-911 does not use Basic128Rsa15 or Basic256. Make sure the server still offers Basic256Sha256.
Require Confidentiality: when selected, WIN-911 needs an encrypted connection, so Security Sign fails. Use Security Sign And Encrypt.
Authentication: the server accepts only the user identity types listed under UserTokenPolicies. If you removed Anonymous, Anonymous Identity no longer works. Kerberos Identity and X509 Certificate Identity work only if you have added these token types.
User Name Identity is rejected
If Test Connection fails only with User Name Identity:
Check the User Name and Password. The password is case-sensitive.
Make sure UserName is listed under UserTokenPolicies in OpcUaServerWinCC.xml.
Make sure the user account exists and is not locked or expired.
Changes to OpcUaServerWinCC.xml have no effect
WinCC also keeps a project-specific copy of OpcUaServerWinCC.xml in the OPC\UAServer folder of the WinCC project folder, for example C:\Users\Public\Documents\Siemens\WinCCProjects\<project name>\OPC\UAServer. Siemens documentation describes this project file as the place to change the port and other server settings.
Make the same change in the project copy of OpcUaServerWinCC.xml. Back up the file first.
Deactivate the WinCC project, restart the OpcUaServerWinCC service, and activate the project again.
WIN-911 connects, but no alarms arrive
Make sure Alarm Logging Runtime is selected on the Startup tab of the computer properties in WinCC Explorer. See Prepare the WinCC project runtime.
In WinCC runtime, make sure the message appears in a WinCC AlarmControl. WinCC sends only messages that Alarm Logging raises.
Check the subscription filters:
Node Name contains the WinCC message number only, for example 507, not the message text.
String filters are case-sensitive, and a Wildcard pattern must match the whole value.
Alarms go to the first matching subscription only. Check the order of the subscriptions.
Make sure the message is not the Item Id of a watchdog. Watchdog messages are not routed to subscriptions.
If Only Good Quality is selected, clear it and test again.
The Health Alarm triggers when WinCC runtime stops
The OpcUaServerWinCC service pauses when you deactivate the WinCC project, so WIN-911 loses its connection and triggers the Health Alarm. This is expected. The Health Alarm clears when the project is in runtime again and WIN-911 reconnects. Plan WinCC maintenance accordingly, or let the contacts in the Health Alarm's Notification Policy know about it in advance.



