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-393
Test stop step 2
FC97 program excerpt
//Forced checking procedure of the external STOPs A ,C and D
//
U
M
216.0
// Start test stop step 2
UN
DB31.DBX 108.2 // Axis X Pulses not safely cancelled
UN
DB32.DBX 108.2 // Axis Z pulses not safely cancelled
UN
DB33.DBX 108.2 // Spindle C pulses not safely cancelled
S
M 216.1
// Initiate Stop D on PLC FC96
R
M 216.0
// Reset Start test stop step 2
//
U
M 216.1
// Check Stop D on the PLC side
U
DB31.DBX 111.6 // STOP D active Axis X
U
DB32.DBX 111.6 // STOP D active Axis Z
U
DB33.DBX 111.6 // STOP D active Spindle C
S
M 216.2
// Initiate Stop C on the PLC side FC96
R
M 216.1
// Reset Check Stop D PLC
//
U
M 216.2
// Check Stop C on the PLC side
U
DB31.DBX 111.5 // STOP C active Axis X
U
DB32.DBX 111.5 // STOP C active axis Z
U
DB33.DBX 111.5 // STOP C active Spindle C
S
M 216.3
// Initiate Stop A on the PLC side FC96
R
M 216.2
// Reset Check Stop C PLC
//
U
M 216.3
// Check Stop A on the PLC side
U
DB31.DBX 111.4 // STOP A/B active Axis X
U
DB32.DBX 111.4 // STOP A/B active Axis Z
U
DB33.DBX 111.4 // STOP A/B active Spindle C
S
M 216.4
// Check: STOP A (PLC) not active
R
M 216.3
// Reset Check Stop A PLC
//
U
M 216.4
// Check: STOP A (PLC) not active
UN
DB31.DBX 111.4 // STOP A/B active Axis X
UN
DB32.DBX 111.4 // STOP A/B active Axis Z
UN
DB33.DBX 111.4 // STOP A/B not active Spindle C
S
M 216.5
// Initiate Stop D on the NCK side
R
M 216.4
// Reset Check STOP A PLC
//
U
M 216.5
// Initiate Stop D on the NCK side
=
A 49.4
// See circuit diagram and NCK-SPL
//
U
M 216.5
// Check Stop D on the NCK side
U
DB31.DBX 111.6 // STOP D active Axis X
U
DB32.DBX 111.6 // STOP D active Axis Z
U
DB33.DBX 111.6 // STOP D active Spindle C
S
M 216.6
// Initiate Stop C on the NCK side
R
M 216.5
// Reset Check Stop D NCK
//
U
M 216.6
// Initiate Stop C on the NCK side
=
A 49.3
// See circuit diagram and NCK-SPL
//
U
M 216.6
// Check Stop C on the NCK side
U
DB31.DBX 111.5 // STOP C active Axis X
U
DB32.DBX 111.5 // STOP C active axis Z
U
DB33.DBX 111.5 // STOP C active Spindle C
S
M 216.7
// Initiate Stop A on the NCK side
R
M 216.6
// Reset Check Stop C NCK
//
U
M 216.7;
// Initiate Stop A on the NCK side
= A 49.2;
// See circuit diagram and NCK-SPL
//
U
M 216.7
// Check Stop A on the NCK side
U
DB31.DBX 111.4 // STOP A/B active Axis X
U
DB32.DBX 111.4 // STOP A/B active Axis Z
U
DB33.DBX 111.4 // STOP A/B active Spindle C
S
M 217.0
// Check: STOP A (NCK) not active
R
M 216.7
// Reset Check Stop A NCK
//
U
M 217.0
// Check: STOP A (NCK) not active//
UN
DB31.DBX 111.4 // STOP A/B active Axis X
UN
DB32.DBX 111.4 // STOP A/B active Axis Z
UN
DB33.DBX 111.4 // STOP A/B not active Spindle C
S
M 217.1
// Start forced checking procedure at
inputs
R
M 217.0
// Reset check: STOP A NCK
//