
B–61863E–1/06
12. NC COMMAND PROGRAM (PMC-SC)PMC LIBRARY
311
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_dncstart2
[Description]
Executes preparatory processing to output the NC command data to
be used for operation.
[Format]
ret = pl_nc_dncstart2(P1);
short ret ;
unsigned short P1 ;
[Input]
P1 Tool post specification
1 : Tool post on side 1
2 : Tool post on side 2
For systems other than the TT system, set 0 to specify the tool post.
[Output]
______
[Returns]
ret Complete code : –1, 0, or 1
–1 : The request to prepare to output the NC command data to be
used for operation 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 uploading, or if the alarm status
is set.
0 : Preparation to output NC command data to be used for
operation in the NC has terminated normally.
1 : A value other than 1 or 2 was set to specify the tool post.
[Remarks]
When using this function, perform cycle start after switching to the
AUTO mode and setting DI “DMMC” for direct operation to ON.
12.26
PREPARING TO
OUTPUT NC
COMMAND DATA TO
BE USED FOR
OPERATION