
B–61863E–1/06
12. NC COMMAND PROGRAM (PMC-SC)PMC LIBRARY
325
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_pdirend2
[Description]
Posts the end of program number list input to the NC.
[Format]
ret = pl_nc_pdirend2(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, or 1
–11: Preparation to input the NC program number list in the NC is
not completed or has not been executed.
–2: The NC entered the reset status.
0: Terminating the input of the program number list in the NC has
been completed normally.
1: A value other than 1 or 2 was set to specify the tool post.
[Remarks]
______
12.38
POSTING THE END
OF INPUTTING THE
PROGRAM NUMBER
LIST