update probe basic
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 06/27/24)
|
||||
(version: 0.6)
|
||||
(date: 01/28/26)
|
||||
|
||||
(Probe front left top corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front left corner of stock)
|
||||
@@ -36,9 +36,7 @@ o<probe_front_left_top_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_top_corner> return
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -66,9 +64,7 @@ o<probe_front_left_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_top_corner> return
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -91,9 +87,7 @@ o<probe_front_left_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_top_corner> return
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
o120 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and XY Zero)
|
||||
|
||||
Reference in New Issue
Block a user