MC_Stop
This function block executes a movement stop on an axis and switches it to the "Stopping" state. All running function block executions are canceled. While the axis is in the "STOP" state, no other function block can perform a movement on the same axis. After the axis has reached speed 0, the Done output is set to TRUE. As long as Execute is still TRUE or speed 0 has not yet been reached, the axis remains in the "Stopping" state. As soon as Done is set and Execute is FALSE, the axis switches to the "Idle" state.

VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device See also AXIS_REF. |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Execute | BOOL | Start execution of the function block. |
Position | LREAL | Reference offset in user units |
BufferMode | MC_Buffer_Mode | Chronological sequence of the function block |
UseConfiguredRefOffset | BOOL | Specify whether the reference offset configured in the logical device or the Position input on the function block is used as the reference offset. |
VAR_OUTPUT
Variable name | Data type | Description |
|---|---|---|
Done | BOOL | Function block successfully completed |
Busy | BOOL | Function block is active |
Active | BOOL | Function block controls the axis |
CommandAborted | BOOL | The function block was canceled by another command |
Error | BOOL | An error has occurred in the function block |
ErrorID | WORD | Error number |
