7 Configuring example
11.03
7.3 Safety Integrated with SPL
© Siemens AG 2003 All Rights Reserved
7-380
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
KL_AS12_C
N430 IDS=60 DO KL_663_XZ = IMP_FREI_XZ KL_663_C =
IMP_FREI_C
;
The PLC SPL cannot directly interrogate the status of terminals AS1/AS2 and
terminal 663 . However, it can interrogate the bit "pulses safely cancelled" at
the axis-specific drive interface. The signal status of the system variables used
in the NCK SPL can be emulated using this signal (or group signal for dual-axis
modules).
This emulation must be programmed for each drive separately.
FC96 program excerpt:
//
// ----- Supply, DB18 (terminals AS1/AS2 and 663) -----
//
Simulation of the NCK input (INSE variable)
U DB31.DBX 108.2
// Pulses cancelled Axis X
U DB32.DBX 108.2
// Pulses cancelled Axis Z
= "SPL".KL_AS12_XZ
// Terminal AS1 / AS2
U DB33.DBX 108.2
// Pulses cancelled Axis C
= "SPL". KL_AS12_C
// Terminal AS1 / AS2
//
// Assignment INSE (AS1/AS2) -> OUTSI (SGE: Pulses
cancelled)
// Assignment -> INSI (SGA: Pulses
enabled)
// Assignment INSI (SGA Pulses enabled)
-> OUTSE (terminal 663)
U "SPL".KL_AS12_XZ
// Terminal AS1 / AS2
= "SPL".STAT_IMP_XZ
// Status, pulses cancelled
NOT
=
"SPL".KL_663_XZ //
Terminal
663
= "SPL".IMP_FREI_XZ
// Pulse enable X,Z
//
U "SPL". KL_AS12_C
// Terminal AS1 / AS2
= "SPL". STAT_IMP_C
// Status pulses cancelled
NOT
= "SPL". KL_663_C
// Terminal 663
= "SPL". IMP_FREI_C
// Pulse enable C
//
2nd alternative
If a separate input and output byte are provided at the MCK I/Os to supply
terminals 663 and AS1/AS2 in the cabinet configuration, then the programming
shown above does not apply.
Example:
The two 663 terminals of the drive modules are connected to the second output
byte of the DMP output module. This byte is not assigned to the NCK-SPL via
machine data:
MD: 10392 SAFE_OUT_HW_ASSIGN[0] = 01040201 H
MD: 10392 SAFE_OUT_HW_ASSIGN[1] = 0 H
Pulse cancellation by Safety Integrated is directly parameterized using the axis-
specific safety machine data at the two outputs 9 and 10:
(mixed operation of safety level 1 and safety level 2 (SPL logic)).
When considering mixed mode for NCK I/Os used in conjunction with Safety
Integrated, two cases must be taken into account.
Description
Program
Description
Mixed mode
NCK I/Os