11.03
7 Configuring example
7.3 Safety Integrated with SPL
© Siemens AG 2003 All Rights Reserved
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
7-401
7.3.10 NCK-SPL
%_N_SAFE_SPF
;$PATH=/_N_CST_DIR
; SAFE_CHECKSUM = 000429caH
;
=========================================================
==
; File: safe.spf
; Author:
; Creation date:
; -------------------------------------------------------
; "Drives: one s two feed drives"
; "Contactless EMERGENCY STOP + forced checking procedure
; "Test stop"
; "SBH/SG selection using the key-operated switch when the protective door is open"
; ====================================================
;
; ---- External interfaces ----
;
DEFINE NOT_HALTE AS $A_INSE[1]
DEFINE TUERZUVER AS $A_INSE[2]
DEFINE NOT_QUIT AS $A_INSE[4]
DEFINE SCHLUESSEL AS $A_INSE[5]
DEFINE KL_AS12_XZ AS $A_INSE[7]
DEFINE KL_AS12_C AS $A_INSE[8]
DEFINE TESTSTOP1E AS $A_INSE[9]
DEFINE TESTSTOP2E AS $A_INSE[10]
DEFINE TEST_STOPA AS $A_INSE[11]
DEFINE TEST_STOPC AS $A_INSE[12]
DEFINE TEST_STOPD AS $A_INSE[13]
;
DEFINE NOT_HALT2K AS $A_OUTSE[1]
DEFINE KL_663_XZ AS $A_OUTSE[3]
DEFINE KL_663_C AS $A_OUTSE[4]
;
;
; ---- Internal interfaces ----
DEFINE IMP_FREI_XZ AS $A_INSI[1]
DEFINE IMP_FREI_C AS $A_INSI[2]
;
DEFINE STOP_A_ABWS AS $A_OUTSI[1]
DEFINE STOP_A_ABWA AS $A_OUTSI[2]
DEFINE STOP_C_ABW AS $A_OUTSI[3]
DEFINE STOP_D_ABW AS $A_OUTSI[4]
DEFINE SBHABW AS $A_OUTSI[5]
DEFINE SG_BIT_O AS $A_OUTSI[6]
DEFINE TEST1STOP AS $A_OUTSI[7]
DEFINE TEST2STOP AS $A_OUTSI[8]
DEFINE STAT_IMP_XZ AS $A_OUTSI[9]
DEFINE STAT_IMP_C AS $A_OUTSI[10]
;
;
;
; ---- Marker ----
DEFINE MERK1 AS $A_MARKERSI[1]
DEFINE NOT_HALT AS $A_MARKERSI[2]
DEFINE QUIT_REQUEST AS $A_MARKERSI[3]
DEFINE QUIT_MARKER AS $A_MARKERSI[4]
DEFINE STOP_A_A AS $A_MARKERSI[7]
DEFINE STOP_A_S AS $A_MARKERSI[8]
;
;
; ---- Timer ----
DEFINE TIMER1 AS $A_TIMERSI[1]
DEFINE TIMER2 AS $A_TIMERSI[2]
DEFINE QUIT_TIMER3 AS $A_TIMERSI[3]
;
;
; ---- EMERGENCY STOP acknowledgment via PLC ----
DEFINE QUIT_PLC AS $A_DBB[4]
;
;
; -------------------------------------------------------
N0040 MSG("SPL Start")