MC_ReadStatus (FB)
FUNCTION_BLOCK MC_ReadStatus
This function block returns in detail the status of the axis with respect to the motion currently in progress.
- InOut:
Scope
Name
Type
Comment
Input
EnableBOOLRead continuously on “TRUE”
Output
ValidBOOLValue is available
ErrorBOOLSignals that error has occurred within function block
ErrorIDError identification. For error details refer to Enumeration ERROR_ID
ErrorstopBOOLAxis is in specific state
DisabledBOOLAxis is in specific state
StoppingBOOLAxis is in specific state
StandStillBOOLAxis is in specific state
DiscreteMotionBOOLAxis is in specific state
ContinuousMotionBOOLAxis is in specific state
SynchronizedMotionBOOLAxis is in specific state
HomingBOOLAxis is in specific state
ConstantVelocityBOOLAxis is in specific state, Motor moves with constant velocity
AcceleratingBOOLAxis is in specific state, Increasing energy of the motor
DeceleratingBOOLAxis is in specific state, Decreasing energy of the motor
KernelErrorBOOLIt reflects the real error occured on the kernel
KernelWarningBOOLIt reflects the warning for the kernel
Inout
AxisReference to axis