Boundary Conditions; Examples - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.9 Program operation
9.9.12.4

Boundary conditions

Emergency stop / error message
If an error is present when the operator panel is reset or after powerup EMERGENCY STOP
or Mode group/NCKContinue, then the event-driven user program will only be processed after
EMERGENCY STOP or the error has been acknowledged in all channels.
Note
The power up event occurs in all channels at the same time.
9.9.12.5

Examples

Example 1: Call of all events set with MD20108
Parameter assignment:
MD20108 $MC_PROG_EVENT_MASK = 'H0F'
Programming:
Program code
PROC PROG_EVENT DISPLOF
IF ($P_PROG_EVENT==1)
MY_GUD_VAR=0
RET
ENDIF
IF ($P_PROG_EVENT==2) OR ($P_PROG_EVENT==3)
DRFOF
IF $MC_CHAN_NAME=="CHAN1"
CANCEL(2)
ENDIF
RET
ENDIF
IF ($P_PROG_EVENT==4)
554
Call of _N_PROG_EVENT_SPF for:
● Part program start
● Part program end
● Operator panel reset
● Ramp-Up
Comment
; Processing for part program start.
; Initialize GUD variable
; Processing for part program end and opera-
tor panel reset.
; Deactivate DRF offsets
; Delete modal synchronized action 2
; Sequence for power-up
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents