NC-subprogram end command <PPFUN ENDSUB(51)>

NC-subprogram end command <PPFUN ENDSUB(51)> together with the NC-subprogram start command <PPFUN STARTSUB(50)> is used to mark out the technology commands of the subprogram. All technology commands between <PPFUN STARTSUB(50)> and <PPFUN ENDSUB(51)>, are considered to be NC-subprogram commands. Main program commands are processed consecutively, whereas the NC-subprogram commands are skipped. The NC-subprogram commands are translated only when NC-subprogram output operators are called from one of the main program commands.

<CLD[2]> parameter holds the unique identifier of the NC-subprogram.




See also:

Technology commands description

Postprocessor function <PPFUN>

NC-subprogram start command <PPFUN STARTSUB(50)>