6.6 Error Messages and Log Files
435
Modul 9084 Display PLC error messages with additional data
The module displays PLC error messages with additional data You can insert
place holders (%s, %d, %f) at any position of the error texts. The place holders
are assigned the data from the module at run time. Only those place holders
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 occur-
rence 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. Alternately, 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.
Until now, additional information could only be added to texts from the PET
table. Effective immediately, language-sensitive texts from the
*.csv
file are
also supported.
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 code:
Marker
Value Meaning
NN_GenApiModule
Error
0
PLC error message with additional data dis-
played
1
Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
1
Line number not available
8
Incorrect operating mode, compatibility error
marker set
23
Overflow of PLC error message queue
Summary of Contents for MILLPWR G2
Page 1: ...Technical Manual ACU RITE MILLPWRG2 ...
Page 2: ......
Page 14: ...14 ACU RITE Technical Manual MILLPWRG2 ...
Page 40: ...40 ACU RITE Technical Manual MILLPWRG2 ...
Page 58: ...58 ACU RITE Technical Manual MILLPWRG2 3 10 3 USB Hub ...
Page 60: ...60 ACU RITE Technical Manual MILLPWRG2 TS 220 Adapter cable for TS 120 TS 220 ...
Page 61: ...3 10 Dimensions 61 SE 640 transmitter receiver unit ...
Page 62: ...62 ACU RITE Technical Manual MILLPWRG2 SE 540 transmitter receiver unit ...
Page 63: ...3 10 Dimensions 63 TS 440 TS 640 ...
Page 64: ...64 ACU RITE Technical Manual MILLPWRG2 ...
Page 392: ...392 ACU RITE Technical Manual MILLPWRG2 ...
Page 545: ......