EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1271

HEIDENHAIN MANUALPLUS 620
1818 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
January 2012 7.1 Display and Operation 1271
Module 9084 Display PLC error messages with additional data
The module displays PLC error messages with additional data. You can insert
placeholders (%s, %d, %f) at any position of the error texts. The placeholders
are assigned the data from the module at run time. Only those placeholders
that are defined in the PLC error message will be replaced. %s is replaced by
the string or the string content. The first occurrence of %d or %f in the PLC
error message is replaced by the content of variable 1, and the second
occurrence of %d or %f is replaced by the content of variable 2. %d is an
integer, %f is a floating point number with three decimal places. Alternatively,
you can define the number of decimal places with %.1f to %.6f.
If the module is called several times with the same line number of the *.PET
table, the error message is entered only once in the queue. A maximum of 32
PLC error messages can be entered in the queue.
If an error marker is assigned in the PET table, it is set.
If the *.PET table or the line number is not found, the error message PLC ERROR
<line number> appears.
Call:
PS B/W/D/K <Line number of the *.PET table>
0 to 999: Line number
PS B/W/D/K/S<Data for %s>
PS B/W/D/K <Data for %d or %f; variable 1>
PS B/W/D/K <Data for %d or %f; variable 2>
CM 9084
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error
0 PLC error message with additional data
displayed
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
1 Line number missing
8 Incorrect operating mode, compatibility error
marker set
23 Overflow of PLC error message queue

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals