FUNCTION_BLOCK MC_ReadStatus
This function block returns the detailed status of the axis with respect to the motion currently in progress.
InOut:
| Scope | Name | Type | Initial | Comment | 
| Inout | Axis | Reference to axis | ||
| Input | Enable | BOOL | FALSE | TRUE: While TRUE, the parameter values are read out continuously. | 
| Output | Valid | BOOL | FALSE | TRUE: Valid outputs are available. | 
| Busy | BOOL | FALSE | TRUE: Execution of the function block is not finished. | |
| Error | BOOL | FALSE | TRUE: Error has occurred within the function block. | |
| ErrorID | SMC_ERROR | 0 | Error identification | |
| Disabled | BOOL | FALSE | TRUE: Axis is in state disabled (see SMC_AXIS_STATE). | |
| Errorstop | BOOL | FALSE | TRUE: Axis is in state errorstop (see SMC_AXIS_STATE). | |
| Stopping | BOOL | FALSE | TRUE: Axis is in state stopping (see SMC_AXIS_STATE). | |
| StandStill | BOOL | FALSE | TRUE: Axis is in state standstill (see SMC_AXIS_STATE). | |
| DiscreteMotion | BOOL | FALSE | TRUE: Axis is in state discrete_motion (see SMC_AXIS_STATE). | |
| ContinuousMotion | BOOL | FALSE | TRUE: Axis is in state continuous_motion (see SMC_AXIS_STATE). | |
| SynchronizedMotion | BOOL | FALSE | TRUE: Axis is in state synchronized_motion (see SMC_AXIS_STATE). | |
| Homing | BOOL | FALSE | TRUE: Axis is in state homing (see SMC_AXIS_STATE). | |
| ConstantVelocity | BOOL | FALSE | TRUE: Motor moves with constant velocity. | |
| Accelerating | BOOL | FALSE | TRUE: Energy of motor increases. | |
| Decelerating | BOOL | FALSE | TRUE: Energy of motor decreases. | |
| FBErrorOccured | BOOL | FALSE | TRUE: Function block error has occured. It has not yet been cleared with SMC_ClearFBError. |