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-407
servo_test_out := A 49.1, // Test stop 2 NCK by A 49.1
aux_dword := MD 220, // Marker double word internal
ready := M 211.4, // Test stop 2 executed
error := M 211.6);// Error on test stop
//
U M 211.4; // Test stop 2 successfully executed
R M 211.1; // Start test stop 1
R M 211.3; // Start test stop 2
R M 211.4; // Test stop 2 successfully executed
S M 216.0; // Start test stop step 2
NETWORK
TITLE =Test stop step 2
//Forced checking procedure of external STOPs A and C
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 the PLC side (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 not active axis X
UN DB32.DBX 111.4; // STOP A/B not 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