IMDTouchKnowledge BaseShop main store

How-to

Splitting Step 7 and WinCC flexible work with one master project

HMI and touchscreens Published 6 min read By IMDTouch engineering team

Short answer

Keep one master project and give it to the PLC programmer. The HMI developer builds stations in a preliminary STEP 7 project with the needed tags, and at each checkpoint you copy the HMI stations into the master, delete the previous stations first and restore the connections in NetPro. Copying only the Blocks and Symbols folders into an HMI-held master is faster but covers just those objects.

A laptop downloading one project to a PLC and its operator panels, with one panel needing a runtime update and one not found, wired to a compact PLC on a mounting plate and a touch panel on the bench
On this page
  1. Integration shares symbols, not changes
  2. Name the master before the first handoff
  3. Hand off a preliminary project and freeze the interface
  4. Worked example: a PLC update with blocks, symbols, sources and hardware
  5. Reintegrate the HMI stations at each checkpoint
  6. When the station copy stops paying
  7. Questions asked

Split the editing, not the authority. Give the STEP 7 master to the PLC programmer, hand the HMI developer a preliminary STEP 7 project holding the needed tags, and let each engineer work in a separate copy. At agreed checkpoints you copy the HMI stations back into the master, delete the previous stations first, and restore the connections in NetPro. Integrating WinCC flexible in SIMATIC Manager is what makes this workable: the HMI reads the PLC symbol table during engineering, but the integration does not reconcile two independently edited copies. So the team fixes one master and moves whole objects in one agreed direction, instead of passing PLC updates forward and migrating every block, symbol table and source file by hand.

Integration shares symbols, not changes #

An integrated WinCC flexible project reads the STEP 7 symbol table, so HMI tags are created with names, data types and addresses that already agree with the PLC. That benefit exists at engineering time only. Nothing pushes a change made in one project copy into another copy, so a PLC update handed to the HMI developer's copy arrives as manual work: every block, the symbol table and the source files carried across by hand. A symbol is a readable identifier tied to a PLC object or address; a matching name helps engineering but does not prove the runtime connection reaches the intended value. The pairing itself is covered in How WinCC and STEP 7 Work Together in a PLC Project, and if symbols vanish from the tag lists altogether, that is a separate fault covered in Why STEP 7 symbols are missing in WinCC Flexible tag lists.

Name the master before the first handoff #

A master project is the authoritative project into which approved changes are integrated. Name its owner before the work splits, and record four things: the master owner, the PLC owner, the HMI owner and the transfer direction. Every object then has exactly one authoritative editor, and both engineers name the same destination project. Two arrangements work, and they differ in what travels.

PLC-master workflow HMI-master workflow
Master The STEP 7 project under active PLC development The copy held by the HMI developer
What travels Complete HMI stations The Blocks and Symbols folders
Work after the copy Restore station connections in NetPro Reconcile hardware, network and source changes separately
Fits PLC work that touches hardware, sources or the network A change set limited to blocks and symbols

Commit to the PLC-master workflow whenever PLC development includes hardware, network, source-file or program changes: it keeps those interdependent objects together and makes the HMI station the unit of transfer. The HMI-master copy is the quick path only when the agreed change set is exactly blocks and symbols. Do not switch masters mid-project; with several PLCs and HMIs, one copy aimed at the wrong station leaves an apparently complete project with incorrect relationships.

Hand off a preliminary project and freeze the interface #

  1. Archive the common baseline, then issue a separate working copy to each developer, so both start from the same PLC stations, program structure and symbol definitions.
  2. Pass the preliminary STEP 7 project, a scratch of the tags the screens will need, to the HMI developer, who adds the HMI stations and builds screens against those objects while PLC programming continues in the master.
  3. Fix the interface: the PLC values the HMI uses, with their symbolic names, data types, addresses and intended meaning. Compare a few representative values across both copies before independent editing starts.
  4. Agree how interface changes are reported. A renamed symbol, a moved address, a changed data type or a reshaped data block is an interface change and must reach the HMI developer before integration or runtime testing; otherwise the PLC and HMI applications each compile while disagreeing about the data they exchange. The same failure reaches packaged SCADA as well, where PLC symbol changes break SCADA tags in OFS with no SIMATIC Manager integration involved.
  5. Know the escape hatch: the Project > Copy from STEP 7 command in WinCC flexible creates a non-integrated HMI project from the SIMATIC HMI station, detaching the HMI work from SIMATIC Manager entirely.

Worked example: a PLC update with blocks, symbols, sources and hardware #

The PLC programmer calls a checkpoint with new program blocks in AWL and SCL, an edited symbol table, updated source files and a hardware configuration change. Which workflow merges it?

Inputs:

  • Changed object classes since the last checkpoint: 4, counted off the PLC programmer's change list (blocks, symbol table, source files, hardware).
  • Object classes the HMI-master copy transfers: 2, because the Blocks and Symbols folders are all that workflow moves.
  • Team and projects: 2 engineers, 1 master.

Rule, in words: the HMI-held-master workflow delivers only what the two folders hold; every changed class outside them stays in the PLC programmer's copy unless it is reconciled separately, by hand, at the same checkpoint.

Arithmetic: 4 changed classes - 2 transferred classes = 2 classes left behind (the source files and the hardware configuration).

Result: the quick folder copy would bring the new code and names into the HMI-held master while silently dropping the sources and the hardware change, the exact manual and error-prone migration the workflow exists to avoid.

Decision: the threshold is zero. With 0 changed classes outside the folders, use the folder copy. With 1 or more, run the PLC-master workflow and send the HMI stations the other way instead. This checkpoint leaves 2 behind, so the PLC programmer keeps the master and the HMI stations travel.

Reintegrate the HMI stations at each checkpoint #

  1. Fix the checkpoint and collect stable handoff copies: the objects being transferred stop changing for the duration, and edits made afterwards belong to the next handoff.
  2. Archive the current master and the incoming HMI working project before touching either, and keep both until the merged project passes its checks. Work in a merge workspace, separate from the engineers' active copies.
  3. Copy the HMI stations from the HMI working copy into the master. On the first integration the stations are new; on every later one, delete the corresponding old HMI stations from the master first, then copy the updated stations, so the master holds the current stations without obsolete duplicates.
  4. Copy whole stations, never selected screens: screens are only part of an HMI application, and tags, connections and the remaining configuration must stay aligned with them.
  5. Open NetPro, the STEP 7 network-configuration tool, and restore or correct the transferred stations' connections until every HMI connection names the intended PLC partner and communication path.
  6. Open the transferred HMI configuration and confirm the latest screens, tags and application changes are present. The merged master is now the project of record.
  7. Prove the merged project on an isolated bench PLC with test tags before it goes anywhere near the machine; a merge that reconnects a station to the wrong partner must never meet a running plant.

When the station copy stops paying #

The copy step fails only rarely, and the step-2 archives are the recovery: restore the merge workspace, keep the incoming HMI project untouched, and run the checkpoint again. The deletion step is the reason the archives are taken before anything is removed.

The routine is built for a small project. With several PLCs and HMIs in one project, one wrong station-to-PLC match leaves an apparently complete project with incorrect relationships, and the deletion step gives every repeat merge a fresh chance to make that mistake. Past two or three HMI stations in one project, stop the copy-back routine and restructure the project boundaries instead of merging the whole plant at each checkpoint.

If the plant has since moved to TIA Portal, this SIMATIC Manager procedure no longer applies; the equivalent merge problem there is covered in Combining two migrated WinCC HMI projects in TIA Portal.

Questions asked

Does the HMI developer get the refreshed master back after a checkpoint?

Yes, whenever PLC-side work changed anything the screens touch. After the stations are merged and the connections restored in NetPro, the master goes back to the HMI developer, who continues from that copy so new tags are built on current symbols; the stations just merged are already inside it. If nothing on the PLC side affects the HMI, the HMI developer keeps working in the existing copy until the next checkpoint.

When is copying just the Blocks and Symbols folders enough?

List everything the PLC programmer changed since the last checkpoint. If every item is a program block or a symbol-table entry, copying those folders from the PLC copy into the HMI-held master completes the merge. One hardware, network-configuration or source-file item switches the job to the PLC-master workflow, because none of those objects live in Blocks or Symbols.

What do I do when copying the HMI stations fails?

Restore the merge workspace from the archive taken before the old stations were deleted, keep the incoming HMI project untouched, and run the checkpoint again. A backup made after the deletion cannot bring back the last integrated state, which is why both sides are archived before anything is removed. Failing only rarely is not the same as never failing.

Can the HMI developer work in a standalone project instead of an integrated one?

Yes. The Copy from STEP 7 command in the WinCC flexible Project menu creates a non-integrated HMI project from the SIMATIC HMI station. The standalone project no longer reads the STEP 7 symbol table, so tag addresses are entered by hand, and the checkpoint copy-back of stations no longer applies to it.

Does the checkpoint routine scale to a plant with many HMI stations?

No, and the arithmetic says why: every repeat merge deletes and recopies all stations and restores all their connections, so the merge effort grows with the station count while the time saved stays fixed. Split the plant into one project per machine or line so each checkpoint touches a single station, and name one master owner per project.

Keep reading

  • Explainer

    How WinCC and STEP 7 Work Together in a PLC Project

    STEP 7 configures and programs the Siemens PLC; WinCC builds the operator screens that read and write selected PLC variables over a configured connection. The boundary between the tools is the tag: STEP 7 owns the variable, WinCC owns the display and command objects bound to it.

    HMI and touchscreens

  • Comparison

    TIA Portal vs STEP 7 plus WinCC hardware configuration

    Configuring the same PLC and HMI in TIA Portal instead of STEP 7 plus WinCC needs no extra PLC, panel, module or network hardware — the cabinet stays exactly as it is. The difference is where devices, networks and tags are configured: one integrated project instead of two. The one hard limit: S7-1200 and S7-1500 CPUs engineer only in TIA Portal, and CPU firmware sets the minimum release, so a V2.9 CPU needs TIA Portal V17 or higher.

    HMI and touchscreens

  • How-to

    Controlling 100 Motors From One Reusable WinCC Flexible Screen

    Build one motor screen with Start, Stop and Alarm buttons bound to PLC-connected tags, then reuse it across the 100 motors through an indirect-addressing method your flexible runtime target actually supports. The classic WinCC PictureWindow TagPrefix recipe does not exist in WinCC flexible, so prove one motor screen first and read the installed help for the target's screen-reuse features before choosing shared or fixed bindings.

    HMI and touchscreens

Why WinCC library symbols rotate only in 90 degree steps