
10. READER/PUNCHER INTERFACE
B–61863E–1/06
PMC LIBRARY
276
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
pl_fdel2
[Description]
Deletes the file in the FANUC cassette.
[Format]
ret = pl_fdel2(ch_no, file_no, file_name) ;
short ret ;
short ch_no ;
short file_no ;
char *file_name ;
[Input]
ch_no : Specify the channel number to use
1 : channel 1
2 : channel 2
file_no : Specify the file number to be deleted.
For file name specification, specify “file_no” = 0.
file_name: Specify the file name to be deleted in the ASCII code.
Up to 17 characters can be used for the file name.
Suffix NULL to the character string.
For file number specification, specify “file_name” = 0.
[Output]
______
[Returns]
ret Completion code (0, 2, 3, 6, 20, 23)
[Remarks]
D For the return value, see the item on the completion code types.
D To use this function, specify 31 or 32 to channel and control
method (OP) of pl_fopen2 function.
D If FANUC cassette does not contain the specified file, the
completion code is set to 0.
D If the file is deleted from the FANUC cassette, the file following
that file are moved up and their file number is changed (”file_no”
– 1 is performed).
D Only one file is deleted(pl_fdel2) at a time. Two or more files
cannot be deleted continuously. The file must be closed
(pl_rsclose2) and opened again (pl_fopen2).
10.14
DELETING THE
FANUC FLOPPY
CASSETTE FILE