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-367
The following machine data must either be set or checked to ensure error-free
start-up of the NCK-SPL.
11602 ASUP_START_MASK
7H
11604 ASUP_START_PRIO_LEVEL
1H
7.3.1
Start configuration in the OB100
A marker (M210.0) is set in FC 95 in OB100 to start the NCK ASUB. This
marker also inhibits initialization of the PLC-SPL (FC96) in OB1 until the NCK-
SPL has started.
The PLC outputs that are used for the forced-checking procedure of the inputs
and outputs must be set to "1".
From software release 5.3 onwards (or from 04.04.29), it is no longer
necessary to pre-assign the INSIP variables in the DB18. Parameterization of
machine data 10095 SAFE_MODE_MASK = "0" (default setting) ensures that
all SGAs of the NCK channel are automatically set to "0", also the INSI
variables (if SPL is used).
Any NC alarm can prevent ASUB SAFE.SPF from starting up. They must be
cancelled when the system is running-up. For example, in the program excerpt,
the EMERGENCY STOP alarm is cancelled during run-up.
OB100 program excerpt:
// Set ASUB_start_marker and forced checking procedure
//output / Reset alarms (e.g. EMERGENCY STOP)
SET
S
M 210.0
// NCK ASUB Start
S
A 88.1
// Supply EMERGENCY STOP
R
DB10.DBX56.1 // Deactivate EMERGENCY STOP (PLC)
R
DB21.DBX21.7 // De-activate single block
//
// Pre-assignment of SGE
L 0
// Logical "0”
T DB31.DBW 22 // SGE axis X
T DB32.DBW 22 // SGE axis Z
T DB33.DBW 22 // SGE spindle C
T DB31.DBW 32 // SGE axis X
T DB32.DBW 32 // SGE axis Z
T DB33.DBW 32 // SGE spindle C
The bits in the axis/spindle data blocks are not cleared when the system runs-
up (only valid up to SW 5 – from SW 5 the bits in the axis/spindle data block are
deleted when the system runs-up). The supply of values to the NCK-SGE is
however slightly delayed by the NCK-SPL running-up so that the crosswise
data comparison of the SGE signals can respond. This is the reason that the
SGEs on the PLC side must be pre-assigned a value of "0".
Description
Program
Description