Troubleshooting
Why a Copied WinCC Picture Does Not Show Its Tag Squares
Short answer
The squares vanish for two compounding reasons: the copied picture references the Modbus tag by name only, and its Display mapping hides the square on FALSE — exactly what an unresolved or bad-quality tag evaluates to on the working server. Transfer the project with the copy tool, and set Display to Yes on the NO/False row if the square must stay visible in both states.
On this page
The square is not broken and the working server is not blind. A copied WinCC picture carries the drawing and the tag's name, and nothing else: the tag definition — the Modbus TCP/IP connection down through PTS and Visu to PLS, at 3x400530.16 — lives in the reserve server's project database. Your Display mapping hides the square whenever the Boolean is FALSE, and a tag the working server cannot supply reads as FALSE to that dynamic. The result is a square that is invisible in every state. Move the project configuration with the copy tool, not picture by picture, and set Display to Yes on the NO/False row if the square must be seen when the parameter is false.
What the two dynamics actually do #
The square carries two independent dynamic properties. Valid range maps the Boolean's states to colors: Yes/TRUE is blue, NO/FALSE is green. The Display entry in the Miscellaneous group maps the same states to visibility: Yes/True is Yes (drawn), NO/False is No (removed). A Boolean has exactly two states, so this pair of settings can only ever render one of them — the FALSE state is removed from the picture before its green fill is ever applied.
| Condition on the server | Color selected | Display selected | What the operator sees |
|---|---|---|---|
| Tag TRUE, data good | blue | drawn | blue square |
| Tag FALSE, data good | green | removed | nothing |
| Name unresolved or quality bad | none | removed | nothing, in every state |
An absent square is therefore not proof that the server cannot find the tag; it is also exactly what a healthy FALSE looks like under this mapping. Before changing anything, clear the other ways an object disappears:
- a parent object or layer above it set to invisible,
- an overlapping object drawn on top of the square,
- a station still showing an older picture revision because it loads the other server.
The inverse trap shows on other panels too — one walkthrough of a panel that hides blank lookup text but keeps its object area makes the same point from the other side — and the lesson is identical: read what the display logic is configured to hide before blaming the data.
The picture does not carry its tag #
A WinCC picture references a tag by name. The definition — which connection, which data type, which register and bit — belongs to the project's tag database inside the SQL database, and it does not travel with the picture file. The tag that exists on the reserve server under Modbus TCP/IP → PTS → Visu → PLS at 3x400530.16 has no counterpart on the working server, so the copied dynamic points at a name nothing answers to.
Treat 3x400530.16 as a driver-configuration string, not as a number to retype by hand into a new system. Register notation differs between tools — offset base, area prefix, bit numbering — and a retyped string is a classic way to acquire a working-looking tag that reads the wrong register. Fixing Modbus TCP addressing errors between an HMI and a PLC is its own procedure if that is the state you land in.
A copied picture can also call actions or shared script functions that exist only in the source project, which leaves behavior broken on screens that otherwise display fine.
Worked case: the PTS/Visu/PLS square on the working server #
Inputs, each from the installation as found:
- Square properties on the reserve server: Valid range Yes/TRUE = blue, NO/FALSE = green; the Display entry in Miscellaneous: Yes/True = Yes, NO/False = No.
- Referenced tag: a Boolean under Modbus TCP/IP → PTS → Visu → PLS at 3x400530.16, defined only in the reserve server's project.
- Transfer performed: the picture file was copied to the working server; no tag or channel configuration moved with it.
- Plant: WinCC V7.0 SP2, Schneider controllers on Modbus TCP/IP, three operator stations, five boilers.
Rule in words: an object whose Display is No on FALSE is drawn only while the referenced Boolean resolves TRUE with usable data. A real FALSE, an unresolved name and a dead connection all fail that test identically.
Evaluation, written out state by state:
- Reserve server, parameter TRUE: state TRUE → Valid range selects Yes/TRUE → blue; Display selects Yes/True → Yes → object drawn. The operator sees a blue square.
- Reserve server, parameter FALSE: state FALSE → Valid range selects NO/FALSE → green; Display selects NO/False → No → object removed. The green state never reaches the screen.
- Working server, copied picture: the name resolves to no tag → no TRUE can ever arrive → the Display condition fails → object removed, whatever the five boilers are doing.
Decision: no change to the picture will bring the square back on the working server, because the definition is missing — the tag must be transferred with the graphics. And any two-state object that must be watched in both states needs Display = Yes on the NO/False row; as configured, this square is a one-color object by construction. Apply that test to every status square on these screens.
Why the folder copy fails on the SQL files #
The project is a folder plus a live database. The database engine — MS SQL Server on this class of installation, Sybase on some others — runs as a Windows service of its own, so closing WinCC and stopping runtime does not release the database files, and a plain folder copy reports them as in use. The engine's management program sits under Start > All Programs as its own entry, outside the Siemens folder; that is where you confirm which engine the installation uses and which databases it holds.
The supported routes:
- Project Duplicator, which duplicates a complete project for transfer to another computer. An SQL login failure out of the duplicator is a database-engine problem to resolve first, not a reason to fall back to folder copying.
- Copy Project, documented by Siemens as copying a WinCC project including its databases while runtime is running — the route when the source server must stay in operation.
A prompt asking to connect to a database, during a copy or on first start elsewhere, is the signature of a database that did not travel with the project: the machine does not hold what the project expects. A copied installation that arrives without its machine-local configuration fails the same way in other packages — WinCC flexible runtime showing ### on a copied target PC is that class of failure.
If a folder copy is ever unavoidable, the engine service must be stopped first so the files release; that takes the plant's visualization down with it, which is the reason the tools above exist.
Moving the scripts and reports #
The Excel reporting runs on dozens of script files. Copying them by hand, one at a time through an editor, is the wrong method at that scale: omitted functions, triggers and external files leave the destination with a mixture of revisions that fails late and quietly. Global scripts, actions and triggered functions are project objects, stored with the project database — a project copy carries them all in one consistent revision.
Report output also depends on the workbook or template, the output paths, the archive queries and the archive data behind them. The working server's older, crooked reports are the expected output of two servers at two revisions answering the same request with different scripts and different data. Pick the correct revision, place that whole project on both servers, then compare one controlled report run with identical input on each.
One revision for both servers and the three stations #
The names "working" and "reserve", and a second disk pulled empty from a chassis, say nothing about the SCADA redundancy configuration. Two machines are a redundant WinCC pair only where redundancy is actually configured between them; otherwise one is a standby running its own separate project. What the operators see is decided by the server each of the three stations is configured to load. Until the working server's project contains the new picture and the tag under it, its stations cannot display either, and no client-side setting will change that.
The reserve server is the unstable one, and it holds the only copy of the newer graphics and scripts. Copy from it first, while it still runs: the duplicate needs the machine only to stay alive long enough to finish. Treat that snapshot as candidate content from a sick machine rather than a proven backup, and verify it offline before it replaces anything on the working server.
Verification checklist #
- On the working server, open the tag configuration and confirm the name exists with the same connection, address and data type as on the reserve server.
- Read the tag online on both servers against the same controller state, and compare value and quality together — a FALSE with good quality is a working indication, a value with bad quality is a communication fault, and the square on screen cannot tell them apart.
- Confirm which server each of the three stations loads, and that the station has the newest picture revision.
- Set Display to Yes on the NO/False row, then prove both states: blue on TRUE, green on FALSE, square present throughout.
- Run one controlled report with identical input on both servers after the transfer and compare the outputs.
Test the two states from an isolated test tag or an authorized process state — never force a boiler tag just to flip a color on a screen.
When the checklist is clean, leave the reserve server untouched until the working server has run a full shift on the transferred project; that shift is the acceptance test.
Questions asked
Does copying the picture file ever carry the tag with it?
No. The picture holds a reference by name; the definition — connection, register address, data type, bit selection — is stored in the project database and moves only with a project copy. Copying the picture alone leaves the dynamic pointing at a name the destination server cannot resolve, and under a Display mapping that hides FALSE the object disappears in every state.
Why is there no Save As for the whole project?
A WinCC project is a folder plus a live database, so a portable copy has to duplicate the database with it. That is what Project Duplicator does; the save function in the editors only writes the project you already have. For a snapshot while runtime keeps running, Siemens documents the Copy Project tool for exactly that job.
What does the database prompt mean when the copy is opened on another machine?
It means the machine does not hold the database the project expects. Either the copy missed the database or the engines differ — MS SQL Server on one machine and Sybase on the other cannot serve each other's project. Make the copy with the duplicator so the database travels with it, and confirm both machines run the same engine.
Is a hidden square proof that the tag is missing?
No. With Display set to No on FALSE, a genuine FALSE with good quality hides the square exactly as a missing tag does. Look the name up in the destination tag configuration and read it online; the square on screen cannot distinguish a working false indication from a dead one. That is why value and quality are checked together.
Should the unstable reserve server be repaired before anything is copied?
Copy first. The unstable machine holds the only revision with the newer graphics and reporting scripts, and every hour it runs unrepaired is exposure. A duplicate taken with the copy tool needs the machine only to stay alive long enough to finish; verification of that snapshot happens offline afterwards, on a healthy machine.