Programming instructions

9-2
Commands for Controlling Processes and Programs NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
A management process (process 0) must always be present. This proc-
ess is responsible for synchronizing the existing processes and external
mechanisms, assuming this is necessary. If the system consists of a sin-
gle station, the coordination task and the axes are assigned directly to the
management process.
Note:
The number and organization of the processes and external
mechanisms is set by the machine builder in the system pa-
rameters.
Define Process ‘DP’
The "DP" command uses an internal signal to inform the SPS that the
process is needed during NC-program execution. The SPS uses this in-
formation to initialize process-specific signals.
DP <process>
DP 2
DP <variable>
Process[0..6] internal processes
Process[7..31] external mechanisms
All other process control commands will not be accepted unless the cor-
responding process was previously defined using "DP."
The "DP" command can be used more than once in the NC-block and
a number of processes can be defined simultaneously in one NC-
block.
The definition of a process using "DP" is canceled at the end of the
program.
Select NC Program for
Process
‘SP’
The "SP" command selects the program having the specified program
number from the active NC program package for the specified process.
The program number corresponds to the number which is stated in the
program directory for the given process.
SP <process> <program number>
SP 3 25
SP <variable> <variable>
Process[0..6] internal processes
Process[7..31] external mechanisms
NC program number [1..99] NC program number in
active program package
The NC program number for the next program which is to be processed
can be selected while a process is still active. The selected program is not
activated until the next reboot.
The SP command must not be used more than once in an NC block.
Syntax
Syntax