Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1620

Hide thumbs Also See for MANUALplus 620:

Advertisement

1620
Module 9256 Write to a field in a table
The module writes an integer value 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.
The field defined by the column name and line number is overwritten.
Constraints:
The file must not have been opened by Module 9240 in "buffered" mode.
Only files of the type .TAB (freely definable tables) and .P (pallet tables) are
permitted.
To maintain a high processing speed, multiple lines should be written in
ascending order.
Pay attention to the upper/lower case of field names.
Only fields defined for numerical values can be written to.
If digits can be entered after the decimal point in the selected field, the
numerical value is standardized to the last digit after the decimal point,
meaning that for n digits after the decimal point, the value is divided by 10
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 <Numerical value to be written>
CM
9256
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
n
.

Advertisement

loading