Stop movment

Moderators: TomKerekes, dynomotion

Post Reply
svyatokha
Posts: 4
Joined: Sat Jul 28, 2018 12:33 am

Stop movment

Post by svyatokha » Fri Mar 08, 2019 4:55 pm

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)?

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

Re: Stop movment

Post by TomKerekes » Fri Mar 08, 2019 4:59 pm

Hi svyatokha,

Sorry I don't understand the question. If you don't want to Zero then don't call Zero()
Regards,

Tom Kerekes
Dynomotion, Inc.

svyatokha
Posts: 4
Joined: Sat Jul 28, 2018 12:33 am

Re: Stop movment

Post by svyatokha » Fri Mar 08, 2019 6:37 pm

if i don't call Zero(), axis stop slowly... i need to "hard stop".
sorry for my english

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

Re: Stop movment

Post by TomKerekes » Fri Mar 08, 2019 6:53 pm

Hi svyatokha,

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.

svyatokha
Posts: 4
Joined: Sat Jul 28, 2018 12:33 am

Re: Stop movment

Post by svyatokha » Fri Mar 08, 2019 6:55 pm

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)

svyatokha
Posts: 4
Joined: Sat Jul 28, 2018 12:33 am

Re: Stop movment

Post by svyatokha » Fri Mar 08, 2019 7:20 pm

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)

Post Reply