I ran my first gcode from another program. I used Estlcam to create the gcode and it looked good in Carbide Motion but when i Ran it, it did not ask me for the tool and measure it like usual. Luckily I had not changed the tool from the last job so all was good. But how do i get it to do a tool measurement? Do i need to add this into the GCode or just something in my work flow to manually do it?
You will need to use a post-processor which inserts the tool change command.
1 Like
Looks like i need more then M6. Will this work? And is the probe location stored in a variable that I can access somehow to put it in the GCode?
M6
G0 Z10 ; Lift spindle
G53 G0 X? Y? ; Move to probe location
G38.2 Z-10 F100 ; Probe down
G92 Z0 ; Set new Z-zero
G0 Z10 ; Retract
I would recommend using a sample of G-code output from a tool which is supported.
2 Likes