Visualization Element ‘Trace’

Symbol: 2b8aadf1f8234ee6c0a8640e011b7a82_b0b8ada7a6852015c0a8640e010dec3a

Tag: Special controls

This element displays the graphical curve of variable values. In addition, variables can be configured for controlling the view.

See also

Element properties

Element name Example: Velocity
Data source

Storage location where the trace data is buffered.

2b8aadf1f8234ee6c0a8640e011b7a82_65b3e7e90bd231f0c0a8640e016aeb4e :

  • <local application>: The trace recording is listed below the local application. The visualization that contains the trace is located below this application.

    When the application is downloaded, the trace configuration is downloaded to the local device. During execution, the data is stored locally in the trace buffer.

  • <data source name>: Data source that identifies the remote device where the trace recording is created.

    When the local application is downloaded with the visualization, the trace configuration is downloaded to the remote device. During execution, the trace buffer is filled, and the trace data is transferred and then displayed in the local visualization as HMI.

    Example: DataSoure_PLC_A

    Note: The trace buffer is filled only if the remote application is being executed. The data recording is started when the local visualization is started.

Application

Application where data was recorded.

2b8aadf1f8234ee6c0a8640e011b7a82_379d3b8945773148c0a8640e0139d9cb : Lists all applications that are present below the data source.

Requirement: A remote data source (not <local application>) is referenced in the Data source property.

Element type Trace
Trace 2b8aadf1f8234ee6c0a8640e011b7a82_918bd000717d8157c0a8640e00a25eb5 <Name trace configuration>: Opens the Trace configuration dialog where you can modify the trace configuration.

See also

Element property ‘Position’

The position defines the location and size of the element in the visualization window. These are based on the Cartesian coordinate system. The origin is located at the upper left corner of the window. The positive horizontal x-axis runs to the right. The positive vertical y-axis runs downwards.

X

X coordinate of the upper left corner of the element

Specified in pixels.

Example: 10.

Y

Y coordinate of the upper left corner of the element

Specified in pixels.

Example: 10.

Width

Specified in pixels.

Example: 150

Height

Specified in pixels.

Example: 30

Note

You can also change the values by dragging the box symbols ( 2b8aadf1f8234ee6c0a8640e011b7a82_7b449e02d0393877c0a8640e01fd8c9e ) to other positions in the editor.

See also

Display cursor 2b8aadf1f8234ee6c0a8640e011b7a82_9a3f06830c0506c5c0a8640e012f0ace : A cursor (vertical line) is displayed at the mouse position. The trigger and variable values where the cursor points are displayed as a tooltip.
Overwrite existing trace on PLC 2b8aadf1f8234ee6c0a8640e011b7a82_9a3f06830c0506c5c0a8640e012f0ace : If a trace with the same name is on the PLC, then it is overwritten at download with the configuration that is defined here.
Number format Number format of values in the tooltip in printf syntax (example: %d, %5.2f).

Element property ‘Control variables’

The control variables are set automatically when you click Insert elements for controlling trace.

Reset trigger Variable (BOOL). TRUE: The trigger is reset.
Start trace Variable (BOOL). TRUE: The trace is started.
Stop trace Variable (BOOL). TRUE: The trace is stopped.
Save trace to file
Save trace Variable (BOOL). If TRUE, then the current trace configuration and the data are saved to a file.
File name Variable (STRING). Defines the file name of the file to be saved.
Load trace from file
Load trace

Variable (BOOL). If TRUE, then a trace configuration is loaded from a file and used in the current configuration.

Note: A trace configuration can be loaded from a file only under special circumstances. The file must have been created with exactly the same (running) application with which it will then be loaded. The consequence of changing the running application (for example by downloading) is that a file which was previously created from the application cannot no longer be read into the application. Even external manual changes to the file can cause this. You should edit only those configuration settings that have an effect on displaying the variables. If you change variable definitions directly in the file (for example by replacing variable x with v y), then the file cannot be loaded.

File name Variable (STRING). Defines the file name of the file to be loaded.

See also

Element property ‘Access rights’

Requirement: User management is set up for the visualization.

Access rights

Opens the Access rights dialog box for changing the access rights for the element.

Status messages:

  • Not set. All rights.: Access rights for all user groups : operable
  • Rights are assigned: limited rights: Access is restricted for at least one group.

See also