Camera-Specific Error; Viewing Micropython Debug Messages Via Web Server - Siemens SIMATIC S7-1500 Manual

Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

7.3.3

Camera-specific error

Interruption of the connection to the camera during ongoing operation
• The application continues running.
• The connection to the camera must be reestablished.
Camera not found during start
• If the camera is called up in the script, execution of the script pauses until the camera has
been found.
Unusable images
In individual application cases, it is possible that the camera delivers images that should not
be transferred to the neural network, for example due to a soiled camera lens or while the
monitored production process is stopped.
The option exists to incorporate routines in the script that prevent the transfer of unusable
image data.
7.3.4

Viewing MicroPython debug messages via web server

To debug a script, messages generated by the application can be displayed on a connected PC
using the web browser under Windows/Linux/Mac OS. These displayed messages are called
"print statements".
Requirement
• The Ethernet connection is enabled. A valid configuration file "network.conf" (Page 56) is
present in the "/config" folder on the SIMATIC Memory Card. The LINK LED lights up
permanently.
• Debug mode is enabled in the configuration of the module.
• The configuration file "debug.conf" (Page 59) is present in valid form in the "/config" folder
on the SIMATIC Memory Card. In this way, debug mode is enabled.
NOTE
Restriction when using debug mode
When debug mode is used, all outputs that are initiated by the application are made available
through the use of "print statements", for example.
The interval at which such messages are output has an impact on the performance of the
debug server. We therefore discourage the use of fast, cyclic outputs because they can result
in display errors.
When debug mode is used, a temporary change in the runtime of the application may occur
when retrieving the web page for the debug information.
Outputs may not be available or may be incomplete due to internal processing mechanisms
when retrieving the web page. These outputs are made available by refreshing the web page.
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC
Diagnostics
7.3 Troubleshooting
43

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mp

Table of Contents