Skip to content

Commit dfa5c1a

Browse files
committed
Merge branch '2.9'
2 parents 326f220 + 43b8dc8 commit dfa5c1a

15 files changed

Lines changed: 1379 additions & 449 deletions

File tree

docs/src/gui/qtdragon.adoc

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -526,15 +526,17 @@ qtdragon.slider-override-rapid
526526
qtdragon.slider-override-spindle
527527
----
528528

529-
These pins are available when setting the Versa Probe INI option.
529+
These output pins are available when setting the Versa Probe INI option.
530530
They can be used for auto-tool-length-probe at tool change - with added remap code.
531531

532532
[source,{hal}]
533533
----
534-
qtdragon.versaprobe-blockheight
535-
qtdragon.versaprobe-probeheight
536-
qtdragon.versaprobe-probevel
537-
qtdragon.versaprobe-searchvel
534+
qtversaprobe.enable
535+
qtversaprobe.blockheight
536+
qtversaprobe.probeheight
537+
qtversaprobe.probevel
538+
qtversaprobe.searchvel
539+
qtversaprobe.backoffdist
538540
----
539541

540542
== HAL files
@@ -938,14 +940,15 @@ Initial testing with no tool and safe heights is recommended.
938940

939941
=== Tool Measurement Pins
940942

941-
Versaprobe offers 5 pins for tool measurement purpose.
943+
Versaprobe offers 5 output pins for tool measurement purpose.
942944
The pins are used to be read from a remap G-code subroutine, so the code can react to different values.
943945

944-
* `qtversaprobe.toolmeasurement` (HAL_BIT) enable or not tool measurement
945-
* `qtversaprobe.blockheight` (HAL_FLOAT) the measured value of the top face of the workpiece
946-
* `qtversaprobe.probeheight` (HAL_FLOAT) the probe switch height
946+
* `qtversaprobe.enable` (HAL_BIT) measurement enabled or not tool. Reflects screen button state.
947+
* `qtversaprobe.blockheight` (HAL_FLOAT) the measured height of the top face of the workpiece. Reflects screen entry.
948+
* `qtversaprobe.probeheight` (HAL_FLOAT) the toolsetter probe switch height. Reflects screen entry.
947949
* `qtversaprobe.searchvel` (HAL_FLOAT) the velocity to search for the tool probe switch
948-
* `qtversaprobe.probevel` (HAL_FLOAT) the velocity to probe tool length
950+
* `qtversaprobe.probevel` (HAL_FLOAT) the velocity to probe tool length. Reflects screen entry.
951+
* 'qtversaprobe.backoffdist' (HAL_FLOAT) the distance the probe backs off after triggering. Reflects screen entry.
949952

950953
=== Tool Measurement INI File Modifications
951954

lib/python/hal_glib.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,10 @@ def get_jog_info (self,axisnum):
11951195
if jjogmode == JOGJOINT: j_or_a = self.jnum_for_axisnum(axisnum)
11961196
return jjogmode,j_or_a
11971197

1198+
def get_probed_position(self):
1199+
self.stat.poll()
1200+
return list(self.stat.probed_position)
1201+
11981202
def get_probed_position_with_offsets(self) :
11991203
self.stat.poll()
12001204
probed_position=list(self.stat.probed_position)

lib/python/qtvcp/widgets/basic_probe.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,10 @@ def get_parms(self):
351351

352352
def show_results(self, line):
353353
for key in self.status_list:
354-
self['status_' + key].setText(line[key])
354+
if line[key] != 'None':
355+
self['status_' + key].setText(line[key])
356+
else:
357+
self['status_' + key].setText('')
355358

356359
##############################
357360
# required class boiler code #

0 commit comments

Comments
 (0)