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-405
= "SPL".SG_BIT_0;
// SG bit 0
NETWORK
TITLE =Supply of SGE/SGA signals to/from the PLC-SPL
//
Supply of conversion variables to axis data block
//
//
//
Supply of SPL_DATA_OUTSEP ==> I/Os
//
U "SPL".NOT_HALT1K;
= A 48.2;
// EMERGENCY STOP contactor K4
//
// Supply of SPL_DATA_OUTSIP ==> DB31, DB32, DB33
//
U "SPL".STOP_A_ABWS; // Select STOP A for spindle C
= DB33.DBX32.2;
// Drive interface for drive C
//
U "SPL".STOP_A_ABWA; // Select STOP A for axis X
= DB31.DBX32.2;
// Drive interface for drive X
= DB32.DBX32.2;
// Drive interface for drive Z
//
U "SPL".STOP_C_ABW;
// Select STOP C for axes X , Z
= DB31.DBX32.3;
// Drive interface for drive X
= DB32.DBX32.3;
// Drive interface for drive Z
= DB33.DBX32.3;
// Drive interface for drive C
//
U "SPL".STOP_D_ABW;
// Select STOP D for axes X , Z
= DB31.DBX32.4;
// Drive interface for drive X
= DB32.DBX32.4;
// Drive interface for drive Z
= DB33.DBX32.4;
// Drive interface for drive C
//
U "SPL".SBHABW;
// SBH de-selection
= DB31.DBX22.1;
// SBH de-selection axis X
= DB32.DBX22.1;
// SBH de-selection axis Z
= DB33.DBX22.1;
// SBH de-selection spindle C
//
U "SPL".SG_BIT_0;
// SG bit 0 selection
= DB31.DBX22.3;
// SG bit 0 axis X
= DB32.DBX22.3;
// SG bit 0 axis Z
= DB33.DBX22.3;
// SG bit 0 spindle C
NETWORK
TITLE =Terminal 663 ; AS1 / AS2
U DB31.DBX108.2;
// Pulses safely cancelled axis X
U DB32.DBX108.2;
// Pulses safely cancelled axis Z
= "SPL".KL_AS12_XZ;
// Terminal AS1 / AS2
= "SPL".STAT_IMP_XY; // Status, pulses cancelled
NOT ;
= "SPL".KL_663_XZ; // Terminal 663 // Terminal 663
= "SPL".IMP_FREI_XZ; // Pulse enable X, Z
//
A DB33.DBX108.2;
= "SPL".KL_AS12_C;
// Terminal AS1 / AS2
= "SPL".STAT_IMP_XY; // Status, pulses cancelled
NOT ;
= "SPL".KL_663_C // Terminal 663
= "SPL".IMP_FREI_C;
// Pulse enable C
//
END_FUNCTION