
B–61863E–1/06
12. NC COMMAND PROGRAM (PMC-SC)PMC LIBRARY
289
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_nc_vrfend
[Description]
Executes processing to stop outputting the data of the NC command
to be checked.
[Format]
ret = pl_nc_vrfend() ;
short ret ;
[Input]
______
[Output]
______
[Returns]
ret Complete code (–11, –2, 0, 5)
–11: The NC has not terminated or executed processing to start
outputting the data of the NC command to be checked.
2: The NC has entered the reset state.
0: The NC has normally terminated checking the data of the NC
command.
5: Compared with the previous data output, the data specified for
the NC command is incorrect. This completion code is
returned when the NC command data was not checked
properly, when the machining program of the NC to be checked
has been selected in the foreground, or when incorrect data of
the NC command has been specified.
[Remarks]
Before this termination command is issued, ’%’ (25H) must be output
in the data of the NC command.
12.6
EXECUTING
PROCESSING TO
STOP OUTPUTTING
THE DATA OF THE
NC COMMAND TO BE
CHECKED