4 hardware limit switch (ecsxm axis module) – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 51

DMS 5.2 EN 03/2011 TD17
L
51
L-force | PLC Designer - SoftMotion
The SoftMotion drive interface
Drive element
3.3.1.4
Hardware limit switch (ECSxM axis module)
The response behaviour to hardware limit switches is configured via C3175 within the
drive. If C3175 <> 3, the drive responds to the hardware limit switches. In this case it could
be impossible for the software to move an axis beyond its limit values, as the drive blocks
this process. Only in the case of the setting C3175 = 3, not the drive, but the controller is
responsible for the hardware limit switches:
If bControllerHandlesHWLimits (default setting) is set, and the axis is operated with a
hardware limit switch, the controller stops the axis and transfers it to error stop. After a
MC_Reset has been carried out on the drive, it can be moved in the direction leading away
from the limit switch, while the other direction is blocked. As soon as the drive moves in
the opposite direction, an error is actuated.
Depending on the deceleration value, the stop is carried out by means of a ramp
(fLimitSwitchDeceleration>0) or immediately (other setting/default setting).
In the LenzeECSdrive.lib library a specific FB is provided to set all values required for this
purpose:
If bExecute has a rising edge, the new values are set.