Trace Editor Function Manual en-US en-US
Trace Editor Function Manual en-US en-US
FUNCTION MANUAL
SIMATIC / SINAMICS
S7-1500, S7-1200 / SINAMICS
Using the trace and logic analyzer function
support.industry.siemens.com
Introduction
1
Safety instructions
2
Operation
7
Devices
8
11/2023
A5E31277292-AJ
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
1 Introduction........................................................................................................................................ 8
1.1 Function Manuals documentation guide........................................................................... 10
1.1.1 Information classes Function Manuals............................................................................... 10
1.1.2 Basic tools........................................................................................................................ 12
1.1.3 SIMATIC Technical Documentation.................................................................................... 14
2 Safety instructions.............................................................................................................................. 16
2.1 Cybersecurity information................................................................................................. 16
3 Description.......................................................................................................................................... 17
3.1 Supported hardware......................................................................................................... 17
3.2 Recording of measured values with the trace function....................................................... 17
3.3 Trace configuration, recording, installed trace and measurement...................................... 19
3.4 Data storage..................................................................................................................... 21
3.5 Long-term trace................................................................................................................ 22
3.6 Project trace..................................................................................................................... 23
3.6.1 General............................................................................................................................ 23
3.6.2 Time synchronization........................................................................................................ 24
3.7 Long-term project trace.................................................................................................... 25
3.7.1 Time synchronization........................................................................................................ 27
7 Operation............................................................................................................................................ 87
7.1 Quick start........................................................................................................................ 87
8 Devices................................................................................................................................................ 114
8.1 S7-1200/1500 CPUs.......................................................................................................... 114
8.1.1 Recordable variables......................................................................................................... 114
8.1.2 Lifetime of the installed trace configuration and recorded values....................................... 115
8.1.3 Recording levels................................................................................................................ 116
8.1.4 Time synchronization with Motion Control........................................................................ 116
8.1.5 Quantity structure............................................................................................................. 118
8.1.6 Long-term trace recording................................................................................................ 119
8.1.7 Long-term project trace recording..................................................................................... 121
8.1.8 CPU load through trace recording...................................................................................... 123
8.1.9 Project trace..................................................................................................................... 124
8.1.10 Software user interface of the configuration...................................................................... 124
8.1.10.1 Layout of the trace user interface...................................................................................... 124
8.1.10.2 Layout of the long-term trace user interface...................................................................... 125
8.1.10.3 Layout of the project trace user interface.......................................................................... 126
8.1.10.4 Structure of the interface for long-term project trace......................................................... 126
8.1.10.5 User interface - Signals...................................................................................................... 127
8.1.10.6 Recording conditions........................................................................................................ 128
8.1.11 Configuration................................................................................................................... 136
8.1.11.1 Trace configuration - overview.......................................................................................... 136
8.1.11.2 Long-term trace configuration – overview......................................................................... 137
8.1.11.3 Configuring long-term project trace - Overview................................................................. 137
8.1.11.4 Select participating devices............................................................................................... 138
8.1.11.5 Selecting signals............................................................................................................... 138
8.1.11.6 Configuring the recording cycle and duration.................................................................... 139
8.1.11.7 Configuring the trigger conditions..................................................................................... 139
8.1.11.8 Configure installed measurements (memory card)............................................................. 140
8.1.11.9 Configuring the recording cycle and target path for long-term trace.................................. 141
8.1.11.10 Configuring recording cycle and target path for long-term project trace............................. 141
Glossary.............................................................................................................................................. 143
Index................................................................................................................................................... 145
Conventions
This documentation contains pictures of the devices described. The pictures may differ
slightly from the devices supplied.
Please also observe notes marked as follows:
NOTE
A note contains important information on the product described in the documentation, on
the handling of the product and on the section of the documentation to which particular
attention should be paid.
"mySupport"
With "mySupport", your personal working area, you make the most of your Industry Online
Support.
In "mySupport" you can store filters, favorites and tags, request CAx data and put together
your personal library in the Documentation area. Furthermore, your data is automatically
filled into support requests and you always have an overview of your current requests.
You need to register once to use the full functionality of "mySupport".
You can find "mySupport" on the Internet (https://support.industry.siemens.com/My/ww/en/).
"mySupport" - Documentation
In the Documentation area of "mySupport", you have the possibility to combine complete
manuals or parts of them to make your own manual.
You can export the manual in PDF format or in an editable format.
You can find "mySupport" - Documentation on the Internet
(http://support.industry.siemens.com/My/ww/en/documentation).
Further support
• The range of technical documentation for the individual SIMATIC products and
automation systems can be found on the Internet (http://www.siemens.com/simatic-tech-
doku-portal).
• The online catalog and the online ordering system is available on the Internet
(https://mall.industry.siemens.com).
Basic information
The system manuals and Getting Started describe in detail the configuration, installation,
wiring and commissioning of the SIMATIC S7‑1500, SIMATIC Drive Controller, ET 200MP,
ET 200SP, ET 200AL and ET 200eco PN systems. Use the corresponding operating instructions
for 1513/1516pro-2 PN CPUs.
The STEP 7 online help supports you in the configuration and programming.
Examples:
• Getting Started S7-1500
• System manuals
• Operating instructions ET 200pro and 1516pro-2 PN CPU
• Online help TIA Portal
Device information
Equipment manuals contain a compact description of the module-specific information, such
as properties, wiring diagrams, characteristics and technical specifications.
Examples:
• Equipment manuals for CPUs
• Equipment manuals for interface modules
• Equipment manuals for digital modules
• Equipment manuals for analog modules
• Equipment manuals for communication modules
• Equipment manuals for technology modules
• Equipment manuals for power supply modules
• Equipment manuals for BaseUnits
General information
The function manuals contain detailed descriptions on general topics relating to the
SIMATIC Drive Controller and the S7-1500 automation system.
Examples:
• Function Manual Diagnostics
• Function Manual Communication
• Function Manuals Motion Control
• Function Manual Web Server
• Function Manual Cycle and Response Times
• PROFINET Function Manual
• PROFIBUS Function Manual
Product Information
Changes and supplements to the manuals are documented in a Product Information. The
Product Information takes precedence over the device and system manuals.
You will find the latest Product Information on the Internet:
• S7-1500/ET 200MP (https://support.industry.siemens.com/cs/de/en/view/68052815)
• SIMATIC Drive Controller
(https://support.industry.siemens.com/cs/de/en/view/109772684/en)
• Motion Control (https://support.industry.siemens.com/cs/de/en/view/109794046/en)
• ET 200SP (https://support.industry.siemens.com/cs/de/en/view/73021864)
• ET 200eco PN (https://support.industry.siemens.com/cs/ww/en/view/109765611)
Manual Collections
The Manual Collections contain the complete documentation of the systems put together in
one file.
You will find the Manual Collections on the Internet:
• S7-1500/ET 200MP/SIMATIC Drive Controller
(https://support.industry.siemens.com/cs/ww/en/view/86140384)
• ET 200SP (https://support.industry.siemens.com/cs/ww/en/view/84133942)
• ET 200AL (https://support.industry.siemens.com/cs/ww/en/view/95242965)
• ET 200eco PN (https://support.industry.siemens.com/cs/ww/en/view/109781058)
Tools
The tools described below support you in all steps: from planning, over commissioning, all
the way to analysis of your system.
PRONETA
SIEMENS PRONETA (PROFINET network analysis) is a commissioning and diagnostic tool for
PROFINET networks. PRONETA Basic has two core functions:
• In the network analysis, you get an overview of the PROFINET topology. Compare a real
configuration with a reference installation or make simple parameter changes, e.g. to the
names and IP addresses of the devices.
• The "IO test" is a simple and rapid test of the wiring and the module configuration of a
plant, including documentation of the test results.
You can find SIEMENS PRONETA Basic on the Internet:
(https://support.industry.siemens.com/cs/ww/en/view/67460624)
SIEMENS PRONETA Professional is a licensed product that offers you additional functions. It
offers you simple asset management in PROFINET networks and supports operators of
automation systems in automatic data collection/acquisition of the components used through
various functions:
• The user interface (API) offers an access point to the automation cell to automate the scan
functions using MQTT or a command line.
• With PROFIenergy diagnostics, you can quickly detect the current pause mode or the
readiness for operation of devices that support PROFIenergy and change these as needed.
• The data record wizard supports PROFINET developers in reading and writing acyclic
PROFINET data records quickly and easily without PLC and engineering.
You can find SIEMENS PRONETA Professional on the Internet.
(https://www.siemens.com/proneta-professional)
SINETPLAN
SINETPLAN, the Siemens Network Planner, supports you in planning automation systems and
networks based on PROFINET. The tool facilitates professional and predictive dimensioning of
your PROFINET installation as early as in the planning stage. In addition, SINETPLAN supports
you during network optimization and helps you to exploit network resources optimally and to
plan reserves. This helps to prevent problems in commissioning or failures during productive
operation even in advance of a planned operation. This increases the availability of the
production plant and helps improve operational safety.
The advantages at a glance
• Network optimization thanks to port-specific calculation of the network load
• Increased production availability thanks to online scan and verification of existing systems
• Transparency before commissioning through importing and simulation of existing STEP 7
projects
• Efficiency through securing existing investments in the long term and the optimal use of
resources
You can find SINETPLAN on the Internet
(https://new.siemens.com/global/en/products/automation/industrial-
communication/profinet/sinetplan.html).
Watch this short video to find out where you can find the overview directly in Siemens
Industry Online Support and how to use Siemens Industry Online Support on your mobile
device:
Quick introduction to the technical documentation of automation products per
video (https://support.industry.siemens.com/cs/us/en/view/109780491)
mySupport
With "mySupport" you can get the most out of your Industry Online Support.
Registration You must register once to use the full functionality of "mySupport". After registra
tion, you can create filters, favorites and tabs in your personal workspace.
Support requests Your data is already filled out in support requests, and you can get an overview of
your current requests at any time.
Documentation In the Documentation area you can build your personal library.
Favorites You can use the "Add to mySupport favorites" to flag especially interesting or fre
quently needed content. Under "Favorites", you will find a list of your flagged
entries.
Recently viewed The most recently viewed pages in mySupport are available under "Recently viewed
articles articles".
CAx data The CAx data area gives you access to the latest product data for your CAx or CAe
system. You configure your own download package with a few clicks:
• Product images, 2D dimension drawings, 3D models, internal circuit diagrams,
EPLAN macro files
• Manuals, characteristics, operating manuals, certificates
• Product master data
You can find "mySupport" on the Internet. (https://support.industry.siemens.com/My/ww/en)
Application examples
The application examples support you with various tools and examples for solving your
automation tasks. Solutions are shown in interplay with multiple components in the system -
separated from the focus on individual products.
You can find the application examples on the Internet.
(https://support.industry.siemens.com/cs/ww/en/ps/ae)
Introduction
The trace and logic analyzer function can be called in the project tree (Page 28) by double-
clicking an entry in the "Traces" system folder. The measurements on the memory card can
also be read and displayed via the diagnostic interface of the Web server.
You record device tags and evaluate the recordings with the trace and logic analyzer
function. Tags are, for example, drive parameters or system and user tags of a CPU. The
number of installed traces is hardware-dependent. You can use the project trace to record
tags from multiple devices across devices.
The recordings are saved on the device and, when required, can be read out with the
engineering system (ES) and saved permanently. The trace and logic analyzer function is
therefore suitable for monitoring highly dynamic processes. The recorded values are
overwritten when the recording is activated again.
The trace and logic analyzer functions are also used in the commissioning editors of
technology objects (for example, axle control panels). Active recordings from the axis control
panel are displayed in the "Traces" system folder as installed traces. Recordings can be added
to the measurements in the curve diagram of the axis control panel or the PID via a shortcut
menu command.
Depending on the device used, the recording options can vary.
A quick start (Page 87) for working with the trace and logic analyzer function can be found in
the Operation section.
Trace configuration
Implement the following settings in the trace configuration:
• Signals to be recorded with display options
• Recording conditions
– Sampling
– Trigger
– Measurements on device (memory card)
Trace configurations can be copied to the "Traces" folder by drag-and-drop operation or by
means of the clipboard. The application of a configuration depends on the device type. The
following sources are possible:
• Trace configuration
• Measurement
• Measurements on device (memory card)
• Combined measurement (selection of a measurement contained in it)
Recording
A recording is performed in the device. There is only one recording for each installed trace
configuration. When a new recording is started, the old recording is overwritten.
An installed recording is not retentive (it is lost when the device is switched off/on) but can be
saved permanently in the project as a measurement.
Installed trace
An installed trace consists of a trace configuration and optionally a recording. The
maximum number of installed traces depends on the device.
The trace configuration is stored retentively on the device. The retentivity of the trace
configuration may also be configurable depending on the device, e.g. with the S120.
The configuration data is displayed write-protected.
Measurement
A measurement consists of a trace configuration and a recording, provided that recorded
data is present. Each installed trace can be saved as a measurement in the project.
The recording of a measurement can be viewed offline.
The configuration data is displayed write-protected.
Combined measurement
The combined measurement allows a comparison and analysis of signals from different
measurements with each other.
Measurements can be synchronized with each other and displayed overlaid.
Changes to the settings for measurements within the combined measurement have no
impact on the original measurements. The original measurements remain unchanged.
&XUYHGLDJUDP
,PSRUW ([SRUW
&RQILJXUDWLRQ
([SRUW ,PSRUW
3URMHFW 3URMHFW
5HFRUGLQJ
NOTE
Saving the trace configuration and measurement
You save the trace configuration and measurement with the project in the TIA Portal.
If you close the project without saving, the trace configurations and the measurements
transferred to the project are discarded. The trace editor can be closed and reopened without
loss of data until the project is closed.
DTW
MUUDE
Long-term trace configuration on the programming device (PG) in the TIA Portal①
You can define the signals to be recorded and the target path for the long-term trace
measurements in the long-term trace configuration. The long-term trace configuration
depends on the device and is described for the respective devices.
Transferring the long-term trace configuration from the PG to the device②
You can transfer the complete long-term trace configuration to the device when an online
connection is established.
Starting the long-term trace recording and saving the long-term trace measurement in
the target path③
You start the long-term trace recording by activating the trace configuration. The long-term
trace recording is displayed in the time diagram.
The long-term trace measurement is saved as a .csv file and as an .lttcd file in the configured
target path on the PG.
You can find additional information about long-term trace recording as a csv file in the
section Long-term trace recording (Page 119).
NOTE
Note that problems with online access between the PG and the CPU can result in errors or
even failure of the recording.
If possible, connect the PG directly to the CPU.
3.6.1 General
A project trace includes trace configurations of multiple devices and records the signals across
devices.
Each device can trigger the recording on all participating devices. After receiving the global
trigger, the devices with valid project trace configuration start the recording.
Each of the respective devices describes whether the project trace function is supported.
Requirements
The following requirements must be fulfilled for recording with project trace:
• PROFINET RT or IRT communication
• All devices are located in a PROFINET subnet (no routing)
• An online connection from the TIA Portal to all devices to transfer the project trace to the
devices.
• The "Record immediately" trigger mode may be configured for a maximum of one device.
• A trigger must be configured for at least one device.
4JHOBM
$16
U
U U
5SJHHFSUJNF$16 5SJHHFSUJNF$16
%JTQMBZJOQSPKFDUUSBDF
$16
$16
U
XJUINBOVBM
PTFU 0TFU
$16
U
NOTE
The number of devices that can be in the respective long-term trace configuration is limited
to 5.
DTW
MUUDE
Long-term project trace configuration on the programming device (PG) in the TIA
Portal①
In the long-term project trace configuration, you define the signals to be recorded and the
target path for the long-term project trace recordings.
Transferring the long-term project trace configuration from the PG to the device②
You can transfer the complete long-term project trace configuration to the device when an
online connection is established.
Start long-term project trace recording and save in target path.③
Start the recording by activating the trace configuration. The long-term project trace
recording is displayed in the time diagram.
The long-term project trace measurement is saved as a .csv and as a .lttcd file in the
configured target path.
You can find additional information about long-term project trace recording as a csv file in
the section Long-term project trace recording (Page 121).
NOTE
Note, if there are problems in the online access between PG and the CPU, the recording may
be disturbed or even fail.
Connect the PG directly to the CPU if possible.
Requirements
The following requirements must be fulfilled for recording with long-term project trace:
• S7-1500 CPU
• PROFINET RT or IRT communication
• All devices are located in a PROFINET subnet (no routing)
• An online connection from the TIA Portal to all devices to transfer the project trace to the
devices.
See also
Saving measurements in the project (Page 104)
Project tree
Management and creation of the trace and measurements directly in the project tree and via context
menu commands.
Working area
② Trace toolbar
Buttons for managing the trace in the project and device:
• Activation/deactivation of installed traces
• Deletion of installed traces
• Transfer of trace configurations and measurements between the device and the project
• Export of trace configurations and measurements
• Switchover between offline and online display
④ Configuration tab
Device-specific configuration of the recording duration, trigger condition and signal selection.
Configuring the devices for project trace.
See Device-specific descriptions.
Inspector window⑦
Display of general information about the trace configuration
Icon Description
Add trace configuration
Double-click the icon to add a new trace configuration.
Trace configuration (offline)
Double-click the icon to open the "Configuration" tab.
Installed trace (online)
The icon is only displayed when there is no offline trace configuration of the same name
for the installed trace.
Double-click the icon to open the "Time diagram" tab.
Trace configuration with an installed trace of the same name
If the button is deactivated, the trace configuration from the project is displayed. The
trace corresponds to a trace configuration.
If the button is activated, the trace configuration from the device is displayed. The
trace corresponds to an installed trace.
Double-click on the symbol to open the "Time diagram" tab of the installed trace.
Status
When there is an online connection, the status is displayed in the right-hand column of the
project tree. The status is also displayed as tooltip above the respective icon.
The following table shows the meaning of the icons:
Icon Description
Online and offline configuration are identical
Online and offline configuration are different
Configuration only exists online
Icon Description
Measurement (offline)
Double-click the icon to open the "Time diagram" tab.
The configuration for a measurement can be transferred to the “Traces” folder using drag
& drop.
4.1.3 User interface - “Installed measurements (memory card)” project tree folder
The "Measurements on device (memory card)" folder shows all measurements present on
the memory card. The folder is only displayed when there is an online connection to the
device.
Drag folders or measurements contained here to the "Measurements" system folder using
drag & drop. This transfers the measurements to the project.
NOTE
Transferring numerous and large trace measurements from the device (memory card)
Transferring trace measurements from the device to the project increases the memory
requirement.
Avoid copying a large number of measurements with large amounts of data at the same time
because this can lead to high memory consumption and extended periods needed for
copying.
Icon Description
Folders generated automatically with information on the recording activation time:
The name of the folder cannot be changed.
Installed measurement
Double-click the icon to open the "Time diagram" tab.
The time stamp in the name shows the occurrence of the trigger event.
Icon Description
Add new combined measurements
Double-click the icon to add a new combined measurement and open the "Time diagram"
tab.
Combined measurement
Double-click the icon to open the "Time diagram" tab.
Icon Description
Add new long-term trace
Double-click the icon to add a new long-term trace configuration.
Long-term trace configuration (offline)
Double-click the icon to open the "Configuration" tab.
Installed long-term trace (online)
The icon is only displayed when there is no offline long-term trace configuration of the
same name for the installed trace.
Double-click the icon to open the "Time diagram" tab.
Long-term trace configuration with installed long-term trace of the same name
If the button is deactivated, the trace configuration from the project is displayed. The
trace corresponds to a trace configuration.
If the button is activated, the trace configuration from the device is displayed. The
trace corresponds to an installed trace.
Double-click on the icon to open the "Time diagram" tab of the installed trace.
"Measurements" folder
The "Measurements" folder displays long-term trace measurements .
The "Measurements" folder in the "Long-term traces" folder behaves like the
"Measurements" folder in the "Traces" folder. User interface - “Measurements” project tree
folder (Page 31)
"Combined measurements" folder
The "Combined measurements" folder displays combined long-term trace measurements
.
Double-click the icon to add a new combined long-term trace measurement.
The "Combined measurements" folder in the "Long-term traces" folder behaves like the
"Combined measurements" folder in the "Traces" folder.
Status
When there is an online connection, the status is displayed in the right-hand column of the
project tree. The status is also displayed as tooltip above the respective icon.
The following table shows the meaning of the icons:
Icon Description
Online and offline configuration are identical
Online and offline configuration are different
Configuration only exists online
Icon Description
Transfer the selected trace configuration to the device
The selected trace configuration is transferred to the device.
Transfer the selected trace configuration from the device
The selected configuration is applied as new trace configuration to the "Traces"
system folder. The current display options are included in the new trace configur
ation.
A trace configuration of the same name is overwritten in the system folder.
Observe on/off
Change of the display between online and offline.
Monitoring is not possible in the Bode diagram.
Note
Once monitor and automatic scaling are activated at the same time, no more
actions can be undone using the "Undo" button.
Note
When an installed trace is first started the display in the curve diagram is set to
automatic scaling by default. Make sure when the recording is restarted that any
Icon Description
changes to the scaling settings are retained. Reactivate automatic scaling manu
ally if necessary in order to monitor the recording.
Activate recording
If the recording of an installed trace is repeated, then the settings relevant for the
display (curve diagram and signal table) are also retained for the new recording.
Note
When a recording is restarted, the previously recorded values are lost.
To save the recorded values, save the measurement in the project (Page 104)
before you activate the recording again.
Deactivate recording
Icon Description
Export combined measurement (only with combined measurements)
The combined measurement is saved with the extension "*.ttcbmx" or "*.csv".
The "*.ttcbmx" format can be imported via the shortcut menu in the project tree.
Select a measurement (only with combined measurements)
The drop down list box contains the imported measurements. Select the desired
measurement to display the configuration.
The trace configuration depends on the device and is described at the respective device.
The curve diagram displays the selected signals of a recording. Analog signals are displayed in
the upper curve diagram. Binary signals are displayed as bit track in the lower diagram. You
can adjust the display of the signals in the signal table (Page 45) and with the toolbar of the
curve diagram.
With project trace, the curve diagram displays a finished or canceled recording. Under the
device you can monitor any recording.
The scale in the diagram applies to the selected (highlighted in gray) signal in the legend. The
legend can be moved and its size can be adjusted with the mouse.
The icon shows the device trigger time with a vertical line.
A drop-down list for selecting the unit is available below the curve for the "Time (relative)"
setting for the time axis. The "Automatic" setting automatically adjusts the unit based on the
displayed time range.
NOTE
Non-interpretable data types
Some data types require a defined format, e.g. the S7 data type LTime_of_Day. If this
format is not available, the data type is interpreted as INT.
Show/hide chart legend Showing or hiding of the legend in the curve diagram
and the bit track labels.
Align the chart legend to the left Display of the legend and the bit track labels on the left
side of the curve diagram.
Align the chart legend to the Display of the legend and the bit track labels on the right
right side of the curve diagram.
Change background color Changeover between various background colors.
The signal table lists the signals of the selected measurement and provides setting options for
some properties.
Trace settings can be changed on the device in online mode. The changes of the display
options can be applied to the project using the button. Otherwise the changes are
discarded during the switch to offline mode.
If the installed trace is added to the measurements, the current settings of the signal table are
saved in the measurement.
The signals can be sorted using drag-and-drop. The bits of a signal can be resorted within a
signal.
The following table shows the settings and displays of the recorded signals:
Column Description
"Status" Status display
(Only project trace
in online mode)
No online connection
Configuration only exists offline
Online and offline configuration are different
No access right
Online and offline configuration are identical
Signal or error
symbol
Signal
Failsafe signal
Signal from a data block
Signal from a failsafe data block
Calculated signal (formula)
Error in the formula of the calculated signal
Selection for display in the curve diagram - a maximum of 16 signals can be selec
ted.
The point indicates that at least one bit has been selected for display as bit track for
the signal in the bit selection.
"Signal reference" Automatically generated number of the signal
(only trace) The signal are accessed via the signal reference in the formulas.
"Device" Display of the device name
(project trace only)
Column Description
"Name" Display of the signal name
A click on the name of a displayed signal updates the scale in the curve diagram.
You can enter a name for a calculated signal in the last line without a signal sym
bol. The calculated signal is entered with its name.
"Measurement" Display of the measurement
(Only combined Shows the name of the measurement to which the signal belongs.
measurements)
Open bit selection
Individual bits can also be selected for the following data types for display as a bit
track in the lower curve diagram:
• Byte, Word, DWord, LWord
• SInt, USInt, Int, UInt, DInt, UDInt, LInt, ULInt
Example of an opened bit selection for the DWORD data type:
Select or deselect the relevant bit for display by clicking the icon.
Bode Automatically generated Bode signals
Bode signals are automatically generated for amplitude and phase after entering a
Bode formula for a signal. Click on the arrow to display the Bode signals.
"Data type" Display of the data type
"Display format" Display format of the signal
The display formats supported for the signal are offered for selection.
A display format suitable for the data type is set with "Default".
"Address" Display of the address of the signal
The field remains empty with optimized / type correct tags.
"Formula" Display or entry of a formula
(only trace) A formula can contain mathematical functions with numbers and signals. Use the
formula editor to conveniently create formulas.
Call of the formula editor for calculated signals
Click on the icon to open the formula editor.
"Color" Display and setting option for the color of the signal
"Scaling group" Display or input of the scaling group name for one scaling group
The Y-scales are scaled identically for all signals of one scaling group.
Enter an identical scaling group name for those signals that are to be scaled identic
ally.
Remove signals from the scaling group by deleting the scaling group name.
The scaling groups are saved via the function "Use current view as standard" (but
ton ).
Notes
You cannot group binary signal events.
In hex display format, group only the signals with a format compatible to the sign
for the display.
This setting is not available for the Bode diagram.
Column Description
Gray field for Move the cursor over the gray field or the chain icon ( or ) to add the signal
chain icon to a scaling group or delete the signal from the scaling group.
Clicking the chain icon adds the signal to a scaling group or creates a new scal
ing group.
Clicking the chain icon removes the signal from the scaling group.
For a selected signal with scaling group, the chain icon displays all signals of
the same scaling group.
Input field The input field displays the scaling group name.
As an alternative to the chain icon, you can assign or delete a group name via text
input in this field.
"Min. Y-scale" Display or input of the minimum value for the scaling of the signal
"Max. Y-scale" Display or input of the maximum value for the scaling of the signal
"Y(t1)" Display of the value at the position of the first measurement cursor
"Y(t2)" Display of the value at the position of the second measurement cursor
"ΔY" Display of the value difference between the first and the second measurement
cursor
Selection of the automatic scaling of the value axis for the signal
When the check box is selected, the minimum and maximum values for scaling the
signal are adjusted so that all values are displayed for the currently displayed time
range.
The button on the toolbar of the curve diagram activates automatic scaling for
all scalable signals.
"Unit" Display of the unit
For example, for unit-based values from technology objects
"Comment" Display and input option for a comment about the signal
See also
Use of the signal table (Page 108)
Using the signal group in the signal table (Page 109)
The formula editor provides various mathematical functions for analyzing signals. Open the
editor in the signal table by clicking .
Field/Button Description
"Name" Display and input of the name for the created formula
The name must be unique and only contain characters that are allowed in Windows
file names.
"Data type" Display of formula data type
The data type is pre-assigned with a floating-point number of LREAL type and can
not be changed.
"Unit" Display and input of a unit
Freely specified user-defined unit.
Drop-down list Selection of the signals
with signals The drop-down list contains the signals from the signal table and inserts a selected
signal into the formula.
1) The constant
Field/Button Description
"Formula entry" Text field to display and enter the formula
Create a formula by typing into this text box or by using the buttons for the math
ematical functions.
Signals can be referenced in the text box using the signal reference with a prefixed
$ character or the name in double quotes in the formula. Mixed input is possible.
Restrictions:
• Bits from a bit selection (e.g. below the INT data type) are not allowed in the
formula.
• Do not use any signal references to a tag in the formula that start with "$", for
example, $0("$0").
Mathematical
functions
+ Addition
- Subtraction
* Multiplication
/ Division
() Brackets
Grouping expressions
SQR Square
SQRT Square root
ABS Absolute value
Calculates the size of a number.
Examples
ABS(5) → 5
ABS(-3) → 3
ABS(-3.14) → 3.14
MOD Modulo
Calculates the residual value of a division
Examples
MOD(5,3) → 2
MOD(3.14,3) → 0.14
REC Reciprocal value (1/x)
DIFF 1) Numerical differentiation
Examples
Formula: DIFF($0,SAMPLETIME)
INT 1) Numerical integration
Examples
Formula: INT($0,SAMPLETIME)
RMS 1) Quadratic mean
The squares of all measured values are totaled and then divided by the number of
measured values. The quadratic mean is the square root of this value.
Examples
Formula: RMS($0,SAMPLETIME)
AV Mean value filter from 1st to 5th order
If the specification of an order is missing, the mean filter of the 1st order is used.
Examples
AV($0,1) → Mean filter 1st order
AV($0,5) → Mean filter 5th order
1) The constant
Field/Button Description
π Mathematical constant Pi
AM Arithmetic mean
The arithmetic mean is a moving average over five samples.
DIF Simple subtraction with mean filter from 1st to 5th order
If the specification of an order is missing, simple subtraction is performed with a
1st order filter.
Examples
DIF($0,1) → Single subtraction with 1st order filter
DIF($0,5) → Single subtraction with 5th order filter
DIF($0) → Single subtraction with 1st order filter
Example: Calculate an acceleration curve from a velocity signal
$0: Velocity signal in meters per second
Cycle time of the constant cycle velocity recording: 1 ms
Formula: DIF($0,1)/0.001
Unit: m/s2
DIF2 Double subtraction with mean filter from 1st to 5th order
If the specification of an order is missing, then double subtraction is executed with
a 1st order filter.
Examples
DIF2($0,1) → Double subtraction with 1st order filter
DIF2($0,5) → Double subtraction with 5th order filter
DIF2($0) → Double subtraction with 1st order filter
Example: Calculate an acceleration curve from a position sequence
$0: Position sequence in meters
Cycle time of the constant cycle position recording: 1 ms
Formula: DIF2($0,1)/SQR(0.001)
Unit: m/s2
FFT Fast Fourier transform
A calculated signal as input parameter or calculations for the parameters are not
permitted.
Additional calculations with the FFT function are not permitted.
Mandatory parameters
An analog signal must be specified for the input parameter.
Permitted data types:
SINT, INT, DINT, LINT, USINT, UINT, UDINT, ULINT, REAL, LREAL, BYTE, WORD,
DWORD, LWORD
Optional parameters
The following parameters can be optionally specified:
• RemoveDirectCurrent
Remove direct current component
Data type Bool
If the parameter is not set, "true" is assumed as the default (Remove direct cur
rent component).
• RangeStart
Index of the first sample to be displayed.
The index of the samples is displayed on the X axis in the FFT diagram.
If the parameter is not set, the first sample of the measurement is assumed as
the default.
• RangeEnd (RangeStart required)
Index of the last sample to be displayed.
The index of the samples is displayed on the X axis in the FFT diagram.
If the parameter is not set, the last sample of the measurement is assumed as
the default.
Valid examples
Field/Button Description
$0=Input signal
FFT($0,true)
FFT($0,0,1000)
FFT($0,false,0,1000)
Invalid examples
FFT($0,20)
FFT($0,0)
FFT($0,1000,0)
FFT($0)+10
FFT($0)+SQRT($5)
BODE Bode diagramwith amplitude and phase
Calculated signals as parameter or calculations for the parameters are not permit
ted.
Additional calculations with the Bode function are not permitted.
Mandatory parameters
Analog signals must be specified for the parameters of the input and output signal.
Permitted data types for the parameters:
SINT, INT, DINT, LINT, USINT, UINT, UDINT, ULINT, REAL, LREAL, BYTE, WORD,
DWORD, LWORD
Optional parameters
The following parameters can be optionally specified:
• RangeStart
Index of the first sample to be displayed.
The index of the samples is displayed on the X axis in the Bode diagram.
If the parameter is not set, the first sample of the measurement is assumed as
the default.
• RangeEnd (RangeStart required)
Index of the last sample to be displayed.
The index of the samples is displayed on the X axis in the Bode diagram.
If the parameter is not set, the last sample of the measurement is assumed as
the default.
Valid examples
$0=input signal, $1=output signal
BODE($0,$1)
BODE($0,$1,0,1000)
Invalid examples
BODE($0,20)
BODE($0,$1,0)
BODE($0,$1,1000)
BODE($0+1,0)
BODE($0,$1)+10
BODE($0,$1)+SQRT($5)
"Show signal Display of the signal names
name" If the check box is selected, the signal names in the formula are displayed instead
of the signal references.
"Validate" Check the validity of the formula
"Result of Result of validation
validation" Displays the result of the validation and indicates errors and error locations.
"OK" Transfer the entries in the formula editor
"Cancel" Discard the entries in the formula editor
1) The constant
NOTE
The functions DIF, DIF2, DIFF, AM, RMS, AV and INT can only process one recorded signal as
argument. Not all invalid formulas are marked as errors.
The Measurements tab displays the individual measurements and among other things
provides the setting options for synchronization.
The following table shows the settings and displays for the measurements:
Column Description
Alignment of the measurements (not available for the Bode diagram)
"Trigger/meas Alignment of the measurements in accordance with the trigger or measurement
urement point" point
The individual zero point for the measurement is predefined in the table under the
"Alignment" column.
"Time stamp Alignment of the measurements in accordance with their time stamp
(absolute The signals are aligned in accordance with the time from the absolute time stamp.
time)"
Table columns
Static display of the measurement icon
"Name" Display and change options for the measurement name
The name must be a unique one and can be changed.
"Alignment" Alignment of the measurement (only adjustable with the "Trigger/measurement
point" check box activated)
Determines the individual zero point for a measurement. All signals for the meas
urement are displayed in relation to this zero point.
The following settings are possible:
• Trigger
• First sample after the trigger event
• First sample
• Last measurement point
This setting is not available for the Bode diagram.
Column Description
"Offset" Offset related to the time axis
Moves the measurement left or right by the offset stated on the time axis.
The offset can also be transferred via the clipboard to the cell from the ΔX value of
the measurement cursor. See Aligning measurements with measurement cursor
(Page 112).
This setting is not available for the Bode diagram.
"Time stamp" Display of the trigger time
"Comment" Display and input option for a comment about the signal
The FFT diagram shows the frequency spectra of measured signals calculated with the FFT
formula.
The Y axis shows the amplitude. The display of values on the Y axis is linear.
The X axis represents the frequency in Hertz. You can set the display of values on the X axis as
linear or logarithmic.
Below the curve diagram, you can change the partitioning of the X axis with the options
"Linear" and "Logarithmic".
See User interface - signal table (Page 45) in the section User interface - Time diagram tab.
See Interface - Formula editor (Page 48) in the section User interface - Time diagram tab.
The Bode diagram shows the amplitude and phase of the transfer function as a function of
the frequency. The X axis represents the frequency in Hertz.
The Y axis shows the following values:
• Amplitude response in the top curve diagram, values linear in decibels
• Phase response in the bottom curve diagram, values linear in degrees
The following requirements must be met for the calculation and display of the Bode diagram:
• The recording cycle must be constant.
• The input signal must contain at least three samples.
The curve diagram is calculated using two measured signals with the Bode formula in the
formula editor and displayed.
Below the curve diagram, you can change the partitioning of the X axis with the options
"Linear" and "Logarithmic".
See User interface - signal table (Page 45) in the section User interface - Time diagram tab.
See Interface - Formula editor (Page 48) in the section User interface - Time diagram tab.
The Signal selection tab shows the signals for all measurements and allows signals that are
presented in the signal table of the diagram to be preselected.
The following table shows the settings and displays for the table:
Column Description
Static display of the signal icon
"Available in the diagram" Selection for the display in the curve diagram
When the selection is activated the signal is transferred to the sig
nal table for the curve diagram.
“Measurement” Display of the measurement to which the signal belongs
“Name” Display of the signal name
“Data type “ Display of the data type
"Address" Display of the address (not for symbolic tags)
"Scaling group" Display of the scaling group name
"Comment" Display of a comment on the signal
You will find further information on the specific settings in User interface - signal table (Page
45).
1SFUSJHHFSUJNFQFSJPE
'JSTUTBNQMF -BTUTBNQMF
U
"DUJWBUJPOUJNF 5SJHHFSUJNF
NOTE
Analysis of measurements with sporadically occurring recording condition
When evaluating your measurements, keep in mind that the recording condition between the
activation time and the trigger time may not have been fulfilled.
Setting/display Description
Horizontal measurement cursor
Y1 Position of first measurement cursor
The value states the position in relation to the scale of the signal currently selec
ted.
You also have the option of specifying a new position for the measurement
cursor in this entry field for moving with the mouse.
Y2 Position of the second measurement cursor
The value states the position in relation to the scale of the signal currently selec
ted.
You also have the option of specifying a new position for the measurement
cursor in this entry field for moving with the mouse.
ΔY Display of the position difference between the first and the second measure
ment cursor
Vertical measurement cursor
Setting/display Description
t1 Position of first measurement cursor
You also have the option of specifying a new position for the measurement
cursor in this entry field for moving with the mouse.
t2 Position of the second measurement cursor
You also have the option of specifying a new position for the measurement
cursor in this entry field for moving with the mouse.
Δt Display of the position difference between the first and the second measure
ment cursor
Intersection points with selected signal
Y(t1) Display of the value at the position of the first measurement cursor
Y(t2) Display of the value at the position of the second measurement cursor
ΔY Display of the value difference between the first and the second measurement
cursor
Mathematical analysis in the range of the measurement cursor·[t1;t2] for the selected signal (not for
Bode diagram)
AM(Y) Mean
The arithmetic mean is calculated for the range between the vertical measure
ment cursors.
INT(Y) Integral
The integral is calculated for the range between the vertical measurement curs
ors.
RMS(Y) RMS value
The root-mean square (RMS value) is calculated for the range between the ver
tical measurement cursors.
See also
User interface - curve diagram (Page 38)
Icon Description
Generate snapshot of the current view
Saves the current view as a snapshot in the "Timing diagram" or "Bode diagram"
tab.
The following table shows the settings and displays:
Column Description
Static display of the snapshot symbol
Project tree
Manage and create project traces and measurements directly in the project tree and via shortcut-menu
commands.
Working area
④ Configuration tab
Configuration of the participating devices and signals for the project trace.
Inspector window⑦
Device-specific configuration of the recording duration, trigger condition and signal selection.
Display of general information about the project trace.
5.2.1 User interface - Project tree folder "Cross-device functions" - "Project traces"
Project trace configurations and measurements are shown in the system folder "Project
traces".
Double-click a project trace to open the corresponding "Configuration" or "Time diagram" tab
in the working area.
Icon Description
Adding a project trace configuration
Double-click the symbol to add a new project trace configuration and open the
"Configuration" tab.
Project trace configuration
Double-click the icon to open the "Configuration" or "Time diagram" tab.
"Measurements" folder
The folder contains combined measurements that were added using the button. The
measurements are compatible with the combined measurements within the devices. The
configurations of the individual measurements are displayed when the combined meas
urement is copied or moved to the corresponding folder of a device.
Measurement
Double-click the icon to open the "Time diagram" tab.
NOTE
Shortcut menu commands for the "Measurements" system folder
The shortcut commands are described in User interface - "Combined measurements" project
tree folder (Page 33).
You can export measurements of the project trace as combined measurement and import
them again under a device. For the import, use the shortcut menu of the system folder
"Combined measurements" under the device.
Icon Description
Transferring the trace configurations to the devices
The trace configurations are transferred to the participating devices.
Display of the status overview
Shows the status overview of the participating devices (Page 75).
Establishing an online connection
The online connection to the participating devices is established.
Activate recording
If the recording of an installed trace is repeated, then the settings relevant for the
display (curve diagram and signal table) are also retained for the new recording.
You cannot redo an interrupted recording.
Note
When a recording is restarted, the previously recorded values are lost.
Icon Description
To save the recorded values, save the measurement in the project before you
activate the recording again.
Deactivate recording
Deactivates the traces in all devices that can be reached online.
Delete traces from devices
Deletes the traces from the participating devices that can be reached online.
Transferring measurements from the devices to the project
The measurements are added to the system folder "Measurements".
Note
Only the data loaded from the devices is saved. This data is displayed in the curve
diagram. If necessary, wait until the display is updated.
Column Description
- Display of whether there is an error for the project trace in the participat
ing device or whether the trace configuration is faulty.
A tooltip above the symbol displays information about the cause of the
error.
Meaning in offline mode
• Configured trace is faulty
Meaning in online mode
• Configured trace is faulty
• Recording was interrupted
• Connection error
Device Display of the device name
Device status Status display of the online connection
Offline
Connect or disconnect
Online
Trace status Status display of the devices
If there is an existing online connection, a symbol indicates the status of
the trace configuration for the corresponding device. In addition, the
trace status for the device is displayed, for example, "Monitoring".
Note
If only one device in the project trace shows the "Monitoring" trace
status, the project trace is not working correctly; there is no time syn
chronization between the devices.
Column Description
Online and offline configuration are identical
Online and offline configuration are different
Configuration only exists offline
The "Configuration" tab is used to define the participating devices for the project trace. You
configure the device-dependent trace configuration and the properties of the project trace in
the Inspector window (Page 78).
The displayed trace configuration is always the offline configuration, even with an existing
online connection. Transfer changes of the trace configurations to the devices using the
button.
The following table shows the settings and displays of the participating devices:
Column Description
Device Input of the device name
Button to open the device selection table
The button is displayed when the table line is selected. Clicking the sym
bol opens a table which offers possible devices for selection. The selected
device is displayed in the input field.
Column Description
Trigger The symbol indicates which devices can activate a trigger.
Configure this device-dependent setting in the "Properties" tab of the
Inspector window.
Trace sample event Display of the trace sample event
In the "Properties" tab of the Inspector window, configure in which cycle
(OB with a SIMATIC CPU) the recording should take place.
Cycle time Display of the time cycle resulting from the selection of the trace sample
event
Record every Input of the reduction ratio
Number of samples Input of the number of samples to be recorded
The recording duration is adjusted according to the input.
Recording duration Input of the recording duration
The number of samples is adjusted according to the input.
Errors Display of an error in the trace configuration
A tooltip above the symbol displays information about the cause of the
error.
Configured traces with the Error status cannot be transferred to the
device.
The following table shows the settings and displays of the recorded signals:
Field Description
Name Input field for the name of the project trace
Author Input field for the name of the author
Comment Input field for a comment.
Trace ID Display of the Trace ID
Using this ID, you can distinguish, for example, between several active project
traces.
Port number Input field for the port number of the connection
The devices participating in the project trace communicate via this port. The num
bers must be identical and unique on all devices.
Observe also the instructions for assigning port numbers in the TIA Portal informa
tion system.
Project tree
Manage and create long-term project traces and measurements directly in the project tree and via
shortcut-menu commands.
Workspace
④ Configuration tab
Configuration of the participating devices and signals for the long-term project trace.
Inspector window⑦
Device-specific configuration
Display of general information for the long-term project trace
Icon Description
Add long-term project trace configuration
Double-click the icon to add a new long-term project trace configuration and open the
"Configuration" tab.
Long-term project trace configuration
Double-click the icon to open the "Configuration" or "Time diagram" tab.
"Measurements" folder
The folder contains combined measurements that were added using the button. The
measurements are compatible with the combined measurements within the devices. The
configurations of the individual measurements are displayed when the combined meas
urement is copied or moved to the corresponding folder of a device.
Measurement
Double-click the icon to open the "Time diagram" tab.
NOTE
Shortcut menu commands for the "Measurements" system folder
The shortcut commands are described in User interface - "Combined measurements" project
tree folder (Page 33).
6.3 Workspace
Icon Description
Transferring the trace configurations to the devices
The trace configurations are transferred to the participating devices.
Display of the status overview
Shows the status overview of the participating devices (Page 83).
Establishing an online connection
The online connection to the participating devices is established.
Activate recording
If the recording of a trace is repeated, then the settings relevant for the display
(curve diagram and signal table) are also retained for the new recording.
You cannot redo an interrupted recording.
Note
When a recording is restarted, the previously recorded values are lost.
To save the recorded values, save the measurement in the project before you
activate the recording again.
Icon Description
Deactivate recording
Deactivates the traces in all devices that can be reached online.
Delete traces from devices
Deletes the traces from the participating devices that can be reached online.
Add to measurements
The recording is added as a measurement in the system folder
"Measurements".
Column Description
- Display of whether there is an error for the long-term project trace in the
participating device or whether the trace configuration is faulty.
A tooltip above the symbol displays information about the cause of the
error.
Meaning in offline mode
• Configured trace is faulty
Meaning in online mode
• Configured trace is faulty
• Recording was interrupted
• Connection error
Device Display of the device name
Device status Status display of the online connection
Offline
Connect or disconnect
Online
Trace status Status display of the devices
If there is an existing online connection, a symbol indicates the status of
the trace configuration for the corresponding device. In addition, the
trace status for the device is displayed, for example, "Monitoring".
Note
If only one device in the long-term project trace shows the "Monitoring"
trace status, the long-term project trace is not working correctly; there is
no time synchronization between the devices.
Online and offline configuration are identical
Online and offline configuration are different
Configuration only exists offline
The "Configuration" tab is used to define the participating devices for the long-term project
trace. You configure the device-dependent trace configuration and the properties of the long-
term project trace in the Inspector window (Page 85).
The displayed trace configuration is always the offline configuration, even with an existing
online connection. Transfer changes of the trace configurations to the devices using the
button.
The following table shows the settings and displays of the participating devices:
Column Description
Device Input of the device name
Button to open the device selection table
The button is displayed when the table line is selected. Clicking the sym
bol opens a table which offers possible devices for selection. The selected
device is displayed in the input field.
The number of devices that can be selected in the table is limited to 5.
After 5 devices have been selected, this button is available only in read
mode.
Column Description
Cycle time Display of the time cycle resulting from the selection of the trace sample
event
Record every Input of the reduction ratio
Target path Display of the folder used for recording the long-term project traces.
Errors Display of an error in the trace configuration
A tooltip above the symbol displays information about the cause of the
error.
Configured traces with the Error status cannot be transferred to the
device.
The following table shows the settings and displays of the recorded signals:
Field Description
Name Input field for the name of the long-term project trace
Author Input field for the name of the author
Comment Input field for a comment.
Target path Display of the folder used for storing the long-term project trace
Trace ID Display of the Trace ID
Using this ID, you can distinguish, for example, between several active long-term
project traces.
Requirement
A device is configured that supports the trace and logic analyzer function.
Creating a trace
The following figure shows the project tree with the "Traces" system folder below the
device:
Procedure:
1. Double-click the "Add new trace" entry.
A new trace configuration is created and the "Configuration" tab opens in the working
area.
2. Adapt the name of the trace configuration by clicking the text.
Selecting signals
The following figure shows the configuration of the signals:
Procedure:
1. Select the signals to be recorded in the "Signals" area.
Or:
2. Drag one or more signals, e.g. from a tag table, and drop them in the signal table.
Procedure:
1. Under "Sampling", configure the recording conditions for the measurement.
Procedure:
1. Configure the trigger mode and the condition for the selected trigger.
Procedure:
1. Switch to the "Time diagram" tab.
2. Set the desired display options in the curve diagram and in the signal table.
Activating a recording
Procedure:
1. Click .
Procedure:
1. Wait until the "Recording" or "Recording completed" status is displayed in the status display
of the trace.
2. Switch to the "Time diagram" tab.
3. Click the icon of a signal in the signal table.
The individual bits of the signal are offered for display as a bit track.
4. In the signal table, select or deselect the individual signals and bits for display with the
icon.
See also
User interface - trace toolbar (Page 35)
Requirement
A device that supports the long-term trace function is created in the TIA Portal project.
Procedure:
1. Double-click the "Add new long-term trace" entry.
A new long-term trace configuration is created and the "Configuration" tab opens in the
workspace.
2. Adapt the name of the trace configuration by clicking the text.
Selecting signals
The following figure shows the configuration of the signals:
Procedure:
1. Under "Sampling", configure the recording conditions for the measurement.
Activating recording
Procedure:
1. Click the button.
The "Recording in progress" status is displayed.
The recording is saved in the target path as a .csv file.
NOTE
Note that problems with online access between the PG and the CPU can result in errors or
even failure of the recording.
If possible, connect the PG directly to the CPU.
You can also find more information about long-term trace recording as a csv file in the
sectionLong-term trace recording (Page 119).
Deactivating recording
Procedure:
1. Click .
The "Stopped" status is displayed.
Requirements
• Two S7-1500 CPUs with firmware version V2.8 or higher are configured.
• The general requirements for the project trace (Page 23) are fulfilled.
Procedure:
1. Double-click the "Add new project trace" entry.
A new project trace configuration is created and the "Configuration" tab opens in the
working area.
2. Adapt the name of the project trace configuration by clicking the text.
Adding devices
The following figure shows the adding of the devices.
Procedure:
1. Select the devices in the "Participating devices" area.
Procedure:
1. Select a device in the "Participating devices" area.
2. Select the "Properties" tab in the Inspector window.
3. Select the signals to be recorded in the "Signals" area.
Or:
4. Drag one or more signals, e.g. from a tag table, and drop them in the signal table.
5. Configure the sampling.
6. Configure the trigger mode and the condition for the selected trigger.
7. Redo the configuration from step 1 for each participating device.
For "PLC_2", "Trigger from another Device" is configured as trigger mode in the example
shown here.
Activate recording
Procedure:
1. Click .
Displaying recordings
Procedure:
1. In the status overview of the participating devices, check whether the required recordings
have already been completed.
2. Switch to the "Time diagram" tab.
Requirements
• Two S7-1500 CPUs with firmware version V2.8 or higher are configured.
• The general requirements (Page 25) for the long-term project trace are fulfilled.
NOTE
In read-only mode, the long-term project trace option is disabled or can only be used with
restrictions.
Procedure:
1. Double-click on the "Add new long-term project trace" entry.
A new long-term project trace configuration is created and the "Configuration" tab opens
in the workspace.
2. Adapt the name of the long-term project trace configuration by clicking the text.
Adding devices
The following figure shows the adding of the devices.
Procedure:
1. Select the devices under the "Participating devices".
Procedure:
1. Select a device in the "Participating devices" area.
2. Select the "Properties" tab in the Inspector window.
3. Select the recording conditions in the "Signals" area.
Or:
4. Drag one or more signals, e.g. from a tag table, and drop them in the signal table.
5. Configure the recording conditions.
6. Redo the configuration from step 1 for each participating device.
Activating recording
Procedure:
1. Click the button.
7.2 Recording
Requirement
• There is an online connection to the device.
• There is a trace in the device.
• The trace in the device is displayed in the working area.
• The button is activated for viewing the displayed trace.
NOTE
When a recording is restarted, the previously recorded values are lost.
To save the recorded values, save the measurement in the project (Page 104) before you
activate the recording again.
7.2.2 Transferring the trace configuration from the device to the project
Requirement
• There is an online connection to the device.
• There is a trace in the device.
Procedure
To transfer a trace configuration to the project, proceed as follows:
1. Open a trace in the device.
2. If required, activate the button for viewing.
3. Click to transfer the trace configuration from the device.
Result
The configuration is taken over as new trace configuration in the "Traces" system folder.
The current display options are included in the new trace configuration.
A trace configuration of the same name is overwritten in the system folder.
Requirement
• There is an online connection to the device.
• There is a trace with recording in the device.
• The installed trace data must have been displayed at least once in the curve diagram. The
recording data is loaded from the device for the display.
Procedure
To save a recording in the project, proceed as follows:
1. Open the trace in the device with the recorded data.
2. If required, make sure that the current data is loaded from the device by activating the
button.
3. After activating the button wait until all data has been loaded and displayed.
4. Click .
The measurement is added to the "Measurements" system folder.
5. Save the project in the TIA Portal.
Requirements
• There is an online connection to the device.
• There is a trace in the device.
Procedure
To monitor the progress of a fast signal, proceed as follows:
1. Select a trace in the device.
2. Double-click the selected trace.
3. Click for monitoring.
4. Click to automatically repeat the recording.
7.3 Analyzing
Requirements
• An ongoing recording is displayed in the "Time diagram" tab.
Procedure
To analyze a certain time range for an ongoing recording, follow these steps:
1. Click .
The data recorded up to now is added to the measurements.
The current recording is not affected by this and continues running uninterrupted.
Requirements
• An installed trace or a measurement has been selected for display.
• The button is activated to monitor an installed trace.
• The "Time diagram" tab is open in the working area.
NOTE
A measurement of a trace in the device can be generated at any time. In this way, you can
analyze the data recorded until that point as static measurement.
Requirements
• An installed trace or a measurement has been opened in the "Time diagram" tab.
• The button is activated to monitor an installed trace.
• For the display of individual bits as a bit track:
at least one recorded signal supports the display as a bit track.
NOTE
Saving scaling groups
The scaling groups can be saved individually for each measurement via the "Use current view
as standard" function ( button).
If the scaling groups and the project are not saved, then the scaling groups created will be
lost when the "Time diagram" tab is closed.
Requirements
• An installed trace or a measurement is displayed.
• The button is activated to monitor an installed trace.
• The "Time diagram" tab is open in the working area.
• There are at least two signals in the signal table that are not of the BOOL type.
Or:
1. Click in the text field of the "Scaling group" column for a signal to be grouped.
2. Enter a name for the group.
3. Enter the same group name in the respective text fields for further signals or select the
group name via the drop-down list.
The Y-scales of the grouped signals are scaled with the values of the signal that was selected
first. Changes to a scale value always affect the entire group.
Or:
1. Click the text field for the required signal in the "Scaling group" column.
2. Press the <Del> key.
Or:
1. Select the respective text field in the "Scaling group" column for several signals using the
<Shift> and <Ctrl> keys.
2. Press the <Del> key.
The signals are removed from the scaling group or the scaling group is deleted.
Combined measurements can be applied in the project tree with a comparison function for
different measurements.
The following instructions describe how you can create a combined measurement under the
"Combined measurements" system folder
Requirement
A device is configured that supports the trace and logic analyzer function.
Procedure
To apply an combined measurement, proceed as follows:
1. Select one or more measurements in the "Measurements" system folder.
2. Drag the measurements to the "Combined measurements" system folder.
A new combined measurement is created. This contains copies of the selected
measurements.
Requirement
• An combined measurement is created or is created implicitly by dragging the
measurements to the system folder "Combined measurements".
See also Apply combined measurement (Page 110).
Align measurements
Proceed as follows to align the time axis for the measurements for the comparison:
1. Click on the "Measurements" tab within the "Time diagram" tab.
2. Select the alignment for the measurements via the check box.
3. Adjust the alignment and if necessary set an offset for the alignment of the individual
measurements.
The measurements are aligned with each other accordingly on the time axis.
(The alignment of measurements with the measurement cursor is described in Aligning
measurements with measurement cursor (Page 112).)
Requirement
• An combined measurement is applied.
• Measurements for comparison are added to the combined measurement.
• Signals of the measurements for the signal table are selected.
• The "Time diagram" tab for the combined measurement opens in the working area.
NOTE
When inserting the position difference as the offset make sure that you also adjust the
leading character as necessary.
Data types
A selection of elementary and composite data types can be recorded. The availability of the
individual data types depends on the device used:
For more information, see the help under "Overview of valid data types".
The following table lists the supported data types:
NOTE
Downloading a configuration to the device in the "STOP" operating state
Note that after downloading a configuration in the "STOP" operating state, you must check
the installed traces and, if required, reactivate them or transfer them again.
NOTE
If trigger tags that affect the address are changed, the trace configuration must also be
transferred to the device again.
This is the case for example, when a data block is shortened or extended or the data type is
changed.
NOTE
The measured values are recorded at the end of the OB after the processing of the user
program.
NOTE
Trace sample event with Motion Control
The time reference for the measured values is determined differently if a Motion Control
organization block is configured as trace sample event and the device is time synchronized
via IRT. This behavior is described in Time synchronization with Motion Control (Page 116).
See also
Time synchronization of SIMATIC S7 CPUs
(https://support.industry.siemens.com/cs/ww/en/view/82203451)
5 5 5 5 5 5 5
T0 to T6 IRT cycle
T0 Start of application cycle n
T3 Start of application cycle n+1
T6 Start of application cycle n+2
NOTE
OB61-OB63 as trace sample event
With these OBs as configured trace sample event, the system time is used independently of
the communication. The recording behavior is the same as for devices without IRT
communication.
To facilitate the evaluation with absolute time, synchronize the clock times of the devices.
NOTE
Measured values with identical timers
An overflow of the recording level (such as MC-Interpolator OB in the example above) can
result in measured values with identical time stamp.
NOTE
Maximum number of signals per trace configuration exceeded
Signals that exceed the maximum number of signals in the trace are marked in the
configuration.
You cannot load a trace configuration with more than the maximum number of signals into
the device.
The maximum number of signals is exceeded during the following actions:
• Copy: A trace configuration with more than 16 signals is copied into a device that only
supports 16 signals per trace configuration.
• Device replacement: A device in which a trace configuration with more than 16 signals is
created is replaced with a device that supports a maximum of 16 signals per trace
configuration.
To load the trace configuration into the device, delete the excess, selected signals.
The same quantity structures apply for the project trace as for the devices.
Example CPU 1516-3 PN/DP
• Maximum of 7281 samples for 16 signals from PLC tags of the DWORD data type
• Maximum of 21844 samples for 16 signals from PLC tags of the BOOL data type
• Maximum of 58250 samples for 1 signal from a PLC tag of the BOOL data type
You can also find more information in the form of FAQs under the ID 102781176
(http://support.automation.siemens.com/WW/view/en/102781176).
Requirement
You need at least 4 GB free space on your hard disk for recording a long-term trace.
CAUTION
Inconsistent data when opening the .csv file during the recording
Opening the csv file during the recording, for example, with Excel, can result in inconsistent
data. The csv file can become unusable.
Do not open the csv file during the recording.
NOTE
Displaying the values in Excel
If you open the csv file directly with a double-click, Excel can show the values wrongly
formatted.
To display the values correctly, always import the data from the csv file.
The table below provides an overview of the data formats in which the data types in the csv
file are output:
Data type Output format Example
Bool True = 1 1
False = 0
Int Full decimal number -12
Int -123
DInt -1234
LInt -123456
USInt 12
UInt 123
UDInt 1234
ULInt 123456
Real Scientific notation Hexadecimal for 3.713193E+29 16#7F80_0000
Infinite/Denormal/NaN
LReal
Byte Full decimal number 12
Word 123
DWord 1234
Lword 12345
Date YYYY-MM-DD 1970-01-01
Time Seconds without measurement unit 62.78
LTime 0.00307
Time Of Day HH:MM:SS.ms (ms up to 3 places) 00:00:54.078
Long Time Of Day HH:MM:SS.ms (ms up to 9 places) 00:00:00.000033566
Long Date Time YYYY-MM-DD-HH:MM:SS.ms (ms up to 9 places) 1970-01-01-00:00:00.000033566
Requirement
To record a long-term project trace you need at least 4 GB free space on your hard disk.
PLC_1_Long-term Trace_20220721_120422_356_0002.csv
CAUTION
Inconsistent data when opening the .csv file during the recording
Opening the csv file during the recording, for example, with Excel, can result in inconsistent
data. The csv file can become unusable.
Do not open the csv file during the recording.
NOTE
Displaying the values in Excel
If you open the csv file directly with a double-click, Excel can show the values wrongly
formatted.
To display the values correctly, always import the data from the csv file.
The table below provides an overview of the data formats in which the data types in the csv
file are output:
Data type Output format Example
Bool True = 1 1
False = 0
Int Full decimal number -12
Int -123
DInt -1234
LInt -123456
USInt 12
UInt 123
UDInt 1234
ULInt 123456
Real Scientific notation Hexadecimal for 3.713193E+29 16#7F80_0000
Infinite/Denormal/NaN
LReal
Byte Full decimal number 12
The "Signals" area shows a table in which the signals to be recorded are configured for the
selected trace configuration.
Signals can also be inserted in the table using drag-and-drop.
The signals can be sorted using drag-and-drop.
The "Recording conditions" area shows the trigger condition for the selected trace
configuration and in which cycle, how fast and how long the recording is made.
Sampling
The following figure shows an example of the settings for the sampling:
Setting/display Description
"Trace sample event"
Recording level entry Selection of the trace sample event.
field See Recording levels (Page 116)
Address of the OB text Detailed information on the selected trace sample event.
field
"Record every"
Reduction entry field Input of the reduction in relation to the reduction ratio and the unit.
Reduction ratio drop- Selection of the reduction ratio unit
down list The following settings are possible:
• "Cycle"
• "s" for seconds
The setting depends on the recording level selected in "Trace sample
event".
Sampling time text field Display of the sampling time, taking into account the configured reduc
tion and the selected unit (only for constant bus cycle time OBs).
Setting/display Description
"Max. recording duration"
Max. recording duration Displays the calculated maximum recording duration.
text field The "Max. recording duration" depends on how many signals are recor
ded and the data type of these signals.
"Use max. recording Set the recording duration to the maximum value.
duration" When the checkbox is activated, the recording duration is set to the max
imum possible recording duration. The set reduction in the "Record every"
input field is taken into account. If more signals are added, the recording
duration will be adjusted.
More information can also be found in the form of FAQs under the ID
102781176
(http://support.automation.siemens.com/WW/view/en/102781176).
"Recording duration"
Recording duration entry Input of the recording duration in relation to the selected unit.
field If the "Recording duration = max. recording duration" checkbox is activ
ated, entries are overwritten by the value displayed in "Max. recording
duration".
Unit drop-down list Selection of the unit for the recording duration.
The following settings are possible:
• "Samples"
The maximum number of samples recorded is the number for which
parameters are assigned under recording duration.
• "s" for seconds
The setting depends on the recording level selected in "Trace sample
event".
Calculated recording Display of the calculated recording duration (only for constant bus cycle
duration text field time OBs)
Trigger
The following figure shows an example of the settings for the trigger:
Setting/display Description
"Trigger mode" Selection of the trigger mode.
Trigger mode drop-down The following settings are possible:
list • "Record immediately"
Recording is started immediately after the activation in the device.
The global trigger is triggered immediately, regardless of the operat
ing state of the device.
• "Trigger on tag"
The recording is made as soon as the installed trace is activated and
the configured trigger condition is fulfilled.
• "Monitor without trigger" (traces)
The recording takes place as soon as the installed trace is activated
and is not automatically terminated. After termination by the user,
there are a maximum of as many measured values in the device as
were configured under recording duration.
This trigger mode is particularly suitable for monitoring slow signals
and is only available for traces.
• "Trigger from another device" (project trace)
The global trigger for the start of the trace is triggered by another
device.
This trigger mode is only available for a project trace.
Text field -
"Trigger tag" The "Trigger tag" specifies a signal that triggers the recording.
Trigger tag entry field Enter a signal.
Examples:
• "DataBlock_1".Temperature
• M0.0
• DB1.DBW3
See also Data types for trigger tags (Page 133).
Opens the signal selection table.
Clicking the symbol opens a table offering possible signals for selection as
trigger tag. The selected signal is displayed in the input field.
Trigger tag address text Display of the trigger tag address.
field With purely symbolic signals the field remains empty.
"Event" The events that can be used on this trigger tag are offered for selection
according to the data type of the trigger tag.
The event can be configured provided a valid signal is entered as trigger
tag.
Trigger events drop- Event selection for which the trigger tag is checked.
down list The entries in the drop-down list are described in Section Trigger event
(Page 133).
Text field -
"Value" Configuration of the selected event.
The configuration options differ depending on the format of the trigger
tag and the selected event.
See Trigger event (Page 133).
Setting/display Description
"Pretrigger" "Pretrigger" defines the number of samples that are already recorded
before the actual trigger condition is fulfilled.
If the trigger event occurs immediately or shortly after the recording has
been activated, this may result in a shorter recording duration.
Examples of "Recording duration (a)" = 20 samples and "Pretrigger (b)" =
5 samples:
• Case 1: Trigger event occurs 50 samples after activation of the record
ing
Actual recording duration (a) = 20 samples
• Case 2: Trigger event occurs 2 samples after activation of the record
ing
Actual recording duration (a) = 17 samples
Duration entry field Input of the duration in relation to the selection in the drop-down list.
Unit drop-down list Selection of the unit
The following settings are possible:
• "Samples"
• "s" for seconds
The setting depends on the recording level selected in "Trace sample
event".
Resulting pretrigger dur Display of the calculated "Pretrigger" duration
ation text field The duration is displayed when recording in constant bus cycle time OBs.
Saving measurements on device (memory card) is not possible with project traces.
NOTE
Deleting measurements on device (memory card) (S7-1200)
Do not delete any measurements on the device as long as a trace in the device still generates
new measurements on the memory card.
NOTE
Available memory in the device (memory card)
The memory in the device (memory card) is partly used by system-relevant functions or
reserved for that purpose.
Thus it is not possible for the entire memory to be used for saving measurements.
For further information please refer to the Function Manual Structure and Use of the CPU
Memory (https://support.industry.siemens.com/cs/us/en/view/59193101).
NOTE
Memory requirements upon restart
Following a device reboot the maximum number of measurements saved in the device is the
number configured under "Number of measurements".
With repeated restarts note that the measurements already saved are not overwritten and the
"Number of measurements" configured in the device is saved once again.
Setting/display Description
"Saving of installed Repeat measurement automatically and store in the device retentively
measurements (memory This setting is only possible with "Trigger on tag" trigger mode.
card)" The measurements are stored on the "primary" memory card.
For traces which have been saved in the device (memory card), the
function for automatically repeating the recording is not available.
Note
Only completed measurements are stored in the device. Any recording
deactivated by the user is not saved on the device.
This function is available with the following firmware versions:
• S7-1200 as of V4.2
• S7-1500 as of V2.0
The function is not supported by CPU S7-1500 R/H.
"Number of measurements" Enter the number of reserved measurements on the memory card for this
trace configuration.
The CPU supports a maximum of 999 measurements on the memory
card.
"Memory requirements" Display of the expected memory requirement for all measurements
Displaying memory usage
Shows the tab with the memory usage
"Behavior if number reached" Selection for the behavior once "Number of measurements" is reached
The following settings are possible:
• "Deactivating a recording"
The measurements are repeated until the "Number of measurements
on the card" is reached.
• "Overwrite oldest recording"
The measurements are saved in a ring buffer and repeated until the
user deactivates the recording. Once the number of measurements
exceeds the "Number of measurements on the card" the oldest meas
urement on the card is overwritten in each case.
Note
Note that write processes that are repeated frequently may damage
the card.
Long-term trace
The following figure shows an example of the settings for the saving of installed
measurements:
Setting/display Description
"Target path" Display of the folder used for recording the long-term traces.
Configuring the recording cycle and target path for long-term trace (Page
141)
Long-term trace recording (Page 119)
The following table shows the supported data types for the trigger tag:
Depending on the selection in the drop-down list, the further settings differ for the "event".
The individual events are described below.
"=TRUE"
Supported data types: Bit (Page 133)
The recording starts when the state of the trigger is TRUE.
"=FALSE"
Supported data types: Bit (Page 133)
The recording starts when the state of the trigger is FALSE.
"Rising edge"
Supported data types: Bit (Page 133)
The recording is started when the trigger state changes from FALSE to TRUE.
After activation of the installed trace, at least two cycles are required to identify the edge.
"Rising signal"
Supported data types: Integers and floating-point numbers (Page 133) (no times, date and
time of day)
The recording is started when the rising value of the trigger reaches or exceeds the value
configured for this event.
After activation of the installed trace, at least two cycles are required to identify the edge.
"Falling edge"
Supported data types: Bit (Page 133)
The recording is started when the trigger state changes from TRUE to FALSE.
After activation of the installed trace, at least two cycles are required to identify the edge.
"Falling signal"
Supported data types: Integers and floating-point numbers (Page 133) (no times, date and
time of day)
The recording is started when the falling value of the trigger reaches or falls below the value
configured for this event.
After activation of the installed trace, at least two cycles are required to identify the edge.
"Value change"
All data types are supported.
The value is checked for change when the recording is activated. The recording starts when
the value of the trigger changes.
This trigger event is supported as of V13 SP1. Older versions of the TIA Portal cannot interpret
the trigger. Note that no explicit information is output in this case. This can occur, for
example, when the trace is transferred from a CPU to TIA Portal V13 SP1 or lower or a trace
configuration is imported.
"= value"
Supported data types: Integers (Page 133)
The recording starts when the value of the trigger is equal to the value configured for this
event.
"<> value"
Supported data types: Integers (Page 133)
The recording starts when the value of the trigger is not equal to the value configured for this
event.
Icon Description
Bit is not evaluated
See also
Configuring the trigger conditions (Page 139)
Recordable variables (Page 114)
8.1.11 Configuration
The configuration of the recording conditions and the signals to be recorded is device-
specific.
Requirement
A trace configuration has been created and opened in the working area of the "Configuration"
tab.
Procedure
The following table shows the procedure for configuring.
Step Description
1 Documentation of the configuration (optional)
Enter a comment and an author for the configuration in the Inspector window.
2 Selecting signals (Page 138)
Select the signals to be recorded in the "Signals" area.
3 Configuring the recording cycle and duration (Page 139)
Select a recording time, a cycle and the duration in the "Recording conditions" area.
4 Configuring the trigger conditions (Page 139)
In the "Recording conditions" area, select whether the recording is to be performed immedi
ately or depending on a trigger condition.
5 Configure installed measurements (memory card) (Page 140)
In the "Recording conditions" area, select whether the recording is to be saved on the device
(memory card).
The configuration of the recording conditions and the signals to be recorded is device-
specific.
Requirement
A long-term trace configuration has been created and opened in the working area of the
"Configuration" tab.
Procedure
The following table shows the procedure for configuring.
Step Description
1 Selecting signals (Page 138)
Select the signals to be recorded in the "Signals" area.
2 Configuring the recording cycle and target path for long-term trace (Page 141)
In the "Recording conditions" tab, define the recording cycle and change the target path, if
necessary.
See also
Configuring the recording cycle and duration (Page 139)
The configuration of the recording conditions and the signals to be recorded is device-
specific.
Procedure
The following table shows the procedure for configuring.
Step Description
1 Select participating devices
In the area "Participating devices" area, select the devices for the long-term project trace configuration
2 Selecting signals
Select the signals to be recorded in the "Signals" area.
3 Configuring recording cycle and target path for long-term project trace
In the "Recording conditions" tab, define the recording cycle and change the target path, if necessary.
Requirement
• At least two devices are created that support the project or long-term project trace
• A project or long-term project trace is created
Procedure
To select participating devices for a project or long-term project trace, proceed as follows:
1. Select the project or long-term project trace in the project tree.
2. In the ''Participating devices'' interface, select the devices you want to use for the project or
long-term project trace.
Requirement
• A trace, project trace, long-term trace or long-term project trace configuration is created
and opened.
• The "Signals" area is open in the "Configuration" tab.
Procedure
To configure the signals to be recorded, proceed as follows:
1. Select a signal. The following options are available:
– In the "Name" column, click the button and select a tag.
– Enter the symbolic tag name in the cell in the "Name" column.
– Enter the address directly in the "Address" column.
– Drag a signal to the table using drag-and-drop.
2. Click in the "Comment" column and enter a comment for the signal.
3. Repeat the procedure from step 1 until all the signals to be recorded have been entered in
the table.
Requirement
• A trace configuration has been created and opened.
• The "Recording conditions" area is open in the "Configuration" tab.
Procedure
To configure the cycle and the duration of a recording, proceed as follows:
1. Click for the recording time.
2. Select an OB for the recording time (Page 116).
3. Select a unit for the reduction factor in the drop-down list for "Record every".
4. Enter the factor for the reduction in the input field for "Record every".
5. Select a unit in the drop-down list for "Recording duration".
6. Specify the recording duration.
The following options are available:
– Enter a value for the duration in the input field for "Recording duration".
– Activate the "Use max. recording duration" checkbox.
Requirements
• A trace configuration has been created and opened.
• The "Recording conditions" area is open in the "Configuration" tab.
NOTE
Cyclic test of the trigger condition
The trigger condition is checked in every cycle irrespective of the setting in "Record every". To
reliably identify the trigger, the trigger signal must be present for at least one full cycle.
Requirement
• A trace configuration has been created and opened.
• The "Recording conditions" area is open in the "Configuration" tab.
• The "Trigger on tag" trigger mode is set.
• The firmware on the device supports the recording of an installed measurement.
Procedure
Proceed as follows to save the installed measurement (on the memory card):
1. Select the "Save measurements on device (memory card)" check box.
2. Enter the number of measurements that ought to be saved on the card in the "Number of
measurements" entry field.
3. Set the desired behavior once the "Number of measurements" has been reached in the
“Behavior if number reached" drop-down list.
NOTE
No evaluation of the trigger during saving
No new trigger can be evaluated as long as the recording is saved.
8.1.11.9 Configuring the recording cycle and target path for long-term trace
Requirement
• A long-term trace configuration has been created and opened.
• The "Recording conditions" area is open in the "Configuration" tab.
Procedure
To configure the cycle of a recording, proceed as follows:
1. Click the button for the trace sample event.
2. Select an OB for the trace sample event.
3. Enter the factor for the reduction in the import field for "Record every".
4. Select a unit for the reduction factor in the drop-down list for "Record every".
The default target path is the folder of the STEP 7 project.
To change the target path, follow these steps:
1. Click the button for the target path.
The "Select folder" window opens.
2. In the folder structure, navigate to the target folder or enter the target path under
"Folder".
3. Click "Select folder".
8.1.11.10 Configuring recording cycle and target path for long-term project trace
You can change the target path either individually for each participating device or
simultaneously for all participating devices.
Requirements
• A long-term project trace configuration has been created and opened.
• At least one CPU has been created as a participating device.
Combined measurement
Permits a comparison and analysis of signals from different measurements.
Curve diagram
Displays the selected signals of a recording.
Global trigger
If a project trace is triggered by a participating device to start recording synchronously in all
participating devices.
Installed trace
Consists of a trace configuration and optionally a recording.
Measurement
Consists of a trace configuration with an associated recording.
Pretrigger
Defines the interval in which the signals are already recorded before the actual trigger
condition is fulfilled.
Project trace
Contains all the information to record signals from multiple devices with a global trigger.
Recording
Is performed in the device. There is only one recording for each installed trace configuration.
Recording condition
Sampling and trigger for a trace configuration.
Recording duration
Factor in number of samples. The factor of 100 means, for example, that 100 samples are
recorded.
Reduction
Factor in number of cycles. A factor of 2 means, for example, that a recording is made every
second cycle.
Sampling
Setting, in which cycle, how fast and how long the recording is to be made.
Signal table
Lists the signals of the selected measurement and provides setting options for some
properties.
Snapshot
Contains the settings for the view for a measurement.
Trace configuration
Contains all the information required to record signals in a device.
Trigger
Specifies the trigger mode and the condition for the "Trigger on tag" mode.
Trigger mode
Specifies whether the recording should be started immediately or based on a trigger tag.
Trigger tag
Signal to trigger the recording.
Trigger time
The meaning of the measurement trigger time depends on the device.
e.g. SIMATIC S7-1200/1500 CPUs: Specifies the absolute time of the control system at the
start of recording.
{ D
{"Long-term project trace";"Time synchronization"}, Data storage
27 Trace configuration, 21
Measurement, 21
A Display options, 45, 89
Bit track, 38
I
Bode diagram, 60
Inspector window, 68
C Installed trace, 19
Combined measurement, 20
Project tree, 33 L
Comparing recordings, 111 Lifetime of the values, 115
Configuring the recording cycle, 139 Long-term project trace interface, 80
Configuring the recording duration, 139
Configuring the trace, 136, 137 M
Configuring the trigger conditions, 139 Mathematical functions, 48
CPU load, 123 Measurement, 19, 21
Curve diagram, 38 Measurement cursor, 69
Bit track, 38 Measurements
Trigger time, 38 Project tree, 31
Mouse wheel, 39
Measurements on device (memory card), 20
Keyboard operation, 39
Project tree, 32
Mouse wheel, 55
Keyboard operation, 55
Mouse wheel, 61 P
Keyboard operation, 62
Pretrigger, 131
Print, 113
Q
U
Quantity structure, 118
Use curve diagram, 106
Quick Start for trace, 92
Use measurement cursor, 106
User interface, 28, 124, 125
R
Using the scaling group, 109
Recordable variables, 114
Using the signal table, 108
Recording, 19
Recording conditions, 133, 133
Recording cycle, 88, 93
Recording levels, 116
Reduction, 128
S
Sampling, 88, 93
Save measurements on device, 132, 140
Saving the measurement in the project, 104
Selecting signals, 138
Signals, 127
Signal table, 45
Display options, 45
Snapshots, 71
Status, 30, 34
Supported devices, 17
T
Target path, 141