
12. NC COMMAND PROGRAM (PMC-SC)
B–61863E–1/06
PMC LIBRARY
294
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_delall
[Description]
Deletes all machining programs registered in the NC. (The program
being used for operation is not deleted.)
[Format]
ret = pl_nc_delall() ;
short ret ;
[Input]
______
[Output]
______
[Returns]
ret Complete code (–1, 0, 7, 25)
–1 : The request for deletion of the programs has been rejected. This
completion code is returned when the command is issued while
the NC is in the background edit mode, upload mode, or alarm
state.
0 : Deletion of all programs in the NC has normally terminated.
7 : Memory protection is set for the NC.
25 : The program deletion command was issued while the other
command library was being processed and before the
completion code for the processing was returned. This function
must be called again after the processing of the command
library terminates.
[Remarks]
______
12.11
DELETING ALL
PROGRAMS