
B–61863E–1/06
12. NC COMMAND PROGRAM (PMC-SC)PMC LIBRARY
313
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_dncend2
[Description]
Terminates the output of the NC command data to be used for
operation.
[Format]
ret = pl_nc_dncend2(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: –11, –2, 0, 1, or 5
–11: Preparation to output the NC command data to be used for
operation in the NC is not completed or has not been executed.
–2: The NC has entered the reset status.
0: Terminating the output of the NC command data to be used for
operation has been completed normally.
1: A value other than 1 or 2 was set to specify the tool post.
5: The NC command data to be used for operation does not
correspond to previous data output.
[Remarks]
Before issuing this stop command, be sure to set ’%’ (25H) at the end
of the NC command data to be used for operation.
12.28
TERMINATING THE
OUTPUT OF NC
COMMAND DATA TO
BE USED FOR
OPERATION