MC_ReadStatus (FB)ΒΆ
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
AxisReference to axis
Input
EnableBOOLFALSE
TRUE: WhileTRUE, the parameter values are read out continuously.Output
ValidBOOLFALSE
TRUE: Valid outputs are available.BusyBOOLFALSE
TRUE: Execution of the function block is not finished.ErrorBOOLFALSE
TRUE: Error has occurred within the function block.ErrorIDSMC_ERROR0
Error identification
DisabledBOOLFALSE
TRUE: Axis is in statedisabled(see SMC_AXIS_STATE).ErrorstopBOOLFALSE
TRUE: Axis is in stateerrorstop(see SMC_AXIS_STATE).StoppingBOOLFALSE
TRUE: Axis is in statestopping(see SMC_AXIS_STATE).StandStillBOOLFALSE
TRUE: Axis is in statestandstill(see SMC_AXIS_STATE).DiscreteMotionBOOLFALSE
TRUE: Axis is in statediscrete_motion(see SMC_AXIS_STATE).ContinuousMotionBOOLFALSE
TRUE: Axis is in statecontinuous_motion(see SMC_AXIS_STATE).SynchronizedMotionBOOLFALSE
TRUE: Axis is in statesynchronized_motion(see SMC_AXIS_STATE).HomingBOOLFALSE
TRUE: Axis is in statehoming(see SMC_AXIS_STATE).ConstantVelocityBOOLFALSE
TRUE: Motor moves with constant velocity.AcceleratingBOOLFALSE
TRUE: Energy of motor increases.DeceleratingBOOLFALSE
TRUE: Energy of motor decreases.FBErrorOccuredBOOLFALSE
TRUE: Function block error has occured. It has not yet been cleared with SMC_ClearFBError.