EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
598 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 #85 background imageLoading...
Page #85 background image
1
02.98 Flexible NC Programming
1.19 READ: Read lines in file
(
as from SW 5.2
)
1
840D
NCU 571
840D
NCU 572
NCU 573
810D
840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1-85
Explanation of the parameters
error
Error variable for return (call-by-reference parameter, type INT)
0 No error
1 Path not allowed
2 Path not found
3 File not found
4 Incorrect file type
13 Insufficient access rights
21 Line not available (parameter "line" or "number" larger
than number of lines in file)
22 Array length of "result" variable too small
23 Line range too large (parameter "number" has been selected so
large, that reading goes beyond the end of the file)
file
Name/path of the file to be read (call-by-value parameter of type
STRING with a max. length of 160 bytes). The file must be stored in the
user memory of the NCK (passive file system). The file name can be
preceded by the domain identifier _N_. If the domain identifier is
missing, it is added correspondingly.
The file identifier ("_" plus three characters, e.g. _SPF) is optional. If
there is no identifier, the file name is automatically added _MPF.
If there is no path specified in "file", the file is searched for in the current
directory (=directory of selected program). If a path is specified in "file",
it must start with a slash "/" (absolute path indication).
line
Position indication of the line range to be read (call-by-value parameter
of type INT).
0 The number of lines before the end of the file
which is specified by the parameter "number" is read.
1 to n Number of the first line to be read.
number
Number of lines to be read (call-by-value parameter of type INT).
result
Array of type STRING, where the read text is stored
(call-by-reference parameter with a length of 255).
Function
One or several lines can be read from a file with the
READ command. The lines read are stored in one
array element of an array. The information is
available as STRING.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals