8 Application examples 11.03
8.6 Direction detection when retracting from SE
© Siemens AG 2003 All Rights Reserved
8-468 SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
The interface signal for the hardware limit switch- (DBX12.0) should be
supplied with the inverted cam signal of SNx- and the interface signal for the
hardware limit switch+ (DBX12.1) should be supplied with the cam signal of
SN+. It should be noted that the SGA for the cam signal is not available until
the drive has powered up.
Example
(when using the 1st cam pair)
U DB10.DBX108.5 // Drives in cyclic
// mode
L S5T#50ms // Transition period to avoid
// timing problems
SE T100 // Timer as
// input delay
UN T100 // While the time has still not
SPB NOSN // expired, the HW limit switch
// signals are not supplied
UN DB<axis>.DBX109.0 // SN1-
= DB<axis>.DBX12.0 // Hardware limit switch -
U DB<axis>.DBX109.1 // SN1-
= DB<axis>.DBX12.1 // Hardware limit switch +
NOSN: NOP 0
This logic can be used to implement the required interlocking function when
retracting.
Implementation in the
PLC