AX-Series Motion Controller Instructions Manual Chapter 2
80
Name Function Data Type Output Range (Default Value)
InGear
True if the meshing was
successful.
BOOL True/False (False)
True when the instruction is run.
CommandAborted
True when the instruction is
BOOL True/False (False)
True when an error occurs.
ErrorID
Record the error code when an
error occurs.
Refer to Appendix for error code
SMC_ERROR* SMC_ERROR (SMC_NO_ERROR)
*Note: SMC_ERROR: Enumeration (Enum)
Output Updating Time
Timing for Shifting to True
Timing for Shifting to False
InGear
When the slave axis reaches the target
velocity and the meshing is successful.
When Error turns to True.
When CommandAborted turns to True.
When the gear ratio changes.
Busy
When the meshing is processed. When Error turns to True.
When CommandAborted turns to True.
CommandAborted
When MC_GearOut is run.
True when the instruction is aborted by
another function block.
When this instruction is aborted because
of the execution of MC_Stop instruction.
When Execute changes to False.
If Execute is False and CommandAborted
turns to True, CommandAborted will be
True for only one scan cycle and
immediately shift to False.
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