Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Plastic Jim on August 21, 2010, 02:14:12 PM
-
Help Me. . .
Is there a way to have the Z posisition move while the spindle is coming up to speed? I have already eliminated the delays under Config/ports and pins/spindle setup (all timers to 0) it's a manufacturing enviroment and fractions of a second count! sample program :
N10 G00 x0 y 0
N20 M03 S500
N30 G00 Z -1.00
N40 G01 Z -2.00 F11
no matter how i write this there is a delay while the spindle comes up to speed before the z axis will move, even if i put the M03 in the same line as a movement Execution order or something like that. I need the spindle to start up while the Z axis is on the way down. Travel time is about 2 seconds. I'm not concerned about spindle speed untill it goes into Feed speed N40 as it's not cutting any material yet.
Thanx
J
-
Hi Jim,
There was a video posted here a little while back which showed exactly what you are asking.
I think it was done by using the Z axis direction pin to switch the spindle motor.
A Z minus move turns the motor on, which stays on until a Z plus move is encountered.
I switch my laser on / off this way (but using the B axis direction signal).
Hope this helps,
Tweakie.
-
Any one know where this video is? or maybe some more help (details. . .) i'm new to this and was proud of being able to find the delay timers. but that's thanx to this forum
J
-
Hi Jim,
Here is a link to the thread and video. http://www.machsupport.com/forum/index.php/topic,15465.0.html
This has no movement delay whilst the spindle is running up because the spindle only starts / stops when the Z axis has changed direction. This can be achieved by using the Z axis direction pin to switch the spindle rather than the pin associated with the M03 / M05 command.
Tweakie.