MC_ReadActualVelocity

Function block MC_ReadActualVelocity
Reads the actual velocity as long as Enable is TRUE. Valid is TRUE when the output velocity is valid. If Enable is FALSE, the data loses its validity, and all outputs are FALSE, no matter if new data is available.
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 Velocity LREAL The value of the actual velocity. [second]

 

  MC_ReadActualVelocity  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Enable   Valid   BOOL
        Busy   BOOL
        Error   BOOL
        ErrorID   MC_Error
        Velocity   LREAL