KM_Axis.EStop vs. C Disable Axes

Moderators: TomKerekes, dynomotion

Post Reply
SamMarrocco
Posts: 85
Joined: Fri Apr 27, 2018 12:44 pm

KM_Axis.EStop vs. C Disable Axes

Post by SamMarrocco » Sat Jan 19, 2019 5:54 pm

I'm currently using a KFlop thread that watches for the state of an Abort button/pin, that when closed triggers a DisableAxis() for every one of my axes.

I have a software UI button for Abort, that when clicked fires off a KM_Axis.EStop method for every one of my axes. I've noticed in the docs that the EStop method "stops the current motion and disabled the axis". Is the "stopping of the current motion" something I should be doing when I disable the axes in a thread (such as an Interpreter Halt?), or are these both doing the same thing?

User avatar
TomKerekes
Posts: 2741
Joined: Mon Dec 04, 2017 1:49 am

Re: KM_Axis.EStop vs. C Disable Axes

Post by TomKerekes » Sat Jan 19, 2019 6:42 pm

Hi Sam,

Actually commanding an axis to stop and then immediately disabling the axis shouldn't be significantly different than simply disabling the axis.

Halt should not be required. The Interpreter should quickly detect the Axes have been disabled and Abort.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply