MC_ReadStatus

Function block MC_ReadStatus
Reads the status of the selected axis.
VAR_IN_OUT
B AxisIn AXIS_REF Reference to an axis.
VAR_INPUT
B Enable BOOL Gets the value of the parameter continuously while enabled.
VAR_OUTPUT
B Valid BOOL A valid output is available at the function block.
E Busy BOOL The function block is not finished and new output values are to be expected.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
B ErrorStop BOOL The axis goes to a stop because an error has occured.
B Disabled BOOL The movement of the axis is not influenced by function blocks. Power is off and there is no error in the axis.
B Stopping BOOL Stops the motion. It aborts any ongoing function blocks.
E Homing BOOL Commands the axis to perform the "search home" sequence. The details of this sequence are manufacturer dependent and can be set by the parameters of an axis.
B Standstill BOOL Power is on. There is no error in the axis, and there are no motion commands active on the axis.
E DiscreteMotion BOOL The motion will stop after completing the motion.
E ContinuousMotion BOOL The axis keeps running at a constant speed.
E SynchronizedMotion BOOL The axis becomes a slave axis and its motion follows the master axis.

 

  MC_ReadStatus  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Enable   Valid   BOOL
        Busy   BOOL
        Error   BOOL
        ErrorID   MC_Error
        ErrorStop   BOOL
        Disabled   BOOL
        Stopping   BOOL
        Homing   BOOL
        Standstill   BOOL
        DiscreteMotion   BOOL
        ContinuousMotion   BOOL
        SynchronizedMotion   BOOL