
13.NC COMMAND PROGRAM
(PMC-NB/NB2/15i–A)
B–61863E–1/06
PMC LIBRARY
332
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_dwnend
[Description]
Executes to stop registering (downloading) the data of the NC
program.
[Format]
ret = pl_nc_dwnend() ;
short ret ;
[Input]
______
[Output]
______
[Returns]
ret Complete code : –11, 0, 8, 22, 42, 44, 50 or 56
–11: The NC has not yet terminated or executed the processing to
start outputting the data of the NC command to be registered.
0: The NC has normally terminated downloading.
8: Either of the following occurs:
1. The program to be registered does not begin with its
program number.
2. The program is memory-protected and cannot be
registered.
22: An attempt was made to enter a value out of the allowable
range.
42: The specified program number has already been registered.
44: The tape area is full.
50: Too many programs are registered.
56: The program to be registered does not begin with its program
number.
13.3
EXECUTING
PROCESSING TO
STOP OUTPUTTING
(DOWNLOADING)
THE DATA OF THE
NC COMMAND TO BE
REGISTERED