
12. NC COMMAND PROGRAM (PMC-SC)
B–61863E–1/06
PMC LIBRARY
310
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_vrfend2
[Description]
Terminates the output of the NC command data to be verified.
[Format]
ret = pl_nc_vrfend2(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 verified 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 verified
has terminated normally.
1: A value other than 1 or 2 was set to specify the tool post.
5: NC command data to be checked does not correspond to
previous data output.
This completion command is returned when NC command data
has not been checked correctly, the machining program to be
checked in the NC is selected in the foreground, or the NC
command data is incorrect.
[Remarks]
Before issuing this command, be sure to set ’%’ (25H) at the end of
the NC command data to be verified.
12.25
TERMINATING THE
OUTPUT OF NC
COMMAND DATA TO
BE VERIFIED