Overview
Siemens TCSB (Telecontrol Server Basic) is a Windows service that aggregates process values from remote automation systems over GPRS, UMTS, LTE-M, or TCP/IP and exposes them through an embedded OPC DA / OPC UA server. WinCC v7.2 can consume those values in two ways: (1) by acting as an OPC DA client against the TCSB OPC server, or (2) by using the native OPC UA channel introduced with V7.2. The configuration path differs from WinCC flexible / TIA Portal, which use the proprietary "TCSB" channel unit; in V7.2 the connection is built manually inside Tag Management using the OPC or OPC UA channel.
This reference documents the architecture, prerequisites, configuration steps, user-account matching, certificate handling, and diagnostics required to establish a working WinCC v7.2 ↔ TCSB link. It consolidates procedures from the TCSB Basic Operating Manual V7.6, the WinCC V7.2 OPC Communication Manual, the S7-1200 / WinCC V7.4 Telecontrol Application Note, and the TCSB Certificate Management with WinCC guide.
System Architecture
The minimum topology uses two PCs and one or more telecontrol stations:
-
TCSB Server PC (PC-1) – Windows Server 2008 R2 / 2012 R2 / 2016, TCSB V7.x service, embedded OPC DA server (typically
OPC.SimaticNet.TCSB) and OPC UA server endpoint onopc.tcp://<PC-1>:4862. - WinCC v7.2 Client PC (PC-2) – WinCC V7.2 SP1 or higher, OPC channel or OPC UA channel license, identical Windows user account for DCOM security.
- Remote station – S7-1200 / S7-1500 / S7-300 with CP 1242-7 / CP 1243-7 / CP 1542SP-1, or third-party controller polled by a TCSB Master.
Data flow: PLC → CP → GPRS/Internet → TCSB Master → TCSB internal OPC DA/UA server → WinCC V7.2 (OPC client) → HMI tag → picture / archive / alarm.
Communication Stack Reference
| Layer | Protocol | Default Port | Configuration Point |
|---|---|---|---|
| TCSB ↔ Remote station | Siemens Telecontrol (SINAUT ST7 / TC layer) | UDP 50000 / TCP 50000 | TCSB Config – "Telecontrol Stations" |
| TCSB ↔ OPC DA client (legacy) | OPC DA 2.05a / 3.0 over DCOM | RPC (dynamic) | dcomcnfg.exe, Windows Firewall |
| TCSB ↔ OPC UA client | OPC UA 1.02 / 1.04 | TCP 4862 | TCSB Config – "OPC UA Server" |
| WinCC V7.2 ↔ WinCC Server (distributed) | TCP / Named Pipes | TCP 4899 | WinCC – "Server-Server Connection" |
Prerequisites
- WinCC V7.2 SP1 Update 9 or later (older SPs lack stable OPC UA client). Confirm via Help → About.
- WinCC option "WinCC/Connectivity Pack" or "WinCC/OPC UA Client" license available; OPC DA channel is included in the base license.
- TCSB V7.3 or higher installed on PC-1, configured with at least one working telecontrol station and OPC interface enabled.
- Both PCs joined to the same Windows workgroup or domain. A local user with identical username and password on both machines is mandatory for DCOM authentication (see User Account Matching below).
- Network reachability:
ping PC-1from PC-2 andtelnet PC-1 4862(UA) ordcomcnfgtest (DA) must succeed. - Disable the Windows firewall temporarily during first commissioning, or pre-create inbound rules for
%SystemRoot%\System32\opcenum.exeand%ProgramFiles%\Siemens\Automation\WinCC\bin\CCClientStd.exe.
Step-by-Step Configuration
Step 1 – Enable and Test the TCSB OPC Server
- On PC-1, open TCSB Config and select Project → Options → OPC Server.
- Confirm Activate OPC DA Server and Activate OPC UA Server are checked. Note the UA endpoint URL:
opc.tcp://<PC-1>:4862/TCSB. - Click Test OPC Server. A successful test displays the list of published items from the configured stations.
- Open Windows Services (
services.msc) and verify Siemens Telecontrol Server Basic is Running and startup type is Automatic (Delayed Start).
Step 2 – Create a Matching Windows User
DCOM authenticates by Windows credentials. If the same user does not exist on PC-1 and PC-2 with the same password, the OPC DA browse returns E_ACCESSDENIED (HRESULT 0x80070005).
- On PC-1, create a local user
TCSBUser, passwordP@ssw0rd!23, member of groups Distributed COM Users and Performance Log Users. - Repeat on PC-2 with the identical username and password.
- On PC-1, in
dcomcnfg.exe→ Component Services → Computers → My Computer → DCOM Config, locate OPC SimaticNet TCSB (or the TCSB class ID{B9234A42-7E3A-4B9A-9C2D-2A8B7B7C3D11}– verify locally with Properties). - Open Properties → Security, set Launch and Activation Permissions → Customize → Edit, add
TCSBUserwith Local Launch / Remote Launch / Local Activation / Remote Activation. - Repeat for Access Permissions and Configuration Permissions.
Step 3 – Add the OPC Channel in WinCC Explorer
- Open the WinCC Explorer on PC-2 and expand Tag Management.
- Right-click Tag Management → Add New Driver. Choose "OPC" for OPC DA or "OPC UA WinCC Channel" for OPC UA. Click Open.
- A new channel OPC (or OPC UA) appears with one default connection group.
Step 4 – Configure the OPC DA Connection
- Right-click OPC → OPC Groups → New Connection. Name it
TCSB_Connection. - Open Connection Properties and select OPC Server from the dropdown. The list is populated by OPCEnum across the network.
- If PC-1 does not appear, enter the ProgID manually:
OPC.SimaticNet.TCSB. The WinCC OPC channel runs in a service context, so the ProgID may need to be added with a registry stub underHKLM\SOFTWARE\Wow6432Node\Siemens\WinCC\OPC\ServerList. - Set Computer Name =
PC-1, Server Name =OPC.SimaticNet.TCSB, Use KeepAlive = checked, Update Rate = 1000 ms. - Click Test Connection. A green status and an item count confirm the link.
Step 5 – Configure the OPC UA Connection (Recommended)
- Right-click the new OPC UA channel → New Connection.
- Open Connection Parameters. Enter Endpoint URL:
opc.tcp://PC-1:4862/TCSB. - Select Security Policy:
None(lab/test) orBasic128Rsa15/Basic256Sha256(production). - For certificate-based authentication, click Manage Certificates and import the PC-2 client certificate into the TCSB trust list. The TCSB certificate must be imported into the WinCC trust store at
%ProgramData%\Siemens\Automation\WinCC\UA\pki\trusted\certs. See the TCSB Certificate Management with WinCC PDF for the full wizard. - Choose Authentication Mode: Anonymous (only if TCSB permits it), Username/Password, or Certificate.
- Set Session Timeout = 60000 ms and Publishing Interval = 1000 ms.
- Click Test. A successful test logs UA session established in the WinCC diagnostic file
WinCC_Sys_xx.log.
Step 6 – Browse the TCSB Namespace and Add Tags
- Right-click the connection → Browse Server. The TCSB address space appears as
TCSB / <StationName> / <DataPoint> / <Value or Status>. - Drag the desired items into the tag list, or use Add Tag with the fully-qualified ItemID, e.g.
TCSB.Station1.Pump.Flow.Value. - Configure tag properties:
-
Data Type:
Float,Boolean,Word,String - Length (for strings): 1–255
-
Adapt:
Internal Adaptationfor scaling, orLinearwith Low / High pairs - Update: 1000 ms (matches TCSB default cycle)
-
Data Type:
- Click Apply. The tag quality indicator turns green once Runtime starts polling.
Step 7 – Activate WinCC Runtime and Verify
- Save the project and start WinCC Runtime.
- Open WinCC Tag Simulator and force one TCSB value to confirm round-trip updates.
- Open the Channel Diagnosis applet – OPC connection state must be OK, last error 0x00000000, item count non-zero.
User Account Matching – Detailed Rules
| Connection Type | Required Authentication | Common Failure | Symptom |
|---|---|---|---|
| OPC DA over DCOM (legacy) | Identical local user on both PCs, same password, member of Distributed COM Users | Mismatch or empty password | 0x80070005 Access Denied, ServerItem empty |
| OPC UA – Anonymous | None | TCSB disabled Anonymous | 0x80200000 BadIdentityTokenRejected |
| OPC UA – User/Password | TCSB-internal user (Config → Users) OR Windows user | Wrong password / locked | 0x80200000 BadIdentityTokenRejected |
| OPC UA – Certificate | Mutually-trusted X.509 certificates | Untrusted issuer, expired | 0x801F0000 BadCertificateUntrusted |
For OPC UA with user/password, the user is created inside TCSB Config → Security → User Administration. The password may contain up to 64 characters; the local Windows password policy is not enforced.
TCSB Certificate Management
Starting with TCSB V7.3, OPC UA endpoints require a server certificate auto-generated during installation at %ProgramData%\Siemens\Automation\TCSB\pki\own. The WinCC client creates a self-signed certificate at %ProgramData%\Siemens\Automation\WinCC\UA\pki\own. Both must be exchanged into the peer's trusted folder.
- On PC-1, export
TCSB.derfrom own and copy toPC-2\...\pki\trusted\certs. - On PC-2, export
WinCCClient.derand copy toPC-1\...\TCSB\pki\trusted\certs. - Restart the Siemens Telecontrol Server Basic service and WinCC Runtime.
- For production deployments, replace the self-signed certificates with ones issued by an enterprise CA. Subject field must contain
CN=<PC-1 FQDN>matching the endpoint URL host.
None if Require Encrypted is set under OPC UA Server → Security. Encrypted Basic256Sha256 with signed certificates is the Siemens-recommended configuration.Parameter Reference – OPC Channel Settings
| Parameter | Default | Recommended | Description |
|---|---|---|---|
| Update Rate (DA) | 1000 ms | 1000 ms | Polling cycle for subscribed items |
| Publishing Interval (UA) | 500 ms | 1000 ms | Server-side sampling interval |
| KeepAlive (DA) | Off | On | Detects dead channels within ~15 s |
| KeepAlive Count (UA) | 10 | 10 | Missed publish requests before session close |
| Watchdog Time (DA) | 5000 ms | 10000 ms | Quality goes to BAD after timeout |
| Max Items / Group | 1000 | 500 | Smaller groups = better diagnostics |
| Deadband (UA) | 0 | 0.5% | Suppresses noisy floating-point tags |
Verification and Diagnostics
- WinCC Channel Diagnosis – shows OPC connection state, last error, item count, last value change timestamp.
-
WinCC Syslog –
C:\Program Files (x86)\Siemens\Automation\WinCC\Diagnose\WinCC_Sys_xx.log. Search forOPCorUA. - TCSB Trace – enable via TCSB Config → Options → Trace. Level 4 (Info) is sufficient; Level 6 (Debug) shows every polled value.
- Wireshark / Port Query – confirm TCP 4862 is established and TLS handshake completes when encryption is enabled.
- OPC Test Client – use the free OPC Foundation Sample Client or UaExpert to confirm the TCSB server is reachable independently of WinCC. This isolates whether a fault is WinCC-side or TCSB-side.
Troubleshooting Matrix
| Symptom | Likely Cause | Diagnostic Step | Fix |
|---|---|---|---|
| Browse Server returns empty list (DA) | DCOM blocked by firewall or wrong user |
dcomcnfg test from a small OPC test utility |
Create identical user, add to Distributed COM Users, open firewall for opcenum.exe |
| 0x80070005 Access Denied (DA) | User/password mismatch | Run whoami on both PCs under the WinCC service account |
Re-create matching account; never use blank password |
| 0x80200000 BadIdentityTokenRejected (UA) | Anonymous disabled, wrong creds | Test with UaExpert using same credentials | Enable matching auth mode on TCSB side |
| 0x801F0000 BadCertificateUntrusted (UA) | Cert not exchanged | Open TCSB Config → OPC UA → Trusted certificates | Import peer certificate and restart TCSB |
| Tags have quality BAD_COMMUNICATION | TCSB service not running or station offline | Check services.msc, TCSB Config status column | Restart service; verify GPRS link with TCSB Monitor |
| Tags have quality GOOD but values frozen | Wrong ItemID, deadband too high | Compare value in TCSB Trace | Correct ItemID; reduce deadband to 0 |
| Connection drops every ~60 s | KeepAlive count too low, or WinCC service account lacks Log on as service | Review Windows Event Log → System, source DCOM | Set KeepAlive Count = 10; assign service logon right |
| WinCC Runtime crashes when starting OPC channel | Mixed 32/64-bit OPC proxy | Check Application event log, source Application Error | Reinstall the matching WinCC OPC client (32-bit on x86 project) |
Differences to WinCC flexible / TIA Portal
WinCC flexible 2008 SP5 and TIA Portal (WinCC Comfort / Advanced / Professional) use a TCSB native channel unit that understands the TCSB namespace directly and ships ready-made faceplates. WinCC V7.2 has no such channel; only the generic OPC and OPC UA channels exist, which is why tag-management configuration looks unfamiliar to engineers migrating from Panel or Runtime Advanced projects. Functionally the data flow is identical, but every tag must be created manually because there is no automatic tag-import wizard for TCSB in V7.2.
For new installations, Siemens recommends upgrading to WinCC V7.5 SP2 or higher, where the OPC UA channel is more stable and supports bulk tag import from a CSV exported by TCSB Config.
Performance Sizing
A single WinCC V7.2 OPC UA client can subscribe to roughly 4,000 items at a 1 s update rate on a Core i5 with 8 GB RAM, before CPU saturation on the WinCC host. TCSB itself can serve ~30,000 items per OPC UA endpoint. Plan the system around these limits:
- Small site: < 500 tags, single station – one OPC UA group is sufficient.
- Medium site: 500 – 5,000 tags, 2–10 stations – split into logical groups per station to localize failures.
- Large site: > 5,000 tags – deploy the WinCC Connectivity Pack and use the OPC UA DataAccess subscription with monitored items per group of 500.
Security Hardening Checklist
- Disable OPC DA entirely if the network supports OPC UA – blocks DCOM attack surface.
- Replace self-signed certificates with enterprise-CA-issued X.509v3 certs.
- Use
Basic256Sha256security policy with sign-and-encrypt message mode. - Restrict TCSB OPC UA endpoint to a dedicated Windows service account, not Administrator.
- Enable Windows Firewall rule allowing only the WinCC client IP to TCP 4862.
- Audit TCSB user logins in Windows Security Log via Advanced Audit Policy → Logon/Logoff → Audit Logon.
Why does the OPC server list stay empty when I add the OPC channel in WinCC v7.2?
The WinCC service runs under the local system or a service account that may not have DCOM browse rights. Run dcomcnfg on both PCs, add the WinCC service account to Distributed COM Users, and confirm that the firewall allows opcenum.exe. If still empty, enter the ProgID OPC.SimaticNet.TCSB manually in the connection properties.
Can WinCC v7.2 talk to TCSB without the OPC channel, like WinCC flexible does?
No. WinCC flexible and TIA Portal use a dedicated TCSB channel unit that does not exist in WinCC v7.2. The only options in V7.2 are the generic OPC DA channel (legacy DCOM) or the OPC UA channel (recommended). Both expose the same TCSB data; only the configuration screens differ.
What OPC UA port does TCSB use and is it configurable?
TCSB listens on TCP 4862 by default for the OPC UA endpoint. The port is configurable under TCSB Config → Options → OPC UA Server → Port. After changing the port, the WinCC connection string must be updated to opc.tcp://<PC-1>:<new-port>/TCSB and both the firewall rule and the certificate's URL must match the new port.
How do I match a Windows user on both PCs for DCOM authentication?
Create a local user with the same username and identical password on PC-1 and PC-2, add it to the Distributed COM Users group on both machines, and in dcomcnfg grant that user Local Launch, Remote Launch, Local Activation, Remote Activation, Access and Configuration on the TCSB DCOM application. Empty passwords are rejected.
Is the OPC UA connection encrypted by default?
No. The default endpoint accepts Security Policy = None for ease of commissioning, which transmits tags in clear text. For production, set the TCSB endpoint to require Basic256Sha256 with signed and encrypted messages, exchange certificates between both PCs, and select the same policy on the WinCC connection parameters. See the TCSB Certificate Management with WinCC guide for the wizard.