Reporting and recording errors

The output of error messages is defined globally by the P-STUP-00167 parameter.

Notice

notice

All the required options must be set in P-STUP-00167.

If you set NO_WARNINGS exclusively, this will result in no output.

The output control mode can also read and write via CNC objects.

Output options

Basically, the following 3 parallel output options are available:

  1. Print: Output to screen/shell
  2. Log: Output to log file
  3. Report: Application-specific output
Overview of the 3 output options
Overview of the 3 output options

Print

Depending on the application, errors can be output directly to screen or to the shell.

Logging to file

Errors are logged to a log file. They can be defined by name via the P-STUP-00170 parameter and their maximum size can be defined in P-STUP-00171. Once the log file overwrites the maximum size defined, the original file is copied to a backup file and the original file is deleted.

Application-specific report

An application-specific output is additionally possible.

“Direct” output to PLC

In addition to the output of a pre-processed error message via PRINT/LOG/REPORT, the error message is sent in “raw format” directly to the PLC after it occurs. As required, this output can be fully disabled via the logging mode P-STUP-00167 in the Error Manager.

Overview of output options with the PLC block interface
Overview of output options with the PLC block interface

Notice

notice

The error output from the PLC cannot be filtered.

The corresponding filters must be implemented in the PLC:

If the PLC is no longer required to evaluate other CNC error messages, the output to the PLC can be completely skipped by the Control Unit (Cu) on the HLI.

error_protocol_mode    PRINT | LOG | REPORT | SEND_NOT_TO_PLC