Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: ulihuber 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
-
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
-
Fixed :)
-
Fixed
Indeed. ;D
Thanks
Uli