K1: Mode group, channel, program operation, reset response
9.9 Program operation mode
Programming
Syntax:
REPEAT <Label> [P=n]
Label
P
n
9.9.12
Eventdriven program calls
9.9.12.1
Function
What is the purpose of the function?
The function "Event-driven program calls" offers the possibility of letting an application program run implicitly
during certain events, such as for doing the default settings of functions of initializations.
Events
Triggering events can be:
•
Part program start
•
Part program end
•
Operator panel reset
•
Power-up of the NC control
The triggering events are selected with the machine data MD20108 $MC_PROG_EVENT_MASK (see chapter
"Parameterization").
User program
In the default setting the program _N_PROG_EVENT_SPF is activated after the triggering event occurs. If a
different application program is to be activated, then it must be entered in the machine date MD11620
$MN_PROG_EVENT_NAME (see chapter "Parameterization").
The application program activated by the event is basically processed in the channel, in which the respective
event occurred.
The application program is executed with the lowest priority and so can be interrupted by the user ASUB.
576
Start label to which the instruction: REPEAT branches.
Beginning of the part program section that is repeated.
Type: String
Number of repetitions
Number of repetitions
Type: Integer
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions