Hello Guest it is March 19, 2024, 12:41:33 AM

Author Topic: Motors ramp up with each line of g code??  (Read 6203 times)

0 Members and 1 Guest are viewing this topic.

Motors ramp up with each line of g code??
« on: May 17, 2007, 07:35:29 PM »
Hello,,
I have things up and running, all my hardware problems are solved, now all I need to do is learn how to program g codes.. It seems when your g code starts another line the motors will slow down and ramp up on evey line of g code. If I am already moving in X+ direction during a line of g code and in the next line I am still going in X+ direction is there a way to keep my speed in x+ direction??

Thanks to all
Josh
Re: Motors ramp up with each line of g code??
« Reply #1 on: May 17, 2007, 08:16:11 PM »
Put a G64 in the Gcode file and you should be good to go :)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Motors ramp up with each line of g code??
« Reply #2 on: May 18, 2007, 09:12:15 AM »
Thanks for the response
but unless I am putting it in the wrong line, it still pauses between Gcode lines??
Re: Motors ramp up with each line of g code??
« Reply #3 on: May 18, 2007, 09:16:55 AM »
Please post what you are running for a program and we will see what we can do.
Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Motors ramp up with each line of g code??
« Reply #4 on: May 18, 2007, 09:33:37 AM »
Thanks for the intrest Brian,,
I Built and Induction Heat Treat Scanner run by stepper motors,, Im sure the programing looks like childs play to you.
M3 turns on a dc motor that spins the part, M7 turns my induction heater on, and M9 turn the induction heater off, but what is happening is there is a momentary puse right when it shut my induction heater off,, witch really is not a big deal but the heated steel needs to get into the quench as quicky as posible,  to become harden.
thanks
josh


M3
M7
G0 X-05.000 Y00.00000 Z00.00000
G0 X-08.000 Y00.00000 Z00.00000M9
G0 X 00.000 Y00.00000 Z00.00000
M30
Re: Motors ramp up with each line of g code??
« Reply #5 on: May 18, 2007, 09:45:08 AM »
Try this :

M3
M11 P1 (P is the signal number)
G0 X-05.000 Y00.00000 Z00.00000
G0 X-08.000 Y00.00000 Z00.00000
M10 P1
G0 X 00.000 Y00.00000 Z00.00000
M30

This will turn on and off outputs and never stop :)

Hope that helps
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Motors ramp up with each line of g code??
« Reply #6 on: May 18, 2007, 10:12:51 AM »
I ran that there was no pause but it didnt turn on my relay,, P1? is that pump 1, input 1?
Re: Motors ramp up with each line of g code??
« Reply #7 on: May 18, 2007, 10:14:59 AM »
I mean output #1
Re: Motors ramp up with each line of g code??
« Reply #8 on: May 18, 2007, 10:15:53 AM »
The P number is Output number 1-20
Sorry about that
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Motors ramp up with each line of g code??
« Reply #9 on: May 18, 2007, 10:17:35 AM »
sorry still thinking
p means output pin # Im on pin 16 so I would put P16