WinCC SCADA · Lab Manual

WinCC SCADA System Architecture: Server, Client, Redundancy and Life-Bit Monitoring Lab Manual (V8.1)

Architecture decides what happens when a PC fails at 3 a.m. This lab manual plans a WinCC Explorer V8.1 system through all six stages – PLC connection, life-bit monitoring in ladder and SCL, server and client packages, redundancy with archive synchronisation – and lets you fail servers and networks live.

2,500+ engineers trained 4.9/5 Google rating 21+ years, Chinchwad, Pune Next batch: contact for dates
Quick answer

Choose single-user, multi-user, distributed or redundant WinCC from the plant's availability needs; connect servers to the PLC over the S7-1500 channel; add a life bit in both directions (ladder or SCL) so PLC and SCADA detect each other's loss; configure server and client packages; and, for redundancy, two servers with archive synchronisation.

  • Choose architecture from availability, not habit.
  • Life bit both ways: WinCC watches the PLC, the PLC watches WinCC.
  • Redundancy only counts if failover and archive sync are tested.

Single-User, Multi-User, Distributed and Redundant

ArchitectureUse whenWeak point
Single-userOne machine, one operator stationPC failure = no SCADA
Multi-userOne area, several operatorsServer is a single point of failure
DistributedLarge plant split into areasMore engineering
Redundant pairProduction must not lose visibility or dataMust be tested regularly

Lab Flow: From PLC Connection to a Tested Failover

Every lesson in the Softwell PLC lab manual series follows the same six stages and the same address rule, so the code you write here plugs straight into the HMI lessons.

Lab manual flow: field input to tested HMI screenSix stages: field device and PLC tag, input mapping to DB_IO, PLC logic, HMI tags, graphics linking, and perform and test.1NetworkIP planplant + terminal bus2PLC interfaceDB_Lifeaccessible from HMI3LogicLife bitLAD + SCL4WinCC tagsS7-1500 channelper server5Architectureserver, clientredundancy6Perform + testSimulatorfailoverAddress rule for every lesson: %I only in FC_InputMapping, %Q only in FC_OutputMapping, symbolic DB members everywhere else – including the HMI.
Figure 1 – Six-stage lab flow for this lesson.

Stage 1Network and PLC Connection

NodeExample addressRole
PLC S7-1500192.168.0.1Plant bus
WinCC server A / B192.168.0.10 / .11 (plant), 10.0.0.10 / .11 (terminal)Redundant pair
Clients10.0.0.21 …Operator stations

Stage 2PLC Interface Data Block

Create DB_Life with PLC_LifeBit, SCADA_Counter, SCADA_CounterOld, SCADA_Changed, SCADA_Lost – all accessible from HMI. Field I/O stays mapped through FC_InputMapping as in every lesson of the series.

Stage 3PLC Logic in Ladder and SCL

Life-bit monitoring between PLC and WinCC serversLadder diagram: Network 1 — PLC life bit: toggles every second, WinCC watches it; Network 2 — SCADA lost: the server life counter has not changed for 10 sNetwork 1 — PLC life bit: toggles every second, WinCC watches itClock_1s"DB_Life" (TON pulse)PLC_LifeBit"DB_Life" (toggle)Network 2 — SCADA lost: the server life counter has not changed for 10 sT_ScadaAlive.Q"T_ScadaAlive" TON 10 sSCADA_Lost"DB_Life"SCADA_Lostseal-inSCADA_Changed"DB_Life"
Figure 2 – Life bit to WinCC and SCADA-lost detection in ladder.

The same logic in SCL – use whichever your plant standard prefers; both write the same DB members that WinCC reads:

// FC_LifeBit – called every scan; T_Pulse and T_ScadaAlive are TON instances
"T_Pulse"(IN := NOT "T_Pulse".Q, PT := T#1S);
IF "T_Pulse".Q THEN "DB_Life".PLC_LifeBit := NOT "DB_Life".PLC_LifeBit; END_IF;   // for WinCC

"DB_Life".SCADA_Changed := "DB_Life".SCADA_Counter <> "DB_Life".SCADA_CounterOld;  // written by the active server
"DB_Life".SCADA_CounterOld := "DB_Life".SCADA_Counter;
"T_ScadaAlive"(IN := NOT "DB_Life".SCADA_Changed, PT := T#10S);
"DB_Life".SCADA_Lost := "T_ScadaAlive".Q OR ("DB_Life".SCADA_Lost AND NOT "DB_Life".SCADA_Changed);
// Use SCADA_Lost to hold remote commands, keep the plant in a safe local state and raise a local alarm.

Stage 4Link PLC Tags to WinCC

In Tag Management add the SIMATIC S7-1200, S7-1500 Channel, create a connection with the CPU IP address, then use AS Symbols to load the PLC symbols and drag the DB members you need into a tag group. The DB members must have Accessible from HMI ticked in TIA Portal. Names and menus can differ slightly between WinCC versions.

WinCC tagData typeConnection / addressUsed by
DB_Life_PLC_LifeBitBinarysymbolicWinCC watchdog script / communication alarm
DB_Life_SCADA_CounterSigned 32-bitsymbolicIncremented every second by a server-side global action
DB_Life_SCADA_LostBinarysymbolicShown on the system screen

Stage 5Configure Servers, Clients and Redundancy

StepWhere in WinCC Explorer
Server projectComputer list: server and client computers, startup settings
Server data packageCreate on each server, load on clients (distributed systems)
Client projectScreens from the servers; preferred server per client
RedundancyRedundancy editor: partner server, synchronisation of archives and alarms
Life counterGlobal script action, cycle 1 s, increments DB_Life_SCADA_Counter on the active server

Tag types and connection diagnostics are covered in WinCC tag types.

Stage 6Perform and Test: Redundant Servers and Life-Bit Monitoring

Two redundant servers serve two clients. Fail a server, disable redundancy or cut the plant network, and watch which server is active, whether the PLC still sees the SCADA life counter, and how large the archive gap becomes.

Architecture
Status (as shown on a WinCC system screen)
System.pdl@RedundantServerState
Active server
PLC view of SCADA
Life counter
Unsynchronised archive gap

Troubleshooting

SymptomLikely causeFirst check
Clients freeze after a server failureNo redundancy or client not configured for partnerRedundancy settings, preferred server
Gaps in archives after failoverArchive synchronisation offRedundancy editor
PLC never detects SCADA lossNo life counter logicDB_Life and the global action

Hands-On Lab: Configure a WinCC Server and Client with Life-Bit Monitoring

Hands-on
Before you start
  • TIA Portal and WinCC Explorer V8.1 (two PCs or VMs for server/client)
  • Estimated time: 90 minutes
1

Plan the network and addresses

PLC, servers and clients on defined subnets; plant bus and terminal bus.

IP plan documented.
2

Prepare the PLC interface

Create DB_Life accessible from HMI.

DB_Life accessible from HMI.
3

Write the life-bit logic in ladder and SCL

PLC toggle bit and SCADA-lost timeout.

Ladder and SCL life logic behave identically.
4

Configure WinCC connections and tags

S7-1500 channel on each server; life tags; a server-side action that increments SCADA_Counter.

Life tags update on each server.
5

Configure server, client and redundancy

Server packages, client project, redundancy partner and archive synchronisation.

Client connects to the server; redundancy partner configured.
6

Test failover

Fail a server, the network and redundancy; check the life bits and archive gap.

Failover and SCADA-lost detection proven.
Checkpoint—how to know you did it right

You can explain the chosen architecture, prove failover, and show that PLC and SCADA each detect the loss of the other.

Frequently asked questions

What is the difference between single-user, multi-user and distributed WinCC systems?

A single-user station is server and client in one PC. A multi-user system has one server with several clients. A distributed system splits the plant over several servers, each owning its area, with clients viewing several servers.

What does WinCC redundancy give me?

Two servers with the same project running in parallel. If one fails, clients switch to the partner, and when it returns the archives and alarms are synchronised so no data is lost.

Why monitor a life bit between PLC and SCADA?

So each side knows when the other has gone. WinCC shows a communication fault when the PLC life bit stops; the PLC holds remote commands and raises a local alarm when the SCADA counter stops.

How many clients can a server handle?

It depends on the WinCC licences, the hardware and the project size. Size the server for tags, archives and clients together and check the Siemens system requirements for your version.

Should the life-bit logic be ladder or SCL?

Either – the toggle and the timeout are both a few lines. Both are shown, writing the same DB members.

Where should screens live in a distributed system?

Each server owns the screens and tags of its area; clients load screens from several servers. Keep a common screen template and naming so operators move between areas without relearning.

Reviewed by Bhawesh Kumar SinghIndustrial Automation Trainer and Industry 4.0 Consultant · Softwell Automation · 21+ years industry experience

Get the full syllabus + free demo class

Share your details—a Softwell training advisor will contact you with batch dates, fees and hardware-practice options.

No spam. Used only to share course details for this enquiry.

Learn with practical industrial examples

Join live online, Pune classroom or corporate in-plant automation training.

Request Course Details
Verified learning pathway

Discuss WinCC SCADA System Architecture

Explore practical curriculum, software, hardware and batch options for this technology.

Content reviewed: 16 October 2026

Siemens PLC & TIA Portal Learning Path

Continue with the related Siemens PLC tutorials in this practical learning series.

  1. SCL vs Ladder Logic
  2. Upload PLC Program
  3. TIA Selection Tool
  4. Analog Input Scaling
  5. PLC Counters
  6. PLC Timers
  7. Addressing & Data Types
  8. Hardware & PLC Tags
  9. OB, FB, FC & DB
☎ Call WhatsApp ✉ Email Enquire Now