I agree to have an Abort instead of an E-stop, only in this way we have a defined deceleration rate. Each touch probe or tool setter has several millimetres of safe travel, given the deceleration during the stop, we can calculate the maximum safe feed with
max_safe_feed = sqrt(2 * safe_travel * deceleration) (Unit conversion may need to be applied) If motion.motion-type == 5 can be a HAL signal then my problem is solved. I could program the behaviour that suits my need. 2017-12-07 23:26 GMT+08:00 王若溪 <thuwr...@gmail.com>: > Good call. I like this. > > (It's a joke isn't it?) > > 2017-12-05 0:42 GMT+08:00 Nicklas Karlsson <nicklas.karlsso...@gmail.com>: > >> On Tue, 5 Dec 2017 00:37:03 +0800 >> 王若溪 <thuwr...@gmail.com> wrote: >> >> > I'm writing some auto measurement G-code program using my CNC mill and a >> > touch probe. >> > Seems that LinuxCNC doesn't want to stop when the probe is tripped >> during a >> > non-probe move if the machine is running a G-code program. >> > Currently, I'm replacing every non-probe move with G38.3. After it's >> > execution, signal an error if the current position is not commanded >> > position (which indicates that the probe was tripped during this move), >> > continue if current position matches commanded. >> > >> > Any thoughts? >> >> Yes, connect touch to stop signal. >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > > > -- > 王若溪 > 清华大学 > 航天航空学院 > 航硕161班 > -- 王若溪 清华大学 航天航空学院 航硕161班 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users