6.6 Error Messages and Log Files
439
Entering data in
log files
The error log file can be used by the PLC for diagnostic purposes.
Enter data
from the PLC
into the error log file:
Use Module 9275 to write ASCII data into the error log file.
Use Module 9276 to write the contents of operands into the error log file.
Modul 9275 Write ASCII data into the log
The module writes a character string from a PLC string or an immediate string
into the error log file. The entry can be given a special identifier for fast finding
or later editing.
A buffer of approx. 210 bytes is available for the data to be written (including
the entry identification).
Call:
PS
b/w/d/k/S
<>Log entry>
–1: No entry
PS
b/w/d/k/S
<>Log identifier>
–1: No entry
PS
b/w/d/k
<>Priority>
0: Information
1: Warning
2: Error
CM
9275
Error code:
Note
Do not use Modules 9275 and 9276 in the PLC program as shipped.
Instead, use them only for debugging. Otherwise the processing times
could be increased and the hard disk could be written to unnecessarily.
Marker
Value Meaning
NN_GenApiModule
Error
0
Entry was written
1
Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
1
Invalid priority
2
Invalid string number or invalid immediate
string
12
No string end identifier
20
Module was not called in a spawn job or submit
job
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: ......