IMDTouchKnowledge BaseShop main store

Explainer

Why WinCC Flexible cannot acquire 1000 samples per second

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

No. The fastest practical acquisition cycle for a WinCC Flexible tag is 100 ms, so the runtime can present a 1000 samples/s stream but never capture it. The wireless DAQ must timestamp and buffer every sample on its own clock, and the panel trends a display representation or a transferred trend buffer within the delay you already accepted.

On this page
  1. The acquisition cycle is the ceiling
  2. Capture belongs at the source
  3. A buffer between the producer and the panel
  4. What the panel displays
  5. Bench checks that prove the split
  6. Failure patterns and their corrections
  7. Worked example and the decisions
  8. Questions asked

No. A WinCC Flexible runtime cannot be the acquisition engine for a 1000 samples/s stream, and no tag setting changes that: the fastest practical acquisition cycle for a panel tag is 100 ms, ten reads per second, one hundred times too slow. What the runtime does well is presentation. The wireless DAQ captures and timestamps every sample on its own clock, a buffer on the workstation holds the complete record, and the panel trends a display representation at its own cycle. That split gives the operator a running trend with the 1–2 s delay you already accept, while every sample is retained for storage and analysis. This article draws the acquisition-versus-display boundary, sizes the buffer with real arithmetic, and gives the bench checks that prove the split.

The acquisition cycle is the ceiling #

In WinCC flexible, the acquisition cycle is the tag property that fixes the interval at which the HMI device reads the process value of an external tag from its communication partner. You can assign a fixed cyclic interval, "Cyclic on use", which updates at regular intervals only while the tag is visualized on the process screen, or "Upon change". The shortest cyclic interval you can practically assign and sustain on a panel is 100 ms; plan with that number.

At that cycle the panel completes at most ten reads per second per tag, and one read spans one hundred source samples. The screen can show one value out of every hundred, and the other ninety-nine exist only if something upstream captured them. No processor, cable or driver upgrade removes this limit: each read is a request-and-response transaction on a connection shared with the alarms, buttons and every other tag the screen needs.

"Upon change" is not the escape hatch it looks like. The current WinCC data-logging documentation for the PC runtimes gives this mode a default cycle of 1000 ms, and the mode can only report a change after a communication transaction delivers the new value, so several source transitions can pass before the next delivery. It refreshes a display when something changes; it does not sample a signal.

Rule out the PLC as the capture device with the same logic. Serving a fresh value every millisecond would need the controller to publish a new process value every scan and the panel transaction to complete inside that same millisecond, on a connection that also carries everything else the screen displays. Panel communication does not work that way, which is why the instrument that already owns the sampling clock has to do the capturing.

Capture belongs at the source #

The wireless DAQ's sampling clock is the measurement time base. At the full rate the interval between samples is 1 ms, and each tick produces one record: a sample index or timestamp, the four channel values (Fx, Fy, Mz and speed in the tow-tank case) and an acquisition-status word.

Timestamp every record when it is captured, not when it reaches the workstation. WiFi adds variable delivery delay even while the DAQ clock stays even, so arrival time is not measurement time; ordering and timestamping by the source clock is what keeps the sequence intact through network jitter, the same discipline as aligning sample counters with clock data on other acquisition platforms.

Record overruns, missing records and discontinuities at the source, before anything is published toward the display. An overrun first detected at the panel is already a corrupted measurement.

A buffer between the producer and the panel #

Put a bounded ring buffer between acquisition and visualization. The producer, the acquisition process on the workstation, writes every record at the source rate; a separate consumer publishes to the panel at whatever rate the configured connection sustains. The separation is the point: a slow screen update, a screen change or a wireless stall must never block measurement capture.

WinCC flexible documents a mechanism for exactly this shape: bit-triggered trend transfer. A trigger bit in the "trend transfer" variable makes the panel read either one trend value or a complete trend buffer, so the interface fills an array with a block of timestamped records and the panel pulls the whole block in one transfer instead of polling point by point. Write into a second buffer while the panel reads the first, the trend-buffer and switch-buffer pattern that the current WinCC Unified documentation still describes for fast trends.

Keep the two data paths separate:

  • Full-rate records stay in the acquisition path for storage and later analysis.
  • The panel receives a display representation: the latest value per channel, a decimated subset, or transferred blocks when the trend must show waveform detail between screen updates.

Detect queue overflow explicitly and raise a status tag; never silently overwrite unread measurement data. And keep the safety boundary fixed: this wireless-and-screen path is measurement and display only, so no interlock, trip or machine stop may depend on a value that travels through it.

What the panel displays #

Configure the trend as presentation only:

  • Map the four display tags and the interface's status tags, and bind them to the trend.
  • Give the trend tags the fastest stable cyclic acquisition the connection sustains; "Cyclic on use" suits a display-only trend because reads are needed only while the curve is on screen.
  • Choose the visible time window so the transport delay does not break the trace: for example a 10 s window at the panel's read rate holds about 100 points per curve, which reads as continuous even though it is a sparse replica.
  • Expose the source timestamp, sample counter and overflow status on a diagnostic screen, so the operator can tell fresh data from frozen data.

Two display-side notes from the panel world. When a trend axis shows sample points instead of time, the axis is index-based; Why a Comfort Panel trend axis shows points instead of time covers that setting. And if the panel must also log its display values, Configuring data logging on a TP700 Comfort panel covers the setup, but the record of truth stays in the source buffer, because the panel only ever logs the sparse display representation.

Bench checks that prove the split #

Run these on an isolated bench before trusting the installation:

  1. Source-rate check: pause the consumer, by stopping the interface or opening a heavy screen, and confirm that the source sample counter and stored record count keep advancing and that source timestamps stay evenly spaced.
  2. Sequence check: consecutive records differ by exactly one index step and one sampling interval, with no overrun indication.
  3. Overflow check: throttle the consumer until the ring overflows; the overflow status tag must change on screen before any record is lost silently.
  4. Freshness check: the newest trend point's source timestamp trails the workstation clock by a roughly constant lag equal to the transport delay; a growing lag means the consumer is starving.
  5. Integrity check: drop and restore the wireless link; the stored record shows no gap, and the status tags, not a frozen-looking curve, tell the operator about the interruption.

Failure patterns and their corrections #

Symptom Mechanism Correction
Trend misses fast peaks The panel reads only the latest scalar after many samples have passed Transfer timestamped blocks, or decimate at the source keeping each block's minimum and maximum
Gaps appear when the screen is busy Capture and visualization share one blocking execution path Separate producer and consumer tasks with a monitored buffer
Samples arrive in bursts Wireless delivery and workstation scheduling delay arrival Order and timestamp by the source clock, never by arrival time
"Upon change" still misses transitions Several source changes pass within one communication transaction Keep every change in the source buffer; treat the panel event as a display trigger
Display rate mistaken for recorded rate Screen redraws are used as the acquisition metric Verify the source sample counter and stored record count separately

Worked example and the decisions #

Example inputs, so you can substitute your own: four channels, a source rate of 1000 samples/s, a panel cycle of 100 ms, an accepted end-to-end delay of 2 s, and 32-bit floating-point channel values.

  • Capture load: 4 channels × the source rate = 4000 values per second.
  • Display load: 10 reads per second × 4 tags = 40 values per second, so 40 / 4000 = 1% of the captured values ever reach the screen as scalar points.
  • Buffer covering the delay window: 1000 samples/s × 2 s = 2000 records; 2000 records × 4 values = 8000 values; 8000 × 4 bytes = 32,000 bytes, about 32 kB per window before index and status fields.
  • Ring sized for a 10 s history: 10,000 records × 4 values × 4 bytes = 160,000 bytes, 160 kB, trivial for any workstation.
  • One block transfer carrying a second of waveform: 1000 records moved in a single triggered transfer instead of a thousand polled reads.

The decisions:

  • A running trend with the delay you already accepted, every sample stored: yes. The DAQ is the acquisition engine, the buffer is the record of truth, and the panel is presentation.
  • An oscilloscope-style view drawing every sample at the instant of capture: no. That view belongs on the acquisition environment's own display; the panel shows delayed history, and pretending otherwise is what broke the original integration.
  • Four signals or six: budget from the final channel list. The clarified scope is four signals, and each added channel adds its value to every record.

Questions asked

Can a PLC with a 1 ms cyclic interrupt capture the samples instead of the DAQ?

Not for this job. A cyclic interrupt gives you scheduling, not a measurement clock: scan jitter, the analog module's conversion time per channel and the number of active channels all sit between the signal and your record. The DAQ already timestamps on a hardware sampling clock, so a controller in the path only adds error. Use a PLC, if one is needed, as a buffer relay, never as the time base.

How does the buffer grow with more channels?

Linearly. Each record carries one value per channel, so going from four channels to eight doubles the payload: the same delay window then holds 16,000 values, about 64,000 bytes at 4 bytes per value before index and status fields, and the capture load doubles from 4000 to 8000 values per second. Size the ring from the final channel list, not from an early estimate.

Is the trend on the panel real time?

No, and do not describe it as such. The trace is a delayed replica whose lag has three parts: buffer handover, the block or scalar transfer, and the panel's screen cycle. Together they land inside the delay you already accepted, and watching that lag on the diagnostic screen tells you whether the consumer keeps up.

Can the panel read the wireless DAQ directly, without the workstation interface?

No. The runtime reads external tags only through communication connections it supports, and a measurement vendor's native programming interface is not one of them. The acquisition application must republish the buffered values over a connection the installed runtime can open, and confirming that connection against your exact runtime version is the first thing to settle before building the interface.

Keep reading

  • Troubleshooting

    Why a WinCC Unified on-demand trend exports 4 samples per second

    The export reads the stored log, not the screen, so a file at 4 samples per second means the exported series is still written on a fixed cycle of 250 ms. Set Logging mode to On demand with a Trigger mode other than none, bind the Trigger tag, point the trend series at the logging tag, and export only records written after the download.

    HMI and touchscreens

  • How-to

    Verifying HMI Historical Trend Retention Before Committing

    An 8-hour trend sampled every 5 minutes spans 96 intervals — 97 stored points if both endpoints are kept — so the panel needs a historical buffer of at least 97 samples per tag that repopulates the trend after screen changes. Verify the buffer depth, the interval setting, and restoration behavior on the bench before you build the screens.

    HMI and touchscreens

  • Troubleshooting

    Why a TP177micro alarm acknowledges only via its own ACK button

    A WinCC flexible discrete alarm runs on three separate bit handshakes: the trigger, the PLC acknowledgment request and the panel's acknowledgment feedback. The TP177micro acknowledges only through its own ACK control or a fresh transition of the configured request bit while the alarm is pending; writing the feedback bit does nothing. The panel also has no alarm archive, so logging stays disabled.

    HMI and touchscreens

Cycle HMI windows automatically with per-page action triggers