Hello Guest it is July 19, 2019, 09:05:46 AM

Author Topic: Coordinate Shift When Thread Milling  (Read 8512 times)

0 Members and 1 Guest are viewing this topic.

Offline AJA

*
  •  26 26
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #10 on: December 08, 2010, 03:58:11 PM »
Hood,

Is this what you need?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #11 on: December 08, 2010, 04:07:29 PM »
The xml is a file that holds your configuration settings and can be found in the main Mach3 folder on your drive (not the xmlbackup folder) There will be a few xml files but the one you want is the one that has the name of the profile you are using, for example if you are using the standard Mill profile it will be called Mach3Mill.xml if you have a custom profile it will have that name.
 You will need to copy the xml to your desktop and rename so that the forum will accept it.
Hood
Re: Coordinate Shift When Thread Milling
« Reply #12 on: December 08, 2010, 04:07:45 PM »
AJA,
  could be your native units... ? Is it set to INCH ?
The code is G21MM.
17.9441 x 25.4 = 455.780
Re: Coordinate Shift When Thread Milling
« Reply #13 on: December 08, 2010, 04:10:21 PM »
Looks like it's just converting ... not really changing.
Just a thought

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #14 on: December 08, 2010, 04:12:25 PM »
I would say that you are spot on there Russ good catch :)

Hood

Offline AJA

*
  •  26 26
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #15 on: December 08, 2010, 04:23:00 PM »
Overloaded,

The g21(mm) is line 03 in program.

The the values are in millimeters.

Is there somewhere else I need to change the millimeters?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #16 on: December 08, 2010, 04:29:05 PM »
Config menu then Native Units will tell you what you have set up in. If you are meant to be metric but have inch there then you will need to re do your motor tuning if you change it.
Hood
Re: Coordinate Shift When Thread Milling
« Reply #17 on: December 08, 2010, 04:41:09 PM »
AJA, is the machine actually NOT moving to the correct position ? ? ? or, are the DRO's just showing the difference ?
Mach should handle the conversions ... regardless of the native settings.
Pretty sure anyway.
Hood ?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #18 on: December 08, 2010, 04:46:05 PM »
Russ, yes it should handle it but it could be that the native units are set to Inch and then the steps per unit are set so that 1 unit moves 1mm. If that is the case then things will screw up when code with a G21 in it is run.

AJA
 If you can attach your xml it should let me see if you have things set correctly regards native units and motor tuning.
Hood

Offline AJA

*
  •  26 26
    • View Profile
Re: Coordinate Shift When Thread Milling
« Reply #19 on: December 08, 2010, 05:10:55 PM »
Hood,

I have to copy the file from one machine to another.  I have the file on the desktop of the machine connected to the internet, but can not attach it to my reply  -path does not exist ??