Boundary Conditions; Examples - Siemens SINUMERIK 828D Function Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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

Boundary conditions

Emergency stop / error message
If an error is present when the operator panel is reset or after power­up EMERGENCY STOP or Mode group/
NCK­Continue, 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)
IF $MC_CHAN_NAME=="CHAN1"
IDS=1 EVERY $A_INA[1]>5.0 DO $A_OUT[1]=1
586
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
operator panel reset.
; Deactivate DRF offsets
; Delete modal synchronized action 2
; Sequence for power-up
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents