Programming instructions

NC Programming 17VRS Commands for Controlling Processes and Programs
9-3
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Reverse Process
‘RP’
The "RP" command starts the subprogram which is addressed by the
reverse vector in the declared process. Any active forward program which
may be present is interrupted and the currently valid reverse vector ad-
dresses the branch-to location in the reverse program.
RP <process>
RP 4
RP <variable>
Process[0..6] internal processes
Process[7..31] external mechanisms
The subroutine addressed by the reverse vector must be located in the
program in which the reverse vector was programmed.
The RP command can be used more than once in the NC block, and a
number of reverse programs can be started simultaneously in one NC
block.
Advance Program
‘AP’
The "AP" command starts the selected forward program in an inactive
process. If the process was already active, NC block processing in the
process in which the "AP" command was programmed is stopped until the
process which is to be started again has finished. The declared process is
then started, and NC block processing of the interrupted process is con-
tinued.
AP <process>
AP 1
AP <variable>
Process[0..6] internal processes
Process[7..31] external mechanisms
The AP command can be used more than once in an NC block. A
number of forward programs can be started simultaneously in a single
NC block.
Wait for Process ‘WP’
NC block processing of the program from which the call is made is held in
the NC block in which "WP" is programmed until the process selected in
the command parameter has finished processing.
WP <process>
WP 5
WP <variable>
Process[0..6] internal processes
Process[7..31] external mechanisms
Once the process selected in the command parameter is finished, execu-
tion of the NC program from which the call was made can continue.
The process control command "WP" can be programmed more than
once in a single NC block.
The "WP" command should not be programmed in a portion of a pro-
gram in which tool path compensation is active. If this proves to be
unavoidable, be certain the WP is only programmed between
linear
NC block transitions.
Syntax
Syntax
Syntax