Code question

This forum is for general discussion regarding VCarve Pro
Post Reply
JohnsCNC
Posts: 10
Joined: Tue Nov 06, 2018 3:40 am
Model of CNC Machine: Homemade CNC

Code question

Post by JohnsCNC »

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

User avatar
rscrawford
Vectric Wizard
Posts: 1102
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

Post by rscrawford »

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.8) 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

ger21
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

Post by ger21 »

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.
Gerry - http://www.thecncwoodworker.com

JohnsCNC
Posts: 10
Joined: Tue Nov 06, 2018 3:40 am
Model of CNC Machine: Homemade CNC

Re: Code question

Post by JohnsCNC »

Thanks for the help. No tool offsets, yet.

Post Reply