Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: blake374 on February 27, 2011, 01:57:37 PM

Title: Desk cnc with mach 3
Post by: blake374 on February 27, 2011, 01:57:37 PM
Hello

I am getting some vibration in my 4 axis foam cutter wire.  I want to make sure it is not caused by the g-code I am using.

Can anyone tell me the best way to set up desk cnc to use the 4 axis gcode in mach?

What are the essential things that need to be set in deskcnc?

I can e-mail a sample of g-code to anyone that wants to see

Thanks
Title: Re: Desk cnc with mach 3
Post by: Hood on February 27, 2011, 04:51:58 PM
Make sure your are in G64 mode (Constant Velocity)
Hood
Title: Re: Desk cnc with mach 3
Post by: RICH on February 27, 2011, 05:18:47 PM
blake,
I have deskcnc but have not used it in a long long time. I don't know if Fred will entertain your question on the IMS forum but worth a try.
Not sure if you still need to pay $60 a year to post on it's forum.
I think there are a few others that use deskcnc and may be abe to relate if there are any quirks.
RICH
Title: Re: Desk cnc with mach 3
Post by: blake374 on February 27, 2011, 05:46:22 PM
I am definatly am not in constant velocity mode.  How do I set it in constant velocity mode? Some one else mentioned something about leaving it in g90 mode for constant velocity. Thanks
Title: Re: Desk cnc with mach 3
Post by: Hood on February 27, 2011, 05:52:41 PM
G64 at the start of your code will put it in CV, if there is  a G61 there remove it as that is exact stop.
Hood
Title: Re: Desk cnc with mach 3
Post by: blake374 on February 27, 2011, 05:55:53 PM
Thanks for the quick reply.  There is currently nothing with a G written above the code.  Can I get out the note pad in mach and just add in the G64 at above the gcode
Title: Re: Desk cnc with mach 3
Post by: Hood on February 27, 2011, 06:03:12 PM
Yes, load code in Mach then use the Edit button and it will open in notepad for you.
Hood
Title: Re: Desk cnc with mach 3
Post by: blake374 on February 27, 2011, 11:32:36 PM
I noticed that in Mach's General Configeration section under Motion Mode, Constant Velocity is selected.  Does this mean that all gcode will run in continuous motion or do I still have to enter G64 above the code if the code is poor.
Title: Re: Desk cnc with mach 3
Post by: Hood on February 28, 2011, 02:22:16 AM
If G64  is selected then it will run in that mode unless the code changes it. In other words if code has G61 in it it will change to exact stop mode and it will not get set back until a G64 is seen in code or you restart Mach. So all code should really have a preamble setting the correct modes for that code, not just G61/G64 but others such as G90/G91, G90.1/G91.1 etc etc

Hood