Machsupport Forum

Support => Forum suggestions and report forum problems. => Topic started by: leptronjohn on August 02, 2008, 02:17:32 PM

Title: increment changes
Post by: leptronjohn on August 02, 2008, 02:17:32 PM
hi Guys,
i am new to this cnc game and feeling very stupid. my gray hair tells me i should know everything there is, ha.
i am using mach 3 on my new k2 kg-2525 router. if i use  lazy cam for the post processor i have no problem with cutting but...
if i load a job from vectric 2d it changes my mpg units, which of coarse screw up the cutting and caused the machine to run off the stops.
as soon as i load the program from vectric my machines thinks that  0.10 is 2.5 inches. if i close the job and restart the mach 3 all the increments are ok again, as soon as i load from vectric is does it again...

what the...  john
Title: Re: increment changes
Post by: Hood on August 02, 2008, 02:50:27 PM
Please attach your code and also say whether you are set up in Metric units or Imperial units. Certainly sounds like thats where the mix up is.

Hood
Title: Re: increment changes
Post by: leptronjohn on August 02, 2008, 03:00:04 PM
good morning,
 i am trying to do everything in inches.
Title: Re: increment changes
Post by: Hood on August 02, 2008, 03:10:16 PM
That code is in Inches (you will see the G20 at the start) It seems to run fine on my machine that is set up in Metric (G21) so I am wondering why it is messing with yours as the G20 should keep your machine as Imperial.
 Please go to the Mach3 folder and look for the file called Mach3Mill.xml, right click on it and copy then paste to your desktop and rename it to leptrojohn.xml.
Then you will be able to attach it to the forum.

Hood

PS that is presuming you are using the stanard Mach3 Mill profile, if not then whatever profile you are usingf will be the name of the xml you want.
Title: Re: increment changes
Post by: leptronjohn on August 02, 2008, 03:30:16 PM
Hood,
thanks for the help!
Title: Re: increment changes
Post by: Hood on August 02, 2008, 03:37:37 PM
OK think thats where your problem is, your profile is set up for Metric as native units and you possibly have set your Steps per unit as if you were in inches. If you command a G0X1 does it move 1 Inch?
If it does then have a look in your code and change the G20 to G21 and see if it looks like it will run ok.
To be correct you should really set up your machine as an imperial default and that will save any hassles in the future but at least this will let you know if it is the problem.
Hood
Title: Re: increment changes
Post by: leptronjohn on August 02, 2008, 03:49:08 PM
Hood,
i have been called to the big city for a couple of hours, job emergency... i will run this tonight and see... thanks you verry much for the help...
Title: Re: increment changes
Post by: Hood on August 02, 2008, 03:50:49 PM
No problem, its almost 9 PM here so I will look in the morning and see how you got on.
Hood
Title: Re: increment changes
Post by: leptronjohn on August 03, 2008, 12:01:51 AM
Hood,
gox1 made it run away...
i have no clue how to set the machine to imperial, in my younger days i could talk anything into converting.. oh that was different..
i have no cnc or g code back gound.

thanks for you time it is great.

john oakley
Title: Re: increment changes
Post by: Overloaded on August 03, 2008, 12:14:19 AM
 :)
Title: Re: increment changes
Post by: Hood on August 03, 2008, 03:31:03 AM
It should be G ZERO X1, above you have GoX1. You probably had a zero however as Mach would have come up with an error saying that  "Unknown word where unary operation could be"
 Ok so you are saying it ran away,that is strange, it should have only moved 1mm or 1 inch depending on how it is set up. Do you know anything about the hardware on your machine suck as the type of motors, tyoe of drives, the pitch of the screws and any reduction between motors and screws? If we know that we can get you set up in Imperial.

Hood
Title: Re: increment changes
Post by: leptronjohn on August 03, 2008, 01:37:31 PM
Hood, and overloaded,
i changeded the setting on mach to inches and everything i have been trying to run seems correct. I am making chips enough that i now need to stop and figure how to make the dust collecter fit.

thanks you very much for the help, i feel much better about life today :-)
Title: Re: increment changes
Post by: Hood on August 03, 2008, 01:49:40 PM
excellent news :)



Hood