- adjusted the postprocessor files so the Spindle Off command (M5) is done before the move to Toolchange Z

- adjusted the Toolchange Manual postprocessor file to have more descriptive messages on the toolchange event
This commit is contained in:
Marius Stanciu
2019-02-10 13:42:22 +02:00
committed by Marius S
parent f35994a712
commit f01ac4483a
8 changed files with 78 additions and 51 deletions

View File

@@ -98,9 +98,9 @@ class Toolchange_Probe_MACH3(FlatCAMPostProc):
no_drills = i[2]
if toolchangexy is not None:
gcode = """
gcode = """
M5
T{tool}
M5
M6
G00 Z{toolchangez}
G00 X{toolchangex} Y{toolchangey}
@@ -129,8 +129,8 @@ G00 Z{z_move}
toolC=toolC_formatted)
else:
gcode = """
T{tool}
M5
T{tool}
M6
G00 Z{toolchangez}
(MSG, Change to Tool Dia = {toolC} ||| Drills for this tool = {t_drills} ||| Tool Probing MACH3)
@@ -162,8 +162,8 @@ G00 Z{z_move}
else:
if toolchangexy is not None:
gcode = """
T{tool}
M5
T{tool}
M6
G00 Z{toolchangez}
G00 X{toolchangex} Y{toolchangey}
@@ -191,8 +191,8 @@ G00 Z{z_move}
toolC=toolC_formatted)
else:
gcode = """
T{tool}
M5
T{tool}
M6
G00 Z{toolchangez}
(MSG, Change to Tool Dia = {toolC} ||| Tool Probing MACH3)