The SIMATIC trace and logic analyzer function lets engineers observe highly dynamic processes by recording tags from one or several devices directly in TIA Portal. Siemens has published the 11/2026 edition of its function manual (order number A5E31277294-AM, 121 pages in the English version), valid for S7-1200, S7-1500, ET 200SP, SINAMICS drives, SIRIUS SIMOCODE pro and SIRIUS 3RW soft starters from TIA Portal V16. This summary covers what commissioning, maintenance and integration engineers need to know.
What the SIMATIC trace and logic analyzer does
The function records tags such as drive parameters, system tags or user tags of a CPU and evaluates the recordings in a timeline view. It also works inside the commissioning editors of technology objects, for example the axis control panel or the kinematics trace. Active recordings of the axis control panel appear as device traces in the “Traces” folder, and the web server diagnostics interface can read measurements stored on the memory card.
Recorded values can be saved permanently as a measurement. When recording is activated again, the current values are overwritten.
Four trace types, from single device to whole project
The manual distinguishes four recording options, depending on whether one device or several are recorded and whether the recording has a time limit:
| Trace type | What it records |
|---|---|
| Trace | Selected tags of one device for a defined period. |
| Long-term trace | Tags of one device with no time limit, until recording is deactivated. Data is saved to a target path on the programming device. |
| Project trace | Tags of several devices for a defined period. Each device can trigger recording on all participating devices. |
| Long-term project trace | Tags of several devices with no time limit, recorded simultaneously on all participants. |
On S7-1500 CPUs there is also event recording for Motion Control technology objects from version V9.0. It cannot be active at the same time as measurement in the device (memory card).
Supported hardware
If a device supports the function, the project tree shows a “Traces” folder below it. Supported devices are S7-1200 CPUs (firmware V4.0 or higher), S7-1500, ET 200SP, CPU 1513pro-2 PN and 1516pro-2 PN, SIMATIC Drive Controller, S7-1500 Software Controller, ET 200SP Open Controller, SINAMICS drives configured in Startdrive, SINAMICS V90 (with HSP 0185), SIRIUS SIMOCODE pro (with Simocode ES) and SIRIUS 3RW soft starters (with Soft Starter ES).
| Device family | Trace | Long-term trace | Project trace | Long-term project trace |
|---|---|---|---|---|
| S7-1200 (firmware V4.0 or higher) | Yes | No | No | No |
| S7-1500, ET 200SP, 1513pro-2 PN, 1516pro-2 PN, Drive Controller, Software Controller | Yes | Yes | Yes (firmware V2.8 or higher) | Yes (firmware V2.8 or higher) |
| ET 200SP Open Controller | Yes | Yes | Yes (firmware V20.8 or higher) | Yes (firmware V20.8 or higher) |
| SINAMICS (Startdrive), SINAMICS V90, SIMOCODE pro | Yes | No | No | No |
Workflow: from configuration to measurement
The procedure is similar for all four trace types. The manual describes it with an S7-1500 CPU as the example:
- Add a new trace in the “Traces” folder below the device.
- Select the signals and define sampling and triggering.
- Optionally, enable event recording or set up measurement in the device (memory card).
- Transfer the configuration to the device.
- Activate recording, observe it in the timeline and deactivate it.
- Save the recording as a measurement in the project.
- Evaluate the signals.
Once the configuration has been transferred, recording runs independently of the programming device: when the trigger condition is met, the device starts recording. The manual warns that problems with the online access between the programming device and the CPU can make recording fail or abort completely, so it recommends connecting the programming device directly to the CPU where possible.
Sampling and trigger modes
Sampling is defined by an OB as recording point, a reduction factor (“Record every”) and a recording duration, with the option to use the maximum duration. Measured values are recorded at the end of the OB, after the user program has run. For non-cyclic recording levels the recording duration is undefined.
The trigger mode can be one of four:
- Observe without trigger: starts recording immediately and does not end automatically; suited to observing slow signals.
- Record immediately: starts recording without a trigger condition.
- Trigger on tag: starts recording when a trigger event occurs on a tag, with an optional pretrigger so that an interval before the event is already recorded.
- Trigger on Motion Control instruction: starts recording when a selected Motion Control instruction is executed on one or all of the chosen technology objects, including master, slave and cam disk combinations.
One practical detail: the trigger condition is checked in the cycle of the OB that processes the trigger tag, regardless of the “Record every” setting. For reliable detection, the trigger signal must be present for at least one full cycle.
Capacity and technical data for S7-1200 and S7-1500 CPUs
| Parameter | Value |
|---|---|
| Installed traces, S7-1200 (firmware V4.0 or higher) | 21 traces, 16 signals per trace configuration |
| Installed traces, S7-1500 and related devices | At least 42 (depending on CPU type); 16 signals per trace configuration, or 64 as of firmware V3.0 |
| Simultaneous long-term traces | Maximum two on S7-1500 with STEP 7 V18 or higher; the S7-1200 does not support long-term trace |
| Example: CPU 1516-3 PN/DP | Up to 7,281 measuring points with 16 DWORD signals; 21,844 with 16 BOOL signals; 58,250 with one BOOL signal |
| Recordable operand areas | Process image inputs and outputs, bit memory, data blocks and I/O |
| Restriction | Tags in the InOut area of a function block cannot be recorded |
Simple data types such as BOOL, BYTE, WORD, DWORD, SINT, INT, DINT, REAL, LREAL, TIME and DATE are supported. LWORD, LINT, ULINT, LTIME, LTOD and LDT are not allowed on the S7-1200, and some types require a symbolic name. A trace configuration with more signals than permitted cannot be loaded to the device: the surplus signals are marked and must be removed, which can happen when copying a configuration or replacing a CPU with one of lower capacity.
On durability, the configuration is retained in the device after power off and recording is reactivated when the CPU restarts, but the recorded values are lost. To keep them, save them as a measurement in the project or on the memory card. An active recording also lengthens the execution time of the recording level, so under high CPU load the execution level can overrun. The manual suggests configuring fewer signals, increasing them step by step, or selecting a slower recording level.
Project trace: several synchronized devices
A project trace combines the trace configurations of several devices. It requires PROFINET RT or IRT communication, all devices in one subnet without routing, an online connection between TIA Portal and every device, a trigger configured on at least one device, and the “Record immediately” mode on at most one device.
The accuracy of time synchronization depends on how the recording time is determined. Isochronous communication is the most accurate because it uses the IRT cycle; in all other cases the time of the device that records the signals is used. With RT communication, devices that receive the trigger from another device detect it with a delay, so their signal curves appear shifted forward in time. The shift can be corrected with a manual offset after saving the measurements. For synchronous display, the X axis must be set to “Time (relative)”, which places the trigger events at 0 ms.
The long-term project trace adds its own requirements: an S7-1500 CPU and a maximum of 5 devices per configuration. In the status view, if only one device shows “Observe”, there is no time synchronization between the devices and the recording does not work correctly.
Long-term trace: DAT files and CSV export
Recording a long-term trace, single-device or project, needs at least 4 GB of free space on the programming device’s hard disk. From TIA Portal V20 the recording is saved in binary “.dat” format, with a file name combining CPU, trace name, timestamp and a sequence number. When a file reaches 2 GB, a new one is created with the same timestamp and an incremented number, without interrupting the recording.
The manual highlights two precautions. Do not open the DAT file while recording, because the data may become inconsistent and unusable. And do not close the editor window during recording, because it aborts and the missing data appears as a gap in the timeline. For external analysis, export the measurement as a CSV file; the manual recommends importing it into Excel rather than double-clicking it, so the values display in the correct format. The curve diagram shows a maximum of 400,000 measuring points.
Evaluating measurements
Analog signals are shown in the upper curve diagram and binary signals as a bit trace in the lower one. The evaluation options include:
- Measuring cursors, horizontal and vertical, to check whether a value is reached, measure the difference between two points or align measurements.
- Overlaid measurement to compare recordings from different measurements without changing the originals.
- Signal table with signal groups that share a scale, configurable colors and selection of individual bits.
- Snapshots to save and restore views of the timeline or the Bode diagram, stored with the measurement.
- Formula editor with arithmetic operations, square root, absolute value, modulo, numerical differentiation and integration, averaging filters, root mean square (RMS) and least squares method.
The editor also provides FFT and BODE functions. The FFT diagram shows the frequency spectrum of an analog signal, with amplitude on the Y axis and frequency in hertz on the X axis. The Bode diagram plots amplitude response (decibels) and phase response (degrees) from an input and an output signal; it requires an equidistant recording cycle and at least three measuring points. In both cases the input parameters must be analog signals, not calculated signals. As an example, the manual derives an acceleration curve from a velocity signal with the formula DIF($0,1)/0.001 for a 1 ms cycle.
Why it matters for engineers
The tool makes it possible to diagnose intermittent faults, tune control loops and analyze vibration or axis behavior without external instrumentation, using the PLC itself and TIA Portal. The project trace is useful when a problem involves several CPUs or drives on the same PROFINET network, and the long-term trace is suited to capturing rare events that a time-limited recording would miss. The manual also reminds users to protect exported files and shared folders, and notes that user management and access control are available in the project to avoid security risks.
For more detail, Siemens offers an overview of the SIMATIC technical documentation on Industry Online Support and a demo video of recording with the trace function and exporting for further diagnostics. On Automation Fair you can follow more Siemens automation news, such as Siemens at SPS 2026, or read how Allen-Bradley and Siemens PLCs compare for a US plant.
