Motor Is On

Command

<axis> MTR <ON or OFF>

Description

The Motor Is On commands indicates if the motor is on and ready for motion. Stepper motors stay on until they are turned off or EStop is not satisfied. Servo motors turn themselves off as a safety behavior if the Error Position is greater than the Error Limit. If the axis indicated is an individual axis then the status reflects the state of that axis alone. If the axis indicated is a group then Motor Is On only returns true if all of the component axes of the group are on and ready. Virtual axes respond to Set Motor and Motor Is On status as if they were physical to aid in simulation.

Motor Is On indicates if the motor is on and ready for motion. Stepper motors stay on until they are turned off or EStop is not satisfied. Servo motors turn themselves off as a safety behavior if the Error Position is greater than the Error Limit. If the axis indicated is an individual axis then the status reflects the state of that axis alone. If the axis indicated is a group then Motor Is On only returns true if all of the component axes of the group are on and ready. Virtual axes respond to Set Motor and Motor Is On status as if they were physical to aid in simulation.

Escapes

The Motor Is On commands does not generate any escapes.

Examples

Related Topics

Move Is Finished
Set Motor