Siemens Sinumerik 840D sl Function Manual page 298

Sinumerik safety integrated
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Connecting Sensors/Actuators
7.5 Safe programmable logic (SPL)
; --------------------------------------------------------
; event-controlled program call
; PROG_EVENT.SPF under
; --------------------------------------------------------
;
Machine data MD20108 PROG_EVENT_MASK can be set channel--spe-
;
cifically as to which of the following events will enable the user program:
;
;
( ) Start of the part program --> bit0 == 1
;
( ) End of the part program
;
( ) Operator panel reset
;
(x) Boot
; --------------------------------------------------------------------------------------------------------------
;
Using the system variable $P_PROG_EVENT, it can be interrogated as to
;
which event activated the call:
;
( ) Part program–Start
;
( ) Part program–End
;
( ) Operator panel–Reset
;
(x) Booting
;
;-------------------- Cycle definition ------------------
; Suppress single block, display
;--------------------------------------------------------
N100 PROC PROG_EVENT SBLOF DISPLOF
;
; Start of the NCK-SPL
; -------------------------------------------------------
N200 IF ($P_PROG_EVENT == 4); boot query
N300
N400 ENDIF
N500 ...
N600 ...
N700 M17 ; End of cycle
The part program SAFE.SPF is called if the system variable check
$P_PROG_EVENT indicated that the part program call PROG_EVENT.SPF was
called when the control system booted.
7-298
SINUMERIK 840D sl/SINAMICS S120 SINUMERIK Safety Integrated (FBSI sl) - - 10.2015 Edition
DHCMA.DIR
CALL "/_N_CST_DIR/_N_SAFE_SPF"
--> bit1 == 1
--> bit2 == 1
--> bit3 == 1
--> $P_PROG_EVENT == 1
--> $P_PROG_EVENT == 2
--> $P_PROG_EVENT == 3
--> $P_PROG_EVENT == 4
© Siemens AG 2015 All Rights Reserved
10/15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics s120

Table of Contents