Page 1 of 1
Stop movment
Posted: Fri Mar 08, 2019 4:55 pm
by svyatokha
Hello
i need to stop axis immediately. Jog(0, 0) without Zero(0) slowly stop axis(near 1mm). How Stop movement immediately without Zero(0)?
Re: Stop movment
Posted: Fri Mar 08, 2019 4:59 pm
by TomKerekes
Hi svyatokha,
Sorry I don't understand the question. If you don't want to Zero then don't call Zero()
Re: Stop movment
Posted: Fri Mar 08, 2019 6:37 pm
by svyatokha
if i don't call Zero(), axis stop slowly... i need to "hard stop".
sorry for my english
Re: Stop movment
Posted: Fri Mar 08, 2019 6:53 pm
by TomKerekes
Hi svyatokha,
You might DisableAxis(0) to stop instantly.
Or set very high Acceleration and Jerk to stop as quickly as you wish.
Re: Stop movment
Posted: Fri Mar 08, 2019 6:55 pm
by svyatokha
C code.
#include "KMotionDef.h"
main()
{
Jog(0,-10240);
while (!ReadBit(136)) ;
Jog(0,0);
Zero(0);
while (!CheckDone(0)) ;
}
and 2 videos.
https://youtu.be/chKs0ToJYWY - there in without Zero(); (stop slowly when touch)
https://youtu.be/sqffEWiZDL4 - there with zero (); (stop instantly when touched)
Re: Stop movment
Posted: Fri Mar 08, 2019 7:20 pm
by svyatokha
DisableAxis (0) seems to work fine)) Thank you. But if suddenly there are other commands that can stop axes this way, it would be great to know them)