
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 192 -
(2) Creating a file with a file number
By specifying address F, it is possible to create a new file with a
specified file number. Specify the number of the file to be created (1
to 9999).
Example
To create a file with file number 3, enter the
following:
G330 P21 P10 S12 C2 F3 ;
NOTE
1 When a file is created with a file number, the existing
file with that file number is deleted, as well as any
files with the subsequent file numbers.
For the FANUC Handy File in DOS format, however,
the files with the file numbers subsequent to the
specified number are not deleted.
2 This method of creating a file with a file number
allows only an existing file number to be specified.
To add a new file, create it with a file name.
File information control G330/G339
- Format
G330 Pp Bb Ss ;
p = 1: File control with RS-232-C1
2: File control with RS-232-C2
For an explanation of addresses B and S, see the explanation of line
open G330.
G339 Pp (Ll Ss Ff) ;
p = 1: Reads file information
2: Deletes a file
3: Rename a file
Specify addresses L, S, and F as required.