1.20
Read lines in the file (READ)
1.20
Function
The READ command reads one or several lines in the specified file and stores the
information read in an STRING type array. In this array, each read line occupies an array
element.
Note
The file must be stored in the NCK's static user memory (passive file system).
Condition
The currently set protection level must be equal to or greater than the READ right of the file.
If this is not the case, access is denied with an error message (return value of error variable
= 13).
Syntax
DEF INT <error>
DEF STRING[<string length>] <result>[<n>,<m>]
READ(<error>,"<file name>",<start line>,<number of lines>,<result>)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Flexible NC programming
1.20 Read lines in the file (READ)
153