
B–61863E–1/06
13. NC COMMAND PROGRAM
(PMC-NB/NB2/15i–A)
PMC LIBRARY
329
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
The PMC sends program data to the NC and the program is registered in
the NC. The program number is added when pl_nc_download is issued.
Processing flowchart
Is the termination requested or is the
function terminated abnormally?
pl_nc_dwnstart
pl_nc_download
pl_nc_dwnend
Catalogs a program.
No
Yes
If pl_nc_dwnstart returns a completion code of –1, call pl_nc_dwnend
without calling pl_nc_download.
[Name]
pl_nc_dwnstart
[Description]
Start registering (downloading) the data of the NC program.
[Format]
ret = pl_nc_dwnstart();
short ret ;
[Input]
______
[Output]
______
[Returns]
ret Complete code: –1 or 0
–1 : The request for starting output of the data of the NC command
to be registered was rejected. The completion code is returned
if the command is specified while the NC is in a background
edit mode or upload mode specified by another NC command.
0 : The NC has normally terminated preparation to start
downloading.
13.1
EXECUTING
PROCESSING TO
REGISTERING
(DOWNLOADING)
THE DATA OF THE
NC COMMAND TO BE
REGISTERED