AH Motion Controller – Motion Control Instructions Manual Outputs _3 Outputs Update Timing 3-144 Name Function Data type ( Setting value Timing for updating Default value) LastPosition Defines the stop position of the window mask to capture the trigger event (user unit*2) LREAL Negative number, positive number, or 0 (0) When Execute shifts to True and Busy is False. Name Function Data type Output range (Default value) Done True when a trigger event is recorded BOOL True/False (False) Busy True when the instruction is executed. Awaits the completion of trigger event recording.
BOOL True/False (False) CommandAborted True when the instruction is aborted (MC AbortTrigger) _ 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) RecordedPosition Indicates the position where trigger event is recorded (in user unit) LREAL Negative number, positive number, or 0 (0) Name Timing for shifting to True Timing for shifting to False Done When the trigger event is recorded and the instruction 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. When CommandAborted shifts to True. CommandAbo rted When this instruction is aborted by another instruction (MC AbortTrigger). _ When Execute shifts from True to False. If Execute is False and CommandAborted shifts to True, it will be True for only one period and immediately shift to False.
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)