
B–61863E–1/06
12. NC COMMAND PROGRAM (PMC-SC)PMC LIBRARY
317
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_upstart2
[Description]
Prepares to input (upload) NC command data.
[Format]
ret = pl_nc_upstart2(P1, P2);
short ret;
unsigned short P1;
short P2;
[Input]
P1 Tool post specification
0 : System other than the TT system
1 : Tool post on side 1
2 : Tool post on side 2
P2 Program number (binary format)
[Output]
______
[Returns]
ret Complete code : –1, 0, 1, or 5
–1 : The request to prepare to input (upload) NC command data was
rejected. When an attempt is made to execute this command,
this completion code is returned while background editing is
being performed on the NC, during downloading, or when the
alarm status is set.
0 : Preparation to input (upload) NC command data has terminated
normally.
1 : A value other than 1 or 2 was set to specify the tool post.
5 : A program which was not registered in the NC was specified.
[Remarks]
______
12.32
PREPARING TO
INPUT (UPLOAD) NC
COMMAND DATA