Operating Modes, Program Operation (K1)
10.3 Processing a part program
Turning, Milling, Nibbling
Function Manual, 11/2012, 6FC5397-1CP10-5BA0
179
Other program name
A name is specified in MD11620 PROG_EVENT_NAME (program name of PROG_EVENT).
The following directories are searched for the user program in the specified sequence:
● /_N_CUS_DIR/ for user cycles
● /_N_CMA_DIR/ for manufacturer cycles
The first program found with the stored name is called when a configured event occurs.
The same protection mechanisms that can be activated for cycles (protection levels for
writing, reading etc.) are activated.
MD20108 PROG_EVENT_MASK is ignored during the simulation.
Request which start event
In the user program, the system variable $P_PROG_EVENT can be used to request the
event, which enabled the part program.
Event
Part program start
Table 10- 7 Sequence when starting a part program
Seque
nce
Command Boundary conditions
(must be satisfied before the
command)
Comments
1 Channel selection: Reset status
Operating mode selection: AUTO or
AUTO and overstoring or
MDA or TEACH IN
None Select channel and mode
2 NC Start None NCK start
3 MD20112 START_MODE_MASK Initialization sequence with
evaluation
4 /_N_CMA_DIR/_N_PROG_EVENT_SPF or
name from MD11620
as a subroutine Implied call of the path name as
a subroutine
5 None Processing of the data part of the
main program
6 None Processing of the program part of
the main program
Event
Part program end