SCADA Engineering · Technical Blog

WinCC SCADA Trends: Tag Logging Archives and Trend Control Configuration

Trends are only as good as the archive behind them. This lesson configures WinCC Tag Logging from acquisition cycle to long-term backup, then builds a trend control an engineer can actually investigate a process with.

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

In WinCC Tag Logging, create timers, then a process value archive, then add tags with an acquisition cycle and an archiving cycle. Acquisition decides how often the value is read, archiving decides how often it is stored. Configure a compressed archive for long-term data and a backup path so closed segments are kept, then display everything through the WinCC Online Trend Control.

  • Acquisition cycle and archiving cycle are different settings; confusing them is why archives either miss transients or fill up.
  • Archive sizing is arithmetic, not guesswork: tags multiplied by rate multiplied by retention.
  • Without a backup path, closed archive segments are overwritten and the history you were relying on is gone.

How Tag Logging Is Structured

Open Tag Logging from WinCC Explorer. Three objects have to exist before a single value is stored.

  • Timers: the cycles available to the whole project, from 500 ms upwards. Add the ones your process needs before creating archives.
  • Process value archive: the container that holds logged tags. Most projects use several, grouped by plant area or by retention requirement.
  • Archive tags: the individual tags inside an archive, each with its own acquisition and archiving settings.

A compressed archive is a separate object that condenses an existing archive into longer-interval values, keeping a minimum, maximum or average per interval. It is how you keep a year of trend data without keeping a year of one-second samples.

Values must already be scaled into engineering units by the PLC before they are archived. Storing raw analog counts leaves you with an archive nobody can interpret three months later; see PLC analog input scaling in TIA Portal.

Acquisition Cycle, Archiving Cycle and Sizing

Each archive tag has two independent settings, and understanding the difference is the single most useful thing in Tag Logging.

SettingWhat it controlsEffect
Acquisition cycleHow often WinCC reads the value from the PLCCommunication load
Archiving cycleHow often a value is written to the archiveArchive size
Archiving on changeA value is stored only when it changesSmall archives for slow signals
HysteresisChange must exceed a band before storingFilters measurement noise
ProcessingStore actual, minimum, maximum, average or sum per cycleKeeps transients visible at slow archiving rates

Reading every second and archiving every ten gives you responsive screen values without a ten-times larger archive. Setting the processing to maximum on that same tag means a one-second spike still appears in the ten-second record instead of being missed between samples.

Sizing the archive

Multiply the number of tags by the number of values per hour by the retention period. Fifty tags archived every ten seconds is 18,000 values an hour, 432,000 a day. Decide the retention before configuring, set the archive size accordingly, and leave headroom.

Compression, Backup and Long-Term Archives

A process value archive is a rolling store. When it fills, the oldest segment is overwritten. Two mechanisms keep history beyond that point.

Compressed archives

Create a compressed archive that reads an existing archive and stores one value per longer interval, using minimum, maximum, average or the actual value. A common pattern keeps one second detail for a week and hourly averages for two years, in two separate archives.

Archive backup

Enable backup in the archive configuration and give it a destination path, preferably on a server share rather than the SCADA PC. Each segment is copied as it closes, and segments can be linked back in later for an investigation.

  • Verify the backup path is reachable and has space; a failed backup is silent unless you check.
  • Include the backup share in the plant IT backup routine.
  • Document the retention: how long online, how long in backup, and who can restore it.
  • For long-term reporting, export to CSV or push to SQL Server rather than querying the live archive.

Where production reporting is the goal rather than process investigation, feeding a database is usually the better route than growing the archive indefinitely.

Build WinCC archives and reports in class

Sessions cover Tag Logging, compressed archives, backup and SQL Server reporting on real projects.

Book a Free Demo Class

Trend Control and Table Control Configuration

Add the WinCC Online Trend Control in Graphics Designer and configure it properly rather than accepting defaults.

  1. Trends: add one per tag, choosing the archive tag for history or the process tag for a purely online curve.
  2. Value axes: give each measurement type its own axis with a fixed range. Automatic scaling makes every curve look identical and hides the deviation you were looking for.
  3. Time axis: set a default window that matches the investigation, typically one shift, and allow the operator to change it.
  4. Ruler and statistics: enable the ruler window so exact values, minimum, maximum and average can be read for a selected period.
  5. Toolbar: enable scroll, zoom, and the button that jumps to a specific date and time.

Always plot the setpoint alongside the process value. A curve at 178 degrees means nothing on its own; the same curve two degrees under its setpoint for an hour is a finding.

Add the WinCC Online Table Control beside the trend for the same archive. Engineers reading exact numbers, and anyone exporting data to Excel, will use the table far more than the graph.

The panel-level version of the same job is covered in HMI trends and data logs.

Hands-On Lab: Build a WinCC Archive and Trend Screen

Hands-on
Before you start
  • WinCC Explorer with a connected PLC or simulated tags
  • One analog process value and its setpoint as WinCC tags
  • A writable path for archive backup
  • Estimated time: 45 minutes
1

Create timers and the archive

Add the cycles you need in Tag Logging, then create a process value archive with a defined size.

The archive appears in Tag Logging with no configuration errors.
2

Add archive tags

Add the process value and setpoint with a one second acquisition cycle and a ten second archiving cycle.

Both tags list two distinct cycles in their properties.
3

Set processing and hysteresis

Set the process value to store the maximum per archiving cycle and add a small hysteresis.

A short spike still appears in the archived record.
4

Configure backup

Enable archive backup with a destination path and confirm a segment is copied when it closes.

A backup file appears at the destination path.
5

Build the trend screen

Add an online trend control with both tags on one fixed axis, enable the ruler, and add a table control below it.

Historical data scrolls correctly and the ruler reports exact values for a selected time.
Checkpoint—how to know you did it right

Acquisition and archiving cycles are set independently, spikes survive the archiving cycle, backups are landing at the destination, and the trend shows process value against setpoint on a fixed axis.

Frequently asked questions

What is the difference between acquisition cycle and archiving cycle in WinCC?

The acquisition cycle is how often WinCC reads the tag from the PLC. The archiving cycle is how often a value is written to the archive. Reading faster than you archive keeps screens responsive without inflating the archive.

How do I keep short spikes visible at a slow archiving cycle?

Set the archive tag processing to maximum or minimum instead of actual value, so the extreme within each archiving cycle is stored rather than whatever the value happened to be at the sample instant.

What is a compressed archive used for?

Condensing an existing archive into longer intervals with minimum, maximum or average values, so long-term history can be kept without storing every original sample.

Where should archive backups be stored?

On a server share included in the plant IT backup routine, not on the SCADA PC itself. Confirm the path is reachable, because a failing backup gives no obvious warning on screen.

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 Trends and Tag Logging

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

Content reviewed: 09 September 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