Hello Guest it is March 28, 2024, 04:47:15 AM

Author Topic: Machine continues to run after MPG stop  (Read 1584 times)

0 Members and 2 Guests are viewing this topic.

Machine continues to run after MPG stop
« on: August 18, 2018, 06:14:50 PM »
Hello,
I have a handwheel connected via a pokeys56u, when I'm in CONT mode, the axis still moves with the set step.
I can turn my MPG faster than the axle can drive, if I stop turning it still runs "until" she has caught up all the steps.
Can this behavior be stopped?
I liked that the machine stopped immediately when I stop the handwheel.

For info:
I have the latest software from Pokeys.
For step output, I use the ESS, even with the latest software.
Mach4Hobby in the current version.

Greeting Andy
Re: Machine continues to run after MPG stop
« Reply #1 on: August 18, 2018, 11:12:42 PM »
The solution is simple. Cranking too fast gains you nothing, crank slower. Cranking fast you overflow the pulse input buffer and pulses are lost anyway. Now consider why it doesn’t stop when you stop. You see that you need to move over 0.020” so you turn the wheel 20 steps and stop. Without the buffer it would stop instantly but it  could stop short of the distance you wanted and you might spoil the part.
Re: Machine continues to run after MPG stop
« Reply #2 on: August 18, 2018, 11:21:03 PM »
Hi,
I'm sorry I have to go with garylucas on this......its doing exactly what I expect it to do.

Quote
I can turn my MPG faster than the axle can drive, if I stop turning it still runs "until" she has caught up all the steps

I have a VistaCNC pendant and it behaves exactly the same. If I'm concerned about overrun I slow down.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Machine continues to run after MPG stop
« Reply #3 on: August 19, 2018, 05:49:32 PM »
Hello,
I have found a solution for my problem. Is anyone interested for the solution? If so, I write this together, it is something lua code for it necessary.

Andy
Re: Machine continues to run after MPG stop
« Reply #4 on: August 20, 2018, 09:26:03 AM »
Andy,
Go ahead and post your solution.
Chad Byrd
Re: Machine continues to run after MPG stop
« Reply #5 on: August 22, 2018, 09:50:53 PM »
Yes please Post the code.
Wish mach4 had a velocity mode for the MPG

Thanks Robert
Re: Machine continues to run after MPG stop
« Reply #6 on: September 08, 2018, 06:19:24 AM »
You can improve this by altering the MPG Accel % and Velocity % under:- CONFIGURE - CONTROL (MACH) - MPGs (only if your setup assigns one of the listed MPG# to the Handwheel)

Nick