Technical data
Programming
CPU 317T: Technology Functions
5-12 A5E00251798-03
5.5 Errors at the MCDevice & Trace technology DBs
If the technology data blocks "MCDevice" or "Trace" are invalid, this is indicated in
the corresponding technology DB. An error is also indicated if the technology DB
was replaced by a more recent instance.
Error indications defined at the "MCDevice" and "Trace" technology DBs:
• The ErrorID variable
The ErrorID variable indicates the ErrorID of the most recently detected error
(ErrorID = 8xxx).
The value of this variable is deleted by acknowledging it with MC_Reset
(Restart = FALSE).
• The ErrorBuffer[0..2] variable array (not in the "Trace" technology DB)
The ErrorBuffer[0..2] variable array is used to store the first three errors. The
first error is written to ARRAY element 1, the second to ARRAY element 2, etc.
The value in this variable is deleted by acknowledging it with MC_Reset
(Restart = FALSE).
Acknowledging errors
Eliminate the cause of errors detected in the ErrorID variable (ErrorID = 8xxx). The
errors indicated at the technology DB "MCDevice" and "Trace" can not be
acknowledged.