Problems with tracing in Simatic AX

0
Hi community!I am exploring the tracing functionalities in Simatic AX. Getting the trace online and on the PLC seems ok, but I cannot open a visualization or see any saved data in AX (I am running the demo script with the shiftregister). Whenever I want to open a visualization, this message keeps hanging:Also, I am not sure if any saved data on the memory card is shown in 'SAVED RESULTS'? My trace config:# SIMATIC AX Trace Configuration name: MyTrace jobType: finite sampleCount: 10 signals: - "sr.Q0" checkPoint: task: MyConfiguration.Main memoryCard: saveCount: 10 overwriteWhenFull: true Am I doing something wrong? I did find the docs about tracing, but unfortunately nothing about visualizations.I'm using:AX: 2510.11.0apax: 4.2.0ax/trace: 3.3.1Any help is greatly appreciated!Cheers, Nathan
asked
1 answers
0

Hi Nathan,


Thanks for sharing the details. Based on your provided trace configuration, the trace job is finite but does not have any defined saveTrigger.


As a result, the trace will show as running, but it will never finalize a measurement, because there is no trigger condition that tells AX when to persist the captured samples.


Because no measurement is finalized, nothing appears under SAVED RESULTS, and the visualization dialog remains in a loading state.


If you have a specific condition you want to trigger on, try adding a saveTrigger to your configuration.


saveTrigger documentation: https://docs.industrial-operations-x.siemens.cloud/r/en-us/ax/tracing-docs/3.3.1/configuration-file/save-trigger


Example snippet:

name: MyTrace
jobType: finite
sampleCount: 10

signals:
  - "sr.Q0"

checkPoint:
  task: MyConfiguration.Main

saveTrigger:
  preSamples: 10
  condition: "sr.Q0 = true"

memoryCard:
  saveCount: 10
  overwriteWhenFull: true


Let us know if this resolves your issue. Thank you!


answered