Edit config for initial moves

Where can I edit the config files?
I want to home the machine then manually set my zero’s but at the start of my G-Code I DO NOT want the machine to move the Z axis up and then down and then start my G-Code.

This is not a configuration issue (so long as you’re not using a BitSetter), but is coded in the G-Code:

(Design File: )
(stockMin:-98.20mm, -123.20mm, -12.70mm)
(stockMax:98.20mm, 123.20mm, 0.00mm)
(STOCK/BLOCK,196.40, 246.40, 12.70,98.20, 123.20, 12.70)
G90
G21

Here:

(Move to safe Z to avoid workholding)
G53G0Z-5.000

for the balance of the file:

(Contour.Toolpath.1)
M05
(TOOL/MILL,3.17, 0.00, 38.10, 0.00)
M6T102
M03S10000
(PREPOSITION FOR RAPID PLUNGE)
G0X-48.612Y-6.612
Z12.700
G1Z-0.787F203.2
Y20.213F508.0
X6.213
Y-6.612
X-48.612
Z12.700
M02

the other notable command is M02 which is interpreted as lift and move straight back in current versions of Carbide Motion.

Hi William,

Let me be clear about what I am asking and want to accomplish.

I want to REMOVE what Carbide motion does and have it just run my G-Code.
Or is that not possible? If so, where do I edit the file?

Thanks,
Pete

That behavior is embedded in the G-code generation logic when you using Carbide Create, and that is not configurable. If you want to alter the behavior of the machine, you will need to manually edit out of the file the lines corresponding to what you don’t want to happen.

The automatic move of the router up the top of the Z axis is performed by that line Will mentioned:

So you could edit the file (using any regular text editor) and delete those two lines.

Note that this line is there for the reason mentioned in the comment line, so any G-code editing is at your own risk (in the sense that you should only do it if you understand how it will affect the machine’s behaviour, and if your setup accounts for that new behaviour)

2 Likes

Presumably, it will become configurable when we get customizable Post-Processors.

1 Like