Hello Guest it is April 23, 2024, 02:12:43 AM

Author Topic: MPG step/velocity does not stop  (Read 3193 times)

0 Members and 1 Guest are viewing this topic.

MPG step/velocity does not stop
« on: March 20, 2011, 10:53:27 AM »
Hi,

I have a problem with my new MPG.

I wrote a macropump that does axis selection and switches between step/velocity-mode and multiple-step-mode by the press of a button.
This enables me to do fast positioning and precise positioning alternatively.
It works fine but there is a problem: If I release the button for fast moves while the axis is still moving, the mode switches to multiple-step but the axis continues to travel with the speed it had at the moment of the button release.

Any ideas about that ?

Thanks
Uli
Re: MPG step/velocity does not stop
« Reply #1 on: March 23, 2011, 04:08:36 AM »
Hi,

strange, no replies on such a safety related problem ??
 
OK, some more details here:
  • The problem is not connected to my macropump. It can be reproduced by moving an axis by the MPG in step/velocity-mode and changing to multiple-step-mode  by mouse click on the screen.
  • I tried to fix the problem with an inserted code
       while ismoving()
          sleep(100)
       wend
       But it looks like Mach does not even know that the axis is still moving. There is no positive return code on ismoving(). It looks like Mach's pulse engine just continues to output pulses in the momentary rate
I hope there is a developer listening who is willing to analyze and fix this severe issue.

Thanks
Uli

andrewm

*
Re: MPG step/velocity does not stop
« Reply #2 on: April 06, 2011, 01:50:33 PM »
Fixed :)
Re: MPG step/velocity does not stop
« Reply #3 on: April 06, 2011, 02:24:53 PM »
Quote
Fixed

Indeed.  ;D

Thanks
Uli