Troubleshooting
Why PCS 7 HW Config Hangs When a WinCC Appl Is Added
Short answer
A not responding HW Config right after you insert a WinCC Appl. and click save is usually still working: the first save copies base project data and can take 10 to 15 minutes. Wait out that window before ending the process; if control never returns, put the engineering account in the SIMATIC product groups, run sp_grantlogin for it against the WinCC database instance, restart and retest. The unmanaged SCALANCE XB005 needs no HW Config catalog entry and no download at all.

On this page
- What the not responding flag means
- Timing the first save of a WinCC Appl on a PCS 7 V9.1 station
- Add the engineering account to the SIMATIC groups
- Grant the domain account a login on the WinCC database instance
- Reading the compile(310:24) OS creation error
- Isolating a hang that only reaches the second PC station
- Where the SCALANCE XB005 fits in the project
- Questions asked
HW Config going not responding the moment you insert a WinCC Appl. into a SIMATIC PC station and click save is, in most cases, not a fault: the first save of a WinCC application creates the OS object and copies base project data, and that copy can hold the program unresponsive for 10 to 15 minutes. Wait the window out before you end the process. If control never comes back, the cause sits in the engineering account's access rights, meaning the SIMATIC product groups and a login on the WinCC database instance, not in the network configuration, and the fix is group membership plus one sp_grantlogin run, then a restart and a retest. The sequence below times the wait, works the two account checks, reads the compile error, isolates a second-station failure and settles the SCALANCE XB005 question.
What the not responding flag means #
Windows flags a program as not responding when its window stops processing interface messages. It says nothing about whether the work behind the window has failed. Inserting a WinCC Appl., a WinCC Appl. Client or another WinCC application type and saving for the first time makes the engineering tools create the OS object and copy base project data, files such as @pictures, from the root folder into the project folder. HW Config stays frozen while that copy runs, and clicking the window does not hurry it.
Sort every occurrence into one of three cases:
- Control returns during the wait window: creation was running. Reopen the station and confirm the WinCC Appl. object still sits in its slot.
- Control never returns: persistent creation failure. Note any error text, close through Task Manager and run the account checks below.
- An explicit message appears: read it against the compile error section. That is a diagnosable failure, not a slow copy.
Do not close HW Config through Task Manager while a save might still be running: the unsaved station edit is discarded, which is exactly what the reported case hit.
Timing the first save of a WinCC Appl on a PCS 7 V9.1 station #
Inputs, with their sources:
- Documented creation time for the first save of a WinCC application type in HW Config: up to 10 minutes, from the vendor guidance for this exact symptom on a V9.1 engineering station.
- Margin for a loaded or slower engineering station: 5 minutes, an engineering allowance chosen here, not a documented figure.
Rule in words: the wait threshold equals the documented maximum creation time plus the margin, counted from the click on save or save and compile. Leave HW Config untouched for the whole threshold.
Arithmetic: 10 minutes + 5 minutes = 15 minutes.
Result: a 15-minute no-touch window for each first save of a WinCC application type.
Decision: control returning inside the window means normal creation, so reopen the station and confirm the WinCC Appl. object remains in its slot. A station still frozen when the window closes is a persistent creation failure: record any error text, end the process through Task Manager and work through the two account checks below.
Add the engineering account to the SIMATIC groups #
WinCC object creation crosses several local security boundaries on the engineering station. Membership in the Windows Administrators group does not replace membership in the product groups the SIMATIC and WinCC services check, which is why a domain administrator can still hit this exact hang.
- Open Computer Management on the engineering station and go to Local Users and Groups.
- Open Groups and find each SIMATIC group the station's installed options use.
- Add the domain account that launches the PCS 7 engineering tools, written as
Domain\Username, to SIMATIC HMI, SIMATIC NET and Siemens TIA Engineer; add SIMATIC BATCH and SIMATIC Management Users on stations where those products are installed. - Use only groups that already exist on the station; never create similarly named substitutes, because the services look up these exact names.
- Sign out or restart so the next logon carries the new memberships.
Check: reopen Groups and confirm the exact identity appears in every required group before moving on.
Grant the domain account a login on the WinCC database instance #
Group membership and SQL Server authorization are separate controls. The OS object is created inside the WinCC database instance, so the domain account also needs a login there; a missing login produces exactly the frozen save described above and the createobject error described below. Run the grant from an account that already holds Administrator access, not from the affected domain session.
- Log on with an account that holds Administrator access on the station.
- Open SQL Server Management Studio and connect to the WinCC database instance.
- Select New Query.
- Execute
sp_grantlogin 'Domain\Username', substituting the real domain account that launches the engineering tools. - Confirm the query completes without an SQL error.
- Restart the engineering station.
- Log on as the domain engineering user and create a project in WinCC Explorer to confirm the account now passes.
Use the exact Windows identity that launches HW Config; granting a similarly named local account does not authorize the domain one. WinCC database access trouble tends to resurface later in the project too, since the same instance sits behind OS downloads, as covered in fixing a PCS 7 OS download that fails with SQL errors.
Reading the compile(310:24) OS creation error #
When the save fails rather than runs long, the message reported for this symptom is compile(310:24), stating that the object OS(4) could not be created in wincc(createobject). That is the createobject call standing up the OS object inside the WinCC database failing at an authorization boundary. It is not a network configuration fault and not a switch fault.
The same report saw the error while adding the OS to the project, adding a WinCC Appl., and adding a CP to the OS, three operations that all end in WinCC-side object creation. Note also that WinCC Explorer creating a project without errors does not clear this path: project creation and OS object creation exercise the database differently, and the reported station passed the first while failing the second.
Decision: when this message appears, go straight to the group check and the login grant, and leave the subnet, the addressing and the SCALANCE switch untouched.
Isolating a hang that only reaches the second PC station #
One reported V9.1 station saved its first PC stations with WinCC Appl. objects normally, then hung permanently, past any wait, on a second SIMATIC PC station carrying a WinCC Appl. Client or any other WinCC application type. An OPC Server added to that same station saved and compiled. That split narrows the fault hard: the base PC-station save path works, and the failure is specific to WinCC object creation.
Run the sequence on a copy of the project:
- Confirm the first PC station still saves and compiles.
- Add the second PC station with no application object and save it.
- Add an OPC Server and run save and compile.
- Add the required WinCC application type and allow the full wait window.
- Record the first object type that changes the result, and the exact message if one appears.
Decision: if the empty station and the OPC Server save while every WinCC application type fails, keep the work on the SIMATIC groups and the database login. The OPC Server's success proves only the base station path; it is not evidence that WinCC database authorization works.
Where the SCALANCE XB005 fits in the project #
The SCALANCE XB005, order number 6GK5005-0BA00-1AB2, is an unmanaged Industrial Ethernet switch. Unmanaged means it forwards frames and carries no configuration: nothing is set on it and nothing is downloaded to it. That is why HW Config has no catalog entry for it. The absence is normal and is not a statement that the switch cannot be used.
For the fault-tolerant cell in question, two CPU 414-5H, two CP 443-5 and two PC stations, the decision is: mount the switch, wire those devices to it, and configure the devices on the Industrial Ethernet subnet; enter nothing for the switch itself. The redundancy lives in the CPU pair and the CP pair, not in the switch. An unmanaged switch adds no redundancy function of its own and cannot run a managed redundancy protocol, so it carries the traffic but cannot be the element a ring design depends on; a network that needs a managed redundancy function needs a managed switch for that role.
Questions asked
Does the SCALANCE XB005 really need no project entry?
Correct, none. The 6GK5005-0BA00-1AB2 is unmanaged, so nothing on it is configured and nothing is downloaded to it. HW Config carries catalog objects only for devices the project configures, which is why managed switches appear in the catalog and unmanaged ones do not. Mount the switch, wire the CPUs, CPs and PC stations to it, and configure those devices on the subnet as usual.
Will an error appear while the first save is still working?
No, the slow-copy case ends silently. While first-time object creation is running, no message appears, and the only indication is the not responding flag on the HW Config window. An explicit message such as compile(310:24) means something different: OS object creation genuinely failed at the WinCC database, which calls for the account and login checks rather than a longer wait.
Why is Administrators membership not enough for OS creation?
Administrators membership satisfies Windows file and system rights only. WinCC OS creation additionally checks the SIMATIC product groups and an SQL Server login on the WinCC database instance, and both must pass for the same Windows identity. The two controls are independent, so correct the groups and run the login grant in one pass, then restart once, because new group memberships take effect on the next logon.
Which SIMATIC groups does the engineering account need?
The ones the installed options on that station use. For OS station work the decisive names are SIMATIC HMI, SIMATIC NET and Siemens TIA Engineer; SIMATIC BATCH and SIMATIC Management Users apply where those products are installed. Add the account to existing groups only, never create similarly named substitutes, because the WinCC services look up these exact names and a look-alike group satisfies nothing.


