EasyManuals Logo

HEIDENHAIN MANUALPLUS 620 Technical Manual

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
Page #1609 background imageLoading...
Page #1609 background image
January 2012 8.12 Tables 1609
Module 9243 Read from an ASCII file line by line
To read from a table, use Module 9245.
The module reads a line from the ASCII file opened with Module 9240,
and writes it to a PLC string.
Different processing times will result depending on whether you opened the
file with the "buffered" option (buffered is faster).
The module reads up to a line break (line feed, '\n'), but not more than 127
characters. The line break is not saved in the result string, but is counted for
the number of characters read.
The result is undefined when reading non-ASCII-coded files.
A certain amount of binary data is saved in the target string, but cannot be
used.
Call:
PS D <File handle>
Number from Module 9240
PS B/W/D/K <String number with result>
0 to 7
CM 9243
PL B/W/D <Number of read bytes>
>0: Line has been read
0: File end has been reached
–1: Error code in NN_GenApiModuleErrorCode (W1022)
Error recognition:
Marker Value Meaning
NN_GenApiModule
ErrorCode (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

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HEIDENHAIN MANUALPLUS 620 and is the answer not in the manual?

HEIDENHAIN MANUALPLUS 620 Specifications

General IconGeneral
BrandHEIDENHAIN
ModelMANUALPLUS 620
CategoryControl Systems
LanguageEnglish

Related product manuals