Hello Guest it is March 29, 2024, 09:51:37 AM

Author Topic: increment changes  (Read 9438 times)

0 Members and 1 Guest are viewing this topic.

increment changes
« 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: increment changes
« Reply #1 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
Re: increment changes
« Reply #2 on: August 02, 2008, 03:00:04 PM »
good morning,
 i am trying to do everything in inches.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: increment changes
« Reply #3 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.
Re: increment changes
« Reply #4 on: August 02, 2008, 03:30:16 PM »
Hood,
thanks for the help!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: increment changes
« Reply #5 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
Re: increment changes
« Reply #6 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...

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: increment changes
« Reply #7 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
Re: increment changes
« Reply #8 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
Re: increment changes
« Reply #9 on: August 03, 2008, 12:14:19 AM »
 :)