MC_ReadStatus_SML (FB)ΒΆ
FUNCTION_BLOCK MC_ReadStatus_SML
Returns the axis state according to the PLCopen the state diagram for a given axis.
- InOut:
Scope
Name
Type
Comment
Inout
AxisReference to the axis
Input
EnableBOOLThe status is updated continuously while enabled
Output
ValidBOOLThe status is valid
BusyBOOLThe FB is not finished and new output values are to be expected
ErrorBOOLAn error has occurred
ErrorIDThe error number
ErrorStopBOOLThe axis is in state
ErrorStopDisabledBOOLThe axis is in state
DisabledStoppingBOOLThe axis is in state
StoppingHomingBOOLThe axis is in state
HomingStandstillBOOLThe axis is in state
StandstillDiscreteMotionBOOLThe axis is in state
DiscreteMotionContinuousMotionBOOLThe axis is in state
ContinuousMotion