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-369
An overview of the PLC program structure used is given in the Appendix
(Subsection 7.3.12).
Note
From software release 6.4.15 onwards, the NCK-SPL can also be started
using the PROG_EVENT mechanism (refer to Chapter 3.10.13).
OB1 program excerpt:
//
CALL
"GP_HP"
// Basic program
//
CALL
FC 95
// "Start NCK-SPL"
U
M 210.0
// NCK SPL inactive
BEB
// PLC SPL is started
//
if
NCK-SPL
is
started
//
// Before running the ASUB "SAFE.SPF", it is not
// advisable to run any of the user program blocks
// Exception: To check correct functioning of
// function block FC 19, it might be necessary to run
// it immediately. In this case,
// critical function keys such as RESET and single block
// must be de-activated until the SPL has started:
// Example:
// U
M 210.0
// NCK SPL inactive
// R
E3.7
// Reset RESET key
//.R
E3.5
// Reset single block key
CALL
FC 50
// User program
CALL
FC 51
// User program
//
CALL
FC 96
// PLC SPL
CALL
FC 97
// Safety test stop
//
The NCK SPL is started with the programs (PLC basic program) FB4 and FC9.
Once it has successfully started, marker 210.0 is reset in order to enable
processing of the PLC blocks FC96 (PLC SPL) and FC97 (safety test) in OB1.
Program
Description