dodalem przelacznik debug do aaa.ngc

a.ngc przygotowany do stestowania
linuxcnc.var z zapisanymi pozycjami
This commit is contained in:
2026-01-09 10:19:10 +01:00
parent b2c9917b97
commit c8d0784db4
4 changed files with 24 additions and 10 deletions

View File

@@ -1,6 +1,8 @@
o<aaa> sub
(DEBUG, from tool_in_spindle=#<tool_in_spindle> to selected_tool=#<selected_tool>)
#<print_debug> = 0
o10 if [#<print_debug> EQ 1]
(DEBUG, from tool_in_spindle=#<tool_in_spindle> to selected_tool=#<selected_tool>)
o10 endif
; -------------------------------------
; --- Begin Initial data gathering ----
; -------------------------------------
@@ -177,8 +179,10 @@ G10 L1 P #<tool> Z [#<new_tool_length_offset>]
T #<tool> G43 H #<tool> (enable tool length offset)
M50 P1 (reinstate feedrate override)
(DEBUG, new tool lenght offset: #<new_tool_length_offset>)
(DEBUG, offset_z: #<offset_z>, spindle zero offset: #<spindle_zero_height>, fast probe: #<z_fast_probe>, slow probe: #<z_slow_probe>)
o<print_debug> if [#<print_debug> EQ 1]
(DEBUG, new tool lenght offset: #<new_tool_length_offset>)
(DEBUG, offset_z: #<offset_z>, spindle zero offset: #<spindle_zero_height>, fast probe: #<z_fast_probe>, slow probe: #<z_slow_probe>)
o<print_debug> endif
o<aaa> endsub [1]
M2