HEIDENHAIN TNC 426 PB/M Technical Manual page 652

Table of Contents

Advertisement

6 – 322
Module 9244 Writing to a file line by line
To write to a table, use Module 9246.
With Module 9244 you write line-by-line to an ASCII file.
Open the file with Module 9240.
If file is opened in "buffered" mode:
n
Processing time is shorter.
n
Files are saved to the hard disk only if more than 512 bytes are overwritten
in several calls, or if the file is closed.
n
The number of data specified in the transfer string is overwritten.
If file is opened in "record oriented" mode:
n
Processing time is longer.
n
The data are saved immediately to the hard disk.
n
Exactly one line is overwritten. If there is a difference in length, the following
data is displaced by the difference.
Call:
PS
D
<File handle>
Number from Module 9240
PS
B/W/D/K/S<String number, source data>
0 to 7
CM
9244
PL
B/W/D
<Number of written bytes (including LF)>
–1: Error code in W1022
Error recognition:
Marker
Value
Meaning
W1022
2
Incorrect file handle
3
Incorrect string number
7
File system error
20
Module was not called in a spawn job or submit job
HEIDENHAIN Technical Manual TNC 426, TNC 430

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents