EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1614

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...
1614 HEIDENHAIN Technical Manual MANUALplus 620
Error recognition:
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>
Marker Value Meaning
NN_GenApiModule
ErrorCode (W1022)
1 Start line does not exist in table
2 Incorrect "file handle" or table was opened
in "buffered" mode
3 Impermissible string numbers
7 Module could not be read from the table
20 Module was not called in a spawn job or
submit job
29 Incorrect file format
30 Column name not found
31 Syntax error in the transferred condition
32 No data record found that fulfills the
condition

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals