7 Configuring example
11.03
7.3 Safety Integrated with SPL
© Siemens AG 2003 All Rights Reserved
7-408
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
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 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 217.1;
// Start forced checking procedure of inputs
R M 217.0;
// Reset check: STOP A (NCK)
NETWORK
TITLE =Forced checking procedure of the input and output devices
//The time for performing the forced checking procedure can depend on several
//machine-specific conditions. The solution shown in this example is not
binding.
//
U M 217.1;
// Start forced checking procedure for M217.1
= 1
U "SPL".NOT_HALT;
// EMERGENCY STOP not actuated
S M 218.0;
// Check EMERGENCY STOP inputs
R M 217.1;
// Reset: Start forced checking procedure
R A 48.1;
// PLC forced checking procedure output
//
U M 218.0;
// Check EMERGENCY STOP inputs
L S5T#120MS;
// Drop-out time of contactor
SE T 22;
// Timer 22
//
U T 22;
// After drop-out time of contactor
UN A 48.1;
// PLC forced checking procedure output
UN E 76.4;
// Error case checkback input contactors = 0
S M 218.7;
// Initiate Stop D ( see FC96)
S A 48.1;
// PLC forced checking procedure output
//
U T 22;
// After drop-out time of contactor
UN A 48.1;
// PLC forced checking procedure output
U E 76.4;
// Good case checkback input contactors = 1
S M 218.1;
// Start acknowledgement
S A 48.1;
// PLC forced checking procedure output
R M 218.0;
// Check EMERGENCY STOP inputs
//
U T 22;
// After drop-out time of contactors
U E 3.7;
// RESET MCP
U E 76.0;
// EMERGENCY STOP (PLC) not actuated
U E 76.4;
// Forced checking procedure input E76.4 = 1
S M 218.1;
// Start acknowledgement
R M 218.0;
// Check EMERGENCY STOP inputs
R M 218.7;
// Withdraw Stop D
//
U M 218.1;
// Start acknowledgement
L S5T#50MS;
// Delay time EMERGENCY STOP inputs
SE T 23;
// Set timer 23
//
U T 23;
// Delay time EMERGENCY STOP inputs
UN E 76.0;
// EMERGENCY STOP actuated
R M 218.1;
// Reset acknowledgement
//
U T 23;
U E 76.0;
// EMERGENCY STOP not actuated
U E 76.4;
// Forced checking procedure input E76.4 = 1
S "SPL".QUIT_MARKER; // Acknowledge EMERGENCY STOP PLC
S M 218.2;
// Acknowledge EMERGENCY STOP NCK
R M 218.1;
// Check: EMERGENCY STOP