dumdum

Running MAJ and stop at position

5 posts in this topic

Hi

Can i Jog a virtual axis and then always stop at the same position? 

Share this post


Link to post
Share on other sites

Yes you can. 

You just need to disable the JOG once you've gone your desired distance.

Depending on the Servo Family you might also need to Enable a MAS instruction as well.

 

1 person likes this

Share this post


Link to post
Share on other sites

MAJ does require a separate stop (MAS) command. You would need to program an input instruction in front of the MAS to stop once the desired jog position was reached.

I don't know what you're controlling but any time I've needed to go to the same position and stop I use either the home (MAH) or move (MAM) instructions.

Share this post


Link to post
Share on other sites

I concur with Electron guru.  Using MAJ and logic you introduce variations in position that result from processor scan times and overhead.  The MAH, MAM approach takes these out of the equation.

1 person likes this

Share this post


Link to post
Share on other sites

Thanks for reply, 

It's a two axis setup. I have a virtual axis running 0-360deg with a MAJ. Im using MAPC to lock both axis to virtual axis and follow with two different cam profiles.

I want the axis to stop at a specific position every time. 

I was tryed to do a MAM with speed set to minus XXX and it stops the way i want but MAM instruction goes to error 13 +extended error 4.

So i was wondering IF i was on the right track? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now