AX-Series Motion Controller Instructions Manual Chapter 2
14
Name Timing for shifting to True Timing for shifting to False
Done
True when the axis decelerates to a stop and
reaches zero velocity.
When Execute turns from True to False.
If Execute is False and CommandAborted turns
to True, Done will be True for only one scan cycle
and immediately shift to False.
Busy
True when Execute turns to True. When Done turns to True.
When Error turns to True.
When an error occurs in the execution
conditions or input values for the instruction.
When Execute turns from True to False. (Error
Code is cleared)
ErrorID
Timing Diagram
Inputs/Outputs
Name Function Data Type
Setting Value
Timing to Take Effect
Axis
Specify the
axis.
AXIS_REF_SM3* AXIS_REF_SM3
When Execute is triggered to be True
and Busy is False.
*Note: AXIS_REF_SM3(FB): Every function block contains this variable, which works as the starting program for function blocks.
Function
You can specify the deceleration rate when decelerating the moving axis to a stop. Also, State Machine will be stopping.
When MC_Power is False during deceleration, the motor is in Free Run state.
The Done output is set to True when axis has reached velocity zero. At the same time, the input Execute changes to
False, while State Machine in stopping state changes to standstill.
Troubleshooting
If an error occurs during the execution of the instruction, Error will change to True. You can refer to ErrorID (Error
Code) to address the problem.
Example
The example below shows the behavior and position tracking when MC_Stop is run after MC_MoveVelocity.