Event-Driven Program Call (Prog_Event); Function - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

9.9.12

Event-driven program call (PROG_EVENT)

9.9.12.1

Function

Function
The "Event-driven program calls" function provides the option that when a certain event occurs
in the NC, an NC program with user-defined content can be executed. For example, to initiate
the basic setting of functions or initialize system and user variables.
Events
Triggering events can be:
● Program start
● End of program
● Channel reset
● Powering-up of the NC
The triggering events are selected with the machine data MD20108
$MC_PROG_EVENT_MASK (see Section "Parameterization (Page 549)").
User program
In the default setting the program _N_PROG_EVENT_SPF is activated after the triggering
event occurs. Using machine data MD11620 $MN_PROG_EVENT_NAME, another program
can be parameterized (see Chapter "Parameterization (Page 549)").
The activated user program is executed in the channel in which the event had occurred.
The application program is executed with the lowest priority and so can be interrupted by the
user ASUB.
Processing sequence
Sequence when activated by an event: Program start
Initial state:
Channel:
Mode:
1. A program starts in the channel
2. Initialization sequence with evaluation of:
– MD20112 $MC_START_MODE_MASK
3. Implicit call of _N_PROG_EVENT_SPF as part program
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
K1: Mode group, channel, program operation, reset response
Reset status
AUTOMATIC (optional: Overstore (active)
MDI
TEACH IN
9.9 Program operation
545

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents