The trace functionality allows you to capture the progression of the values of variables on the controller over a certain time, similar to a digital sampling oscilloscope. Additionally, you can set a trigger to control the data capturing with input (trigger) signals. The values of trace variables are steadily written to an EcoStruxure Machine Expert buffer of a specified size. They can be observed in the form of a two-dimensional graph plotted as a function of time.
If PC processor-consuming tasks are executed in EcoStruxure Machine Expert or on the PC running EcoStruxure Machine Expert while a trace is running, it may happen that variable values are not captured by the trace.
NOTICE | |
---|---|
The tracing of data on the control is performed in two different ways:
Either from IEC code generated by the trace object and downloaded to the controller by a trace child application.
Or within the CmpTraceMgr component (also named ).
What data is captured is determined by an entry in the target settings (
).The trace manager has advanced functionality. It allows you to:
Configure and trace parameters of the control system, such as the temperature curve of the processor or the battery. For more information, refer to the variable settings and to the record (trigger) settings.
Read out device traces, such as the trace of the electric current of a drive. For more information, refer to the description of the command.
Trace system variables of other system components.
Furthermore, the additional command is available.
If a trace is used in the visualization, device parameters cannot be traced or used for the trigger.
The trigger level cannot be set to an IEC expression, only literals and constants are supported.
The record condition cannot be set to an IEC expression of type BOOL, only variables are supported.
If a property is traced or used for the trigger, it must be annotated with the attribute monitoring in IEC declaration.
Configure the trace data as well as the display settings of the trace data in the
. It provides commands for accessing the configuration dialog boxes. Several variables can be traced and displayed at the same time, in different views such as multi-channel mode. Record traces of variables with different trigger settings in their own trace object. You can create any number of trace objects.with several trace objects
Commands for modifying the settings of the display are described in the Features paragraph. Zooming functionalities and a cursor are available as well as commands for running the trace so that the graph can be compressed or stretched.
To integrate the readout of a trace within a visualization, use the visualization element
.For further information on trace configuration for data recording, refer to the Record Settings.