dodalem przelacznik debug do aaa.ngc
a.ngc przygotowany do stestowania linuxcnc.var z zapisanymi pozycjami
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5221 35.083000
|
||||
5222 458.860000
|
||||
5223 0.001000
|
||||
5221 300.000000
|
||||
5222 150.000000
|
||||
5223 -10.000000
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5221 35.083000
|
||||
5222 458.860000
|
||||
5223 0.001000
|
||||
5221 300.000000
|
||||
5222 150.000000
|
||||
5223 -10.000000
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
|
||||
10
subroutines/a.ngc
Normal file
10
subroutines/a.ngc
Normal file
@@ -0,0 +1,10 @@
|
||||
o<a> sub
|
||||
#<debug_1> = 0
|
||||
|
||||
M6
|
||||
|
||||
o100 if [#<debug_1> EQ 1]
|
||||
(DEBUG, testowy napis)
|
||||
o<a> endsub [1]
|
||||
|
||||
M2
|
||||
@@ -1,6 +1,8 @@
|
||||
o<aaa> sub
|
||||
#<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)
|
||||
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
|
||||
Reference in New Issue
Block a user