
Operating Modes, Program Operation (K1)
10.3 Processing a part program
Turning, Milling, Nibbling
Function Manual, 11/2012, 6FC5397-1CP10-5BA0
185
Sequence for part program start
IF ($P_PROG_EVENT == 1)
N 10 R100 = 0
; Transfer parameters for machining cycles
N 20 M17
ENDIF
Sequence for part program end and operator panel reset
IF ($P_PROG_EVENT == 2) OR ($P_PROG_EVENT == 3)
N10 R20 = 5
N20 ENDIF
N30 M17
ENDIF
Sequence for powerup
IF ($P_PROG_EVENT == 4)
N10 $SA_SPIND_S[Ax4] = 0
; Speed for spindle start through virtual
interface
N20 ENDIF
N30 M17
ENDIF
M17
Start with RESET key
One of the following part programs is automatically started with the RESET key:
●
Whose name is in MD11620 PROG_EVENT_NAME (program name for Prog Event) and
that has been stored in one of the /_N_CUS_DIR/ or /_N_CMA_DIR/ directories
●
_N_PROG_EVENT_SPF (default).
Control via MD20107 PROG_EVENT_IGN_INHIBIT
If the following machine data settings are present:
MD20107 PROG_EVENT_IGN_INHIBIT= 'H04F'
MD20108 PROG_EVENT_MASK= 'H04F'
The program started with the RESET key is executed right up to the end independently of a
possibly set read-in disable.