Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1614

Hide thumbs Also See for MANUALplus 620:

Advertisement

1614
Error recognition:
Marker
Value
NN_GenApiModule
1
ErrorCode (W1022)
2
3
7
20
29
30
31
32
Module 9249 Read and reset "errno"
This function reads the error status "errno" of the operating and file system,
and resets this status to 0. This status can be used for more accurate
determination of the errors in certain modules (e.g. 9240, 9242, 9243, 9244).
Constraints:
"errno" always contains the code of the most recent error. The variable is
only cleared with Module 9249.
"errno" is only valid within a PLC process (SUBMIT job), and is separately
present for each process.
The definitions of the C programming language (UNIX compatible) as well as
specific expansions by HEIDENHAIN are valid for the contents of "errno." A
separate documentation exists for this.
In order to use "errno" to see if an error has occurred, the module must be
called before a program sequence in order to clear the contents of "errno."
Call:
CM
9249
PL
W/D
<errno>
Meaning
Start line does not exist in table
Incorrect "file handle" or table was opened
in "buffered" mode
Impermissible string numbers
Module could not be read from the table
Module was not called in a spawn job or
submit job
Incorrect file format
Column name not found
Syntax error in the transferred condition
No data record found that fulfills the
condition
HEIDENHAIN Technical Manual MANUALplus 620

Advertisement

loading