This chapter provides a short overview of the diagnostic mechanisms of PROFINET and describes how to use them in CODESYS.
The detection and correction of system-related malfunctions (for example, caused by firewalls) is described in the "Troubleshooting" chapter.
To avoid downtimes during the operation of a system, the diagnosis is intended to allow for quick detection or even prevention of faults. For this purpose, PROFINET provides extensive diagnostic mechanisms which give information about the source and location of the malfunction (which device and module, possibly a specific I/O channel), the severity of the error, as well as detailed information about the cause.
See also