L_MC1P_SetQuickStopAppl
This FB can be used to trigger a quick stop in the application; the ramps are calculated in the control system.
The axis is brought to a standstill with the values configured for deceleration and jerk in subindex 48 and 49 .
-
The generated stop ramp starts at the actual speed regardless of the currently active setpoint.
-
The drive stops with speed control.
-
The drive is then switched to position control.
-
A stop ramp that has been started cannot be cancelled by other movement commands until the axis comes to a standstill
|
Note!
It is not possible for multiple instances to be processed simultaneously for a single axis. A status message indicating that the quick stop application is active is available at the QSPApplActive output of MC_ReadAxisInfo . |
|
|
|
|
L_MC1P_SetQuickStopAppl |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXIS_REF |
- |
|
Axis |
xBusy |
|
- |
BOOL |
|
BOOL |
- |
|
xEnable |
xActive |
|
- |
BOOL |
|
|
|
|
|
xError |
|
- |
BOOL |
|
|
|
|
|
eErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
Axis |
Transfer of the axis data structure |
|
|
xEnable BOOL |
TRUE |
Start execution of the function block. |
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
xBusy BOOL |
TRUE |
Execution in progress. The FB is called with xEnable = TRUE |
|
xActive BOOL |
TRUE |
The axis is brought to a standstill by the function Quick stop application/error stop . If the input xEnable is reset to FALSE while the deceleration ramp is being executed, xActive remains set to TRUE until the drive has reached standstill, unless the function is replaced by a higher priority action. |
|
xError BOOL |
TRUE |
An error has occurred. For details see eErrorID . |
|
eErrorID |
If xError = TRUE: Error number for the error that has occurred.
|
|
Motion axes (AXIS_REF)