Delta Electronics AH — MC_ReadMotionState

AH Motion Controller – Motion Control Instructions Manual  Outputs Update Timing _3 3-134 Name Function Data type Output range (Default value) Appendices for error code descriptions. ConstantVelocity Indicates that the current velocity is constant. Velocity might be 0. BOOL True/False (False) Accelerating Indicates the absolute value of velocity is increasing. BOOL True/False (False) Decelerating Indicates the absolute value of velocity is decreasing. BOOL True/False (False) DirectionPositive Indicates the position is increasing. BOOL True/False (False) DirectionNegative Indicates the position is decreasing.

BOOL True/False (False) Name Timing for shifting to True Timing for shifting to False Valid  When Enable shifts to True and the actual motion states at the output are available.  When Enable shifts to False.  When Error shifts to True. Busy  When Enable shifts to True.  When Enable shifts to False.  When Error shifts to True. Error/ErrorID  When an error occurs in the execution conditions or input values for the instruction.(Error code is recorded)  When Enable shifts from True to False. (Error code is cleared) ConstantVelocity  When the velocity is constant.  When the velocity isn’t constant and Enable is still True. Accelerating  When the velocity is accelerating.

 When the velocity isn’t accelerating and Enable is still True. Decelerating  When the velocity is decelerating.  When the velocity isn’t decelerating and Enable is still True. DirectionPositive  When the moving direction is positive.  When the moving direction isn’t positive and Enable is still True.  When the axis is not moving and Enable is still True. DirectionNegative  When the moving direction is negative.  When the moving direction isn’t negative and Enable is still True.  When the axis is not moving and Enable is still True.