Siemens SINUMERIK 840D sl Function Manual page 267

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

Advertisement

For the PROG_EVENT.SPF cycle, MD11602 $MN_ASUP_START_MASK,
PROG_EVENT.SPF and the SAFE.SPF are taken into account, which can be used to set that
stop reasons for the sequence are ignored.
In order to be able to use $MC_PROG_EVENT_MASK and $MN_ASUP_START_MASK, the
"Cross-mode actions" option must be activated.
Example for PROG_EVENT.SPF
; -------------------------------------------------
; Event-controlled program call
; PROG_EVENT.SPF under \DH\CMA.DIR;
--------------------------------------------------------
; -------------------------------------------------
; In machine data MD20108 PROG_EVENT_MASK, on a channel-for-channel basis, you can
set; as to which of the following events should activate the user program:
; ( ) part program start --> bit0 ==1
; ( ) part program end
; ( ) operator panel
reset
; ( x ) booting
; ----------------------------------------------------------------
; Using system variable $P_PROG_EVENT, it can be interrogated as to which event activated
the call:
; ( ) part program start --> $P_PROG_EVENT == 1
; ( ) part program end
; ( ) operator panel
reset
; ( x ) booting
;
;------------------------------------ Cycle definition ------------
; Suppress single block, display
; -----------------------------------------------------------------
N100 PROG_EVENT SBLOF DISPLOF
;
; Start of the NCK-SPL
;------------------------------------------------------------------
N200 IF ($P_PROG_EVENT = 4); boot query
N300 CALL "/_N_CST_DIR/_N_SAFE_SPF"
N400 ENDIF
N500 ...
Safety Integrated
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
--> bit1 == 1
--> bit2 == 1
--> bit3 = = 1
--> $P_PROG_EVENT == 2
--> $P_PROG_EVENT == 3
--> $P_PROG_EVENT == 4
Connecting sensors and actuators
8.5 Safe programmable logic
267

Advertisement

Table of Contents
loading

Table of Contents