Hello Guest it is October 17, 2019, 07:48:49 PM

Author Topic: Can backlash comp be turned on/off with a g-code?  (Read 2957 times)

0 Members and 1 Guest are viewing this topic.

Can backlash comp be turned on/off with a g-code?
« on: June 22, 2011, 08:42:43 AM »
A little history first. I've been machining and programming for 28 years, with so many different softwares and operating systems it isn't even funny.
 Currently I'm roughing out my parts with backlash comp off, which gives me the nice smooth machine motion. I then stop the program and go into "config" and turn backlash comp on. Then re-start the programed tool path. This gives me very true circles, but does look a little funky while running. But that's ok because I know what it is doing.
Is there a code I can use to turn this on and off?
Thanks
i_r_machinist
ps. My programs typically have several thousand lines, so leaving the option on can add a lot of time.
Re: Can backlash comp be turned on/off with a g-code?
« Reply #1 on: June 22, 2011, 08:44:25 AM »
Sorry, I should have mentioned that its a 4 axis mill.
i_r_

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: Can backlash comp be turned on/off with a g-code?
« Reply #2 on: June 22, 2011, 09:33:10 AM »
I don't think there is a Gcode but a Mcode could be created and used. you place the macro in the macro folder for the profile . then you call it like a Gcode.

If you need help with that let us know.

(;-) TP
Re: Can backlash comp be turned on/off with a g-code?
« Reply #3 on: June 22, 2011, 09:33:50 AM »
I think if you set your backlash settings correctly, you will just leave it on all the time.

Check out this video.

http://www.youtube.com/watch?v=A27nOkTFYDY
Bill (the Cat) Shubert

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: Can backlash comp be turned on/off with a g-code?
« Reply #4 on: June 22, 2011, 09:55:03 AM »
NOTE: I just checked AND I don't think it can be done.The backlash apparently needs a restart of MACH to be able to use AFTER it is turned off or on.

Also there is not a button to do so

SORRY

(;-) TP
Re: Can backlash comp be turned on/off with a g-code?
« Reply #5 on: June 22, 2011, 10:43:03 AM »
Bill,
Thanks for the video!
I'll give it a try this evening.
i_r_
Re: Can backlash comp be turned on/off with a g-code?
« Reply #6 on: June 23, 2011, 10:33:53 AM »
Worked like a charm!
Thanks again Bill
i_r_machinist