Delta Electronics AH — MC_SetPosition

AH Motion Controller – Motion Control Instructions Manual  Outputs  Outputs Update Timing _3  Timing Diagram  In-Outs *Note : Kn refers to the maximum supported axes of different models. For example, AH20EMC-5A supports K1~K32. 3-108 Name Function Data type Output range (Default value) Done True when the position change is completed. BOOL True/False (False) Busy True when the instruction is executed. BOOL True/False (False) Error True if an error occurs. BOOL True/False (False) ErrorID Indicates the error code when the 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 Done  When the position change is completed  When Execute shifts from True to False.  If Execute is False and Done shifts to True, it will be True for only one period and immediately shift to False. Busy  When Execute shifts to True and the instruction is executed.  When Done shifts to True.  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 Execute shifts from True to False.

(Error code is cleared) Name Function Data type Setting value Timing for updating (Default value) Axis Motion axis number WORD K1~Kn* (0) When Execute is rising edge triggered and Busy is False.