Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1612

Hide thumbs Also See for MANUALplus 620:

Advertisement

1612
Module 9246 Write to a field in a table
The module writes a string to a data field in a table opened by Module 9240 in
"record-oriented" mode. The data field is addressed by the field name and the
line number.
To maintain a high processing speed, multiple lines should be written in
ascending order.
Pay attention to the upper/lower case of field names.
The field defined by the column name and line number is overwritten.
The module transfers 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, contents to be written>
0 to 15
CM
9246
Error recognition:
Marker
Value
NN_GenApiModule
0
Error (M4203)
1
NN_GenApiModule
1
ErrorCode (W1022)
2
3
6
7
11
20
29
30
Meaning
Field was written to
Error code in NN_GenApiModuleErrorCode
(W1022)
Line does not exist in table
Incorrect "file handle" or table was opened
in "buffered" mode
Impermissible string numbers
Table is write-protected
Not a numerical field (Module 9256)
The transferred value cannot be saved to
the addressed field. Incorrect format
Module was not called in a spawn or
submit job
Opened file is not of the .TAB or .P type.
Column name not found
HEIDENHAIN Technical Manual MANUALplus 620

Advertisement

loading