EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1611

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...
January 2012 8.12 Tables 1611
Module 9245 Read a field from a table
The module reads a data field from a table opened before by Module 9240 in
"record-oriented" mode into a string. The data field is addressed by the field
name and the line number.
To maintain a high processing speed, multiple lines should be read in
ascending order.
Pay attention to the upper/lower case of field names.
If an error occurs, the content of the target string is undefined.
The module provides the contents as a string.
Call:
PS D <File handle>
from Module 9240
PS B/W/D/K <Line>
0 to 65 535
PS B/W/D/K/S<String number, column name>
0 to 15
PS B/W/D/K/S<String number, result>
0 to 15
CM 9245
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error (M4203)
0 Field was read
1 Error code in W1022
NN_GenApiModule
ErrorCode (W1022)
1 Line does not exist in table
2 Incorrect "file handle" or table was opened
in "buffered" mode
3 Impermissible string numbers
7 The table could not be read from
20 Module was not called in a spawn job or
submit job
29 The opened file is not a table (extension
.TAB, .P)
30 Column name not found

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals