Can anyone tell me what this line of code does?
N140G00G43Z0.8000H1
It seems that after I set the z height with the auto button, this code seems to change the z height to .8 without moving the machine and when the program continues to run, it too high.
Thanks
Code question
- rscrawford
- Vectric Wizard
- Posts: 1104
- Joined: Mon Jan 17, 2011 6:49 pm
- Model of CNC Machine: CAMaster Cobra 408 ATC, ShopSabre IS408
- Location: Wetaskiwin, Alberta
- Contact:
Re: Code question
Did you calibrate your tool length measuring switch? Usually, that line of code would set the tool offset using a number (in this case 0. that corresponds to the offset of the switch from your spoilboard. So if your TLMS is 0.8" above the level of your spoilboard, then this offset would set your tool height to the exact level of your spoilboard. Calibrating the TLMS to the current spoilboard height should give you an exact measurement with your auto tool measures.
Russell Crawford
http://www.cherryleaf-rustle.com
http://www.cherryleaf-rustle.com
-
- Vectric Wizard
- Posts: 1592
- Joined: Sun Sep 16, 2007 2:59 pm
- Model of CNC Machine: Custom DIY
- Location: Lake St Clair, MI, USA
- Contact:
Re: Code question
It applies a Tool Length offset using the length in your tooltable, for tool #1, and moves it to Z0.8.
The typical format for G43 would be G43H1 Z0.8
If you do not have an ATC, or fixed length tooling, you generally do not want to use G43 tool length offsets.
The typical format for G43 would be G43H1 Z0.8
If you do not have an ATC, or fixed length tooling, you generally do not want to use G43 tool length offsets.
Gerry - http://www.thecncwoodworker.com
Re: Code question
Thanks for the help. No tool offsets, yet.