Read: Read Lines In File (As From Sw 5.2) - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Flexible NC Programming
1

1.19 READ: Read lines in file (as from SW 5.2)

840D
840D
NCU 571
NCU 572
NCU 573
Function
All files can be deleted by means of the DELETE
command, irrespective of whether they were created
using the WRITE command or not. Files that were
created using a higher access authorization can also
be deleted with DELETE.
Programming example
N10 DEF INT ERROR
N20 DELETE(ERROR,"TEST1")
N30 IF ERROR
N40 MSG ("Error with DELETE command:"
N50 M0
N60 ENDIF
...
1.19

READ: Read lines in file (as from SW 5.2)

Programming
READ(var int error, string[160] file, int line, int number, var
string[255] result[])
The READ command reads one or several lines in the file specified and stores the information
read in an array of type STRING. In this array, each read line occupies an array element.
1-84
810D
840Di
<<ERROR)
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
;
; Delete file TEST1
;
;
;
;
 Siemens AG 2000. All rights reserved
02.98
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents