Troubleshooting Process Historian 2014 Connection Failures and Empty WinCC Archiving Graphs
In a SIMATIC PCS 7 and WinCC v7.3 long-term archiving architecture, when the SIMATIC Process Historian (PH) 2014 SP2 management console displays an 'Active' state with a populated upper graph (local database storage) but an entirely blank lower graph (data received from WinCC), the Process Historian is not establishing data communication with the WinCC OS Server. This failure occurs when Microsoft Message Queuing (MSMQ) cannot transmit telemetry across machines due to missing Windows user group permissions (CC_PH_Users), mismatched user credentials, disabled Windows NetBIOS name resolution, or unconfigured Process Historian Editor settings in WinCC Explorer. To resolve this, engineers must synchronize administrative service credentials, bind the Terminal Bus in Simatic Shell, configure the PH server name in WinCC Explorer, and open MSMQ TCP port 1801.
Table of Contents
- Process Historian 2014 Archiving Architecture and Data Flow
- Understanding the Upper Graph vs Lower Graph in PH Management
- Root Causes of Empty WinCC Data Flow to Process Historian
- Step-by-Step Commissioning and Troubleshooting Procedure
- Diagnostic Matrix for Process Historian Communication Failures
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Process Historian 2014 Archiving Architecture and Data Flow
SIMATIC Process Historian (PH) serves as the centralized, high-capacity long-term data archiving hub for SIMATIC PCS 7 and WinCC systems, operating on Microsoft SQL Server Enterprise.
- WinCC OS Servers: Execute real-time plant operations, recording fast and slow circular tag logging and alarm events into short-term circular databases.
- Process Historian-Ready Component (PH-Ready): A background service (CCCAPHServer) installed on each WinCC OS Server. It intercepts closed archive segments and real-time telemetry packets, buffering them into local Microsoft Message Queuing (MSMQ) queues.
- Process Historian Server: Receives message streams across the terminal bus via MSMQ, extracting telemetry and storing it permanently into organized, partitioned SQL database segments.
When properly paired, the Process Historian Management Console displays two real-time throughput graphs:
- Upper Graph: Local storage write activity into the SQL database.
- Lower Graph: Inbound data stream volume received from connected WinCC OS stations.
Understanding the Upper Graph vs Lower Graph in PH Management
When diagnosing a stalled Historian deployment:
- Upper Graph Active: Indicates that the local Microsoft SQL Server instance, the PH database engine (HistorianStorage), and local database maintenance tasks are healthy and operational.
- Lower Graph Flat / Zero / Blank: Proves conclusively that zero data packets are arriving from the remote WinCC OS station.
- This symptom isolates the problem entirely to the inter-station communication layer: the WinCC OS Server is either failing to transmit data, or the packets are blocked by security credentials, name resolution failures, or firewall rules between the two virtual or physical machines.
Root Causes of Empty WinCC Data Flow to Process Historian
Six specific configuration oversights cause the lower graph to remain empty:
- Unconfigured Process Historian Editor in WinCC Explorer: Unlike standalone SCADA, WinCC must be explicitly informed of the destination Historian. In WinCC Explorer, the Process Historian editor must be opened and the PH server must be selected and linked to the project.
- Mismatched User Credentials and Missing
CC_PH_UsersGroup: In non-domain workgroup environments (such as test VMs), both the WinCC machine and the PH machine must have an identical Windows user account with the identical password. Furthermore, this user must belong to the local Windows security groupsSIMATIC HMI,SIMATIC NET, andCC_PH_Userson both computers. - Stalled Microsoft Message Queuing (MSMQ): If MSMQ is misconfigured or blocked, messages accumulate in the
Outgoing Queueon the WinCC machine or fail to initialize entirely. - Firewall Blocking TCP Port 1801 and 135: MSMQ uses TCP port 1801 for message streaming, while RPC endpoint mapping uses TCP port 135. If Windows Firewall blocks these ports, data transmission fails silently.
- Simatic Shell Terminal Bus Misbinding: If Simatic Shell on either VM is bound to a virtual loopback or internal adapter rather than the common virtual network adapter, discovery fails.
Step-by-Step Commissioning and Troubleshooting Procedure
Execute the following systematic procedure to establish communication:
Step 1: Align Windows User Accounts and Security Groups
- On both the WinCC VM and the PH VM, create an identical local administrator account (e.g.,
Username: phadmin, same password). - On both machines, open Computer Management > Local Users and Groups > Groups.
- Ensure
phadminis added to:
-Administrators
-SIMATIC HMI
-SIMATIC NET
-CC_PH_Users - Log in as
phadminon both workstations.
Step 2: Configure Simatic Shell and Name Resolution
- On both machines, open Windows Explorer, right-click Simatic Shell, and select Settings....
- Select the identical network card communicating across the terminal bus.
- Ensure both machines can ping each other by Computer Name (e.g.,
ping PH_SERVERandping WINCC_OS). If NetBIOS fails, add static entries intoC:\Windows\System32\drivers\etc\hosts.
Step 3: Link Process Historian in WinCC Explorer
- Open the WinCC project in WinCC Explorer on the OS machine.
- In the project tree, double-click Process Historian.
- In the Process Historian Editor, click Search... or manually input the PH Server computer name.
- Verify that the PH server appears in the list with a valid connection status. Click OK.
Step 4: Verify and Start CCCAPHServer Service
- On the WinCC machine, open Windows Services (
services.msc). - Locate the service CCCAPHServer (Process Historian Ready Service).
- Right-click properties, switch to the Log On tab, and set it to run under the synchronized
phadminaccount. - Restart the service.
Step 5: Check MSMQ Message Queues
- On the WinCC machine, open Computer Management > Services and Applications > Message Queuing > Outgoing Queues.
- Confirm that the outgoing queue targeting the PH server switches from paused/accumulating to actively transmitting messages.
Diagnostic Matrix for Process Historian Communication Failures
The table below outlines common Process Historian pairing faults and corrective actions:
hosts fileCC_PH_UsersVerification
To confirm that Process Historian is actively receiving and storing WinCC data:
1. PH Management Console Lower Graph: Open the Process Historian Management Console; verify that the Lower Graph displays continuous, cyclic data throughput spikes corresponding to WinCC archive intervals.
2. WinCC Runtime Trend Verification: Open a trend screen in WinCC Runtime displaying long-term tags; request historical time ranges spanning past days; confirm that historical trends load seamlessly from the Historian.
3. SQL Database Record Audit: In SQL Server Management Studio on the PH server, query the active tag logging segment; confirm that new records with current timestamps are being committed.
Limitations and Operational Precautions
Engineering teams must observe the following precautions:
- Process Historian requires dedicated server hardware and should never be installed on the same physical operating system as an active WinCC OS Server in production.
- Always validate final license quantities and MLFBs against the applicable Siemens catalog and authorized distributor quotation when procuring Process Historian and Information Server packages.
- Ensure automated database maintenance and backup routines are configured in Process Historian to avoid filling the hard disk array with unpruned historical segments.
Engineer FAQ
Can Process Historian run in a workgroup environment without an Active Directory domain?
Yes, but workgroup environments require exact user account synchronization: identical usernames and passwords must exist on all participating PC stations, and all users must belong to the CC_PH_Users group.
What is the purpose of the PH-Ready component on the WinCC OS?
PH-Ready packages process values and alarms into compressed MSMQ telegrams, guaranteeing store-and-forward resilience so no data is lost if the network connection to the Historian drops temporarily.
Can Process Historian 2014 archive data from multiple WinCC OS projects simultaneously?
Yes. A single Process Historian server can archive data from multiple OS Servers, redundant OS server pairs, and SIMATIC BATCH servers across the plant.
Technical References
- SIMATIC Process Historian 2014 Installation and Commissioning Manual (A5E36987720)
- SIMATIC Process Historian Administration and Diagnostics Guide (A5E36987735)
- Siemens Support: Troubleshooting Process Historian and WinCC Communication (Entry ID: 109740190)
Related Articles
- Customizing Alarm and Archive Report Templates in SIMATIC Information Server 2014 SP2
- Exporting SIMATIC PCS 7 Process Data to External Relational Databases
- Configuring AS-OS Communication and Redundant WinCC Servers in SIMATIC PCS 7
Related Tags
- Process Historian
- WinCC v7.3
- MSMQ
- Long-Term Archiving
- Historian Troubleshooting