7.16.10 MC_ReadStatus
Function
Returns the detailed status of the state diagram for the selected axis
LD graphics

Parameter description
| Parameters | Type | Declaration | Description | Remarks |
|---|---|---|---|---|
| Axis | AXIS | VAR_IN_OUT | System axis for executing commands | Invoke Function Block |
| Enable | BOOL | VAR_IN | Enable or not | |
| Valid | BOOL | VAR_OUT | If there is a valid set of outputs available, the output is TRUE | |
| Busy | BOOL | VAR_OUT | Whether there is a valid output for FB, True:FB is not terminated | |
| Error | BOOL | VAR_OUT | An error signal has occurred within the FB | |
| ErrorID | WORD | VAR_OUT | Error ID | |
| ErrorStop | BOOL | VAR_OUT | Indicates if the axis is in the "Error Stop" state (the intention of this state is that the axis stops and no further motion commands will be accepted until reset) | |
| Disabled | BOOL | VAR_OUT | Indicates whether the axis is in the "disabled" state (power is off and the axis has no errors) | |
| Stopping | BOOL | VAR_OUT | Indicates whether the axis is in a stopping sequence | |
| Standstill | BOOL | VAR_OUT | Indicates whether the axis is in a "standstill" state (power on, no errors on the axis, and no motion commands on the axis) | |
| DiscreteMotion | BOOL | VAR_OUT | Indicates whether the axis is in "discrete motion" | |
| ContinuousMotion | BOOL | VAR_OUT | Indicates whether the axis is in "continuous motion" | |
| SynchronizedMotion | BOOL | VAR_OUT | Indicates whether the axis is in "synchronous motion" | |
| Homing | BOOL | VAR_OUT | Whether the axis is in the homing sequence | |
| ConstantVelocity | BOOL | VAR_OUT | Indicates whether the axis is moving at a constant speed | |
| Accelerating | BOOL | VAR_OUT | Indicates whether the axis is accelerating | |
| Decelerating | BOOL | VAR_OUT | Indicates whether the axis is decelerating |