Siemens SINUMERIK 840D sl Function Manual page 553

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

Advertisement

The following must be kept in mind, if the user program is to be activated through the part
program start.
● The user program must be ended with M17 or RET.
● A jump back by means of REPOS command is not permitted and leads to an alarm.
Block display
The display can be suppressed in the current block display using the DISPLOF attribute in the
PROC statement.
Processing status
Via the user M function the PLC can be informed about the processing status of the event-
driven user program.
Scan for triggering event
The event, which causes the activation of the user program, can be queried in the user program
with the following system variable:
$P_PROG_EVENT (event-driven program call active)
Value
1
2
3
4
5
Query of the current channel
The application program is basically processed in the channel, in which the corresponding
event has occurred. The current channel is queried in the user program with the following
system variables:
$P_CHANNO (query of the current channel number)
Note
Power up is an event that takes place in all channels.
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
K1: Mode group, channel, program operation, reset response
Description
Activation through part program start
Activation through part program end
Activation through Operator panel reset
Activation through Power up
Activation after output of the last action block after Block search (see "Automatic Start of an
ASUB after block search (Page 485)")
9.9 Program operation
553

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents