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)?
Stop movment
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Stop movment
Hi svyatokha,
Sorry I don't understand the question. If you don't want to Zero then don't call Zero()
Sorry I don't understand the question. If you don't want to Zero then don't call Zero()
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Stop movment
if i don't call Zero(), axis stop slowly... i need to "hard stop".
sorry for my english
sorry for my english
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Stop movment
Hi svyatokha,
You might DisableAxis(0) to stop instantly.
Or set very high Acceleration and Jerk to stop as quickly as you wish.
You might DisableAxis(0) to stop instantly.
Or set very high Acceleration and Jerk to stop as quickly as you wish.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Stop movment
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)
#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
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)