EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1620

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...
1620 HEIDENHAIN Technical Manual MANUALplus 620
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
n
.
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 Meaning
NN_GenApiModule
Error (M4203)
0 Field was written to
1 Error code in NN_GenApiModuleErrorCode
(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
6 Table is write-protected
7 Not a numerical field (Module 9256)
11 The transferred value cannot be saved to
the addressed field. Incorrect format
20 Module was not called in a spawn or
submit job
29 Opened file is not of the .TAB or .P type.
30 Column name not found

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals