Siemens SINUMERIK 840D Description Of Functions page 374

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

Advertisement

7 Configuring example
7.3 Safety Integrated with SPL
Symbolic
At the beginning of the NCK-SPL (standard cycle SAFE.SPF), freely selectable
names are assigned to system variables $A_INSE/$A_OUTSE and $A_INSI/
$A_OUTSI using the "DEFINE" instruction. This makes the program easier to
read and facilitates making changes to the terminal assignment.
The "DEFINE" statements must be placed at the beginning of the NCK-SPL. In
the tabular list, names used in the example program are listed in the column
headed "Symbolic".
NCK-SPL program excerpt
/
;
; ---- External interfaces ----
;
DEFINE NOT_HALTE
DEFINE TUERZUVER
DEFINE NOT_QUIT
DEFINE SCHLUESSEL
DEFINE KL_AS12_XZ
DEFINE KL_AS12_C
DEFINE TESTSTOP1E
DEFINE TESTSTOP2E
DEFINE TEST_STOPA
DEFINE TEST_STOPC
DEFINE TEST_STOPD
;
DEFINE NOT_HALT2K
DEFINE KL_663_XZ
DEFINE KL_663_C
;
;
; ---- Internal interfaces ----
;
DEFINE IMP_FREI_XZ
DEFINE IMP_FREI_C
;
DEFINE STOP_A_ABWS
DEFINE STOP_A_ABWA
DEFINE STOP_C_ABW
DEFINE STOP_D_ABW
DEFINE SBHABW
DEFINE SG_BIT_O
DEFINE TEST1STOP
DEFINE TEST2STOP
DEFINE STAT_IMP_XZ
DEFINE STAT_IMP_C
;
;
; ----- Markers ----
;
DEFINE MERK1
DEFINE NOT_HALT
DEFINE QUIT_REQUEST
DEFINE QUIT_MARKER
DEFINE STOP_A_A
DEFINE STOP_A_S
;
;
; ----- Timers ----
;
DEFINE TIMER1
DEFINE TIMER2
DEFINE QUIT_TIMER3
;
;
7-374
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
AS $A_INSE[1]
AS $A_INSE[2]
AS $A_INSE[4]
AS $A_INSE[5]
AS $A_INSE[7]
AS $A_INSE[8]
AS $A_INSE[9]
AS $A_INSE[10]
AS $A_INSE[11]
AS $A_INSE[12]
AS $A_INSE[13]
AS $A_OUTSE[1]
AS $A_OUTSE[3]
AS $A_OUTSE[4]
AS
$A_INSI[1]
AS
$A_INSI[2]
AS
$A_OUTSI[1]
AS
$A_OUTSI[2]
AS
$A_OUTSI[3]
AS
$A_OUTSI[4]
AS
$A_OUTSI[5]
AS
$A_OUTSI[6]
AS
$A_OUTSI[7]
AS
$A_OUTSI[8]
AS
$A_OUTSI[9]
AS
$A_OUTSI[10]
AS
$A_MAKERSI[1]
AS
$A_MAKERSI[2]
AS
$A_MAKERSI[3]
AS
$A_MAKERSI[4]
AS
$A_MAKERSI[7]
AS
$A_MAKERSI[8]
AS
$A_TIMERSI[1]
AS
$A_TIMERSI[2]
AS
$A_TIMERSI[3]
© Siemens AG 2003 All Rights Reserved
11.03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simodrive 611 digital

Table of Contents