update probe basic

This commit is contained in:
2026-06-23 09:12:27 +02:00
parent 3b8e11d127
commit 3a1aa86fb3
105 changed files with 8568 additions and 13453 deletions

View File

@@ -1,6 +1,6 @@
(author: Chris P)
(version: 0.2)
(date: 06/27/24)
(version: 0.3)
(date: 01/28/26)
(Probe calibration offset using defined diam round pocket)
(Start probe position is over left side edge of pocket wall)
@@ -23,7 +23,9 @@ o<probe_cal_round_pocket> sub
#<step_off_width> = #3023 (=0.5000)
#<probe_mode> = #3030 (=0)
#<cal_diameter> = #3033 (=0)
#<sq_cal_axis> = #3036 (=0)
#<xy_cal_axis> = #3048 (=0)
#<x_cal_axis> = #3049 (=0)
#<y_cal_axis> = #3050 (=0)
(Cancel G92 offsets)
G92.1
@@ -36,13 +38,10 @@ o<probe_cal_round_pocket> sub
(clear current probe calibration offset)
#3032 = 0
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
(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_cal_round_pocket> return
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
o100 endif
(Probe Diameter)
@@ -191,17 +190,14 @@ o<probe_cal_round_pocket> sub
#<new_y_cal_offset> = [#<y_cal_error>]
o120 endif
#<new_avg_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
#<new_xy_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
o130 if [#<sq_cal_axis> EQ 0]
#3032 = [ABS[#<new_avg_cal_offset>]]
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
o130 else if [#<sq_cal_axis> EQ 1]
o130 if [#<xy_cal_axis> EQ 1]
#3032 = [ABS[#<new_xy_cal_offset>]]
o130 else if [#<x_cal_axis> EQ 1]
#3032 = [ABS[#<new_x_cal_offset>]]
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
o130 else
#3032 = [ABS[#<new_y_cal_offset>]]
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
o130 endif
#<x_zero> = [#<x_center_probed> + #<workspace_x>]