Testing with a trace function
The trace function is used to record the CPU tags, depending on the settable trigger
conditions. Tags are, for example, drive parameters or system and user tags of a CPU. The
CPU saves the recordings. If necessary, you can display the recordings with STEP 7 and
evaluate them.
Procedure: The trace function can be called from the CPU's folder in the project tree, under
the name "Traces".
In connection with trace functions, please also note the following FAQ on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/102781176).
Simulation
With STEP 7 you can run and test the hardware and software of the project in a simulated
environment. Start the simulation using the menu command "Online" > "Simulation" > "Start".
Reference
Additional information on the test functions can be found in the STEP 7 online help.
Additional information about testing with trace functions is available in the Function Manual
Using the trace and logic analyzer function
(https://support.automation.siemens.com/WW/view/en/64897128).
15.2
Reading out/saving service data
Service data
In addition to the contents of the diagnostics buffer, the service data contains a great deal
more information about the internal status of the CPU. If a problem occurs with the CPU that
you cannot resolve with other methods, send the service data to the Siemens Service &
Support. The service data allow Service & Support to analyze problems that have occurred
rapidly.
Note
While reading out the service data of the CPU, you cannot simultaneously execute a
download to the device.
Methods of reading service data
You can read service data with:
• the web server
• STEP 7
• the SIMATIC memory card
Automation system
System Manual, 01/2023, A5E03461182-AK
Test and service functions
15.2 Reading out/saving service data
333