Delta Electronics AH — MC_VelocityControl

Chapter 3 Motion Control Instructions *Note: 1. Refer to Section 2.4 Data Type Unit (DUT): ENUM for explanation on using enumerations.  Outputs 3_  Outputs Update Timing 3-89 Name Function Data type Setting value Timing for updating (Default value) Direction Specifies the direction for servo motor rotation. PositiveDirection, NegativeDirection, CurrentDirection eMC DIREC _ TION 1: mcPositiveDirection 3: mcNegativeDirection 4: mcCurrentDirection (0) When Execute shifts to True and Busy is False. BufferMode Specifies the buffering behavior of the instruction. eMC BUFF _ ER MODE _ 0: mcAborting 1: mcBuffered (0) When Execute shifts to True and Busy is False.

Name Function Data type Output range (Default value) InVelocity True when the specified target velocity is reached. BOOL True/False (False) Busy True when the instruction is executed. BOOL True/False (False) Active True when the axis is being controlled. BOOL True/False (False) CommandAborted True when the instruction is aborted. BOOL True/False (False) Error True if an error occurs. BOOL True/False (False) ErrorID Indicates the error code if an error occurs. Refer to Appendices for error code descriptions. DWORD 16#0~16#FFFFFFFF (0) Name Timing for shifting to True Timing for shifting to False InVelocity  When the specified target velocity is reached.

 When CommandAborted shifts to True  When CommandAborted shifts to True and the target velocity is changed. Busy  When Execute shifts to True.  When Error shifts to True.  When CommandAborted shifts to True. Active  When the motion on the axis is started.  When Error shifts to True.  When CommandAborted shifts to True. CommandAborted  When this instruction is aborted by another instruction with the Buffer Mode set to mcAborting.  When this instruction is aborted  When Execute changes to False.  If Execute is False and CommandAborted shifts to True, it will be True for only one period and