1616 HEIDENHAIN Technical Manual MANUALplus 620
Error recognition: 
Marker Value Meaning
NN_GenApiModule
Error (M4203)
0 Editor was opened
1 Error code in NN_GenApiModuleErrorCode 
(W1022)
NN_GenApiModule
ErrorCode (W1022)
1 – Invalid values for the strings for file name 
and field name were transferred
– The range defined by the entries for first 
and last line is not logical. Possibilities 
include start>end, or start after file end, or 
the given file is an empty document, or the 
start and/or end contain negative values.
– Values for additional parameters were 
given, which is not permitted in this context, 
or options which are only intended for 
complete files were activated for a partial file 
(not all lines/columns)
6 A write-protected file cannot be opened with 
transferred write-protection (bit 3).
7 The given file cannot be read from, or the 
temporary file cannot be created.
8 The module was called during an NC 
operating mode in which the table editor 
cannot be started.
20 The module was called from the cyclic 
program part.
28 A file has already been opened by the PLC 
for editing
29 The given file does not exist or is not of the 
type .TAB or .P.
30 The given field names do not exist in the 
given file.
36 An invalid file name or file type was 
programmed.