MCV_DynPosLimitLow
If an axis position should be prevented from undershooting a specific value, this function block specifies the limit that may not be undershot. If the axis moves towards the limit, the motion is controlled so that the axis stops within the limit range. The position limit may be crossed by the distance which is travelled in one controller cycle.
Block diagram
FB parameters
VAR_IN_OUT | ||
Variable name | Data type | Description |
Axis | AXIS_REF | Axis reference |
VAR_INPUT | ||
Variable name | Data type | Description |
Enable | BOOL | If TRUE, the position limit is written to the PLC interface (HLI). |
Position | DINT | Position limit specification |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Valid | BOOL | Is TRUE when specified set value is activated. |
State | DINT | Current position limit |
Error | BOOL | Indicates whether an error has occurred in an FB. |
ErrorID | WORD | Error identifier |