Skip to content

Commit 1301fb1

Browse files
committed
qtplasmac: update to make use of new motion.jog-stop pin
1 parent cfd70bf commit 1301fb1

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

lib/hallib/plasmac.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if {[hal list pin db_float.out] != {}} {
5252
net plasmac:adaptive-feed plasmac.adaptive-feed => motion.adaptive-feed
5353
net plasmac:cutting-stop halui.spindle.0.stop => plasmac.cutting-stop
5454
net plasmac:feed-hold plasmac.feed-hold => motion.feed-hold
55-
net plasmac:jog-inhibit plasmac.jog-inhibit => motion.jog-inhibit
55+
net plasmac:jog-inhibit plasmac.jog-inhibit => motion.jog-inhibit motion.jog-stop
5656
net plasmac:offset-scale plasmac.offset-scale => axis.x.eoffset-scale axis.y.eoffset-scale axis.z.eoffset-scale
5757
net plasmac:program-pause plasmac.program-pause => halui.program.pause
5858
net plasmac:program-resume plasmac.program-resume => halui.program.resume

lib/hallib/qtplasmac_comp.hal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ net plasmac:z-offset-current axis.z.eoffset => plasmac.z-offse
3737
# ---PLASMAC COMPONENT OUTPUTS---
3838
net plasmac:adaptive-feed plasmac.adaptive-feed => motion.adaptive-feed
3939
net plasmac:feed-hold plasmac.feed-hold => motion.feed-hold
40-
net plasmac:jog-inhibit plasmac.jog-inhibit => motion.jog-inhibit
40+
net plasmac:jog-inhibit plasmac.jog-inhibit => motion.jog-inhibit motion.jog-stop
4141
net plasmac:offset-scale plasmac.offset-scale => axis.x.eoffset-scale axis.y.eoffset-scale axis.z.eoffset-scale
4242
net plasmac:program-pause plasmac.program-pause => halui.program.pause
4343
net plasmac:program-resume plasmac.program-resume => halui.program.resume

share/qtvcp/screens/qtplasmac/qtplasmac_handler.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '1.227.214'
1+
VERSION = '1.227.215'
22

33
'''
44
qtplasmac_handler.py
@@ -601,6 +601,14 @@ def new_process_error(self, w, kind, text):
601601
elif self.w.led_breakaway_switch.hal_pin.get():
602602
text = _translate('HandlerClass', 'Breakaway Switch has disabled jogging')
603603
N.update(O.notify_critical, title='Operator Error:', message=text, msgs=O.notify_max_msgs)
604+
elif 'jog-stop' in text or 'jog-stop-immediate' in text:
605+
if self.w.led_float_switch.hal_pin.get():
606+
text = _translate('HandlerClass', 'Float Switch has aborted active jogging')
607+
elif self.w.led_ohmic_probe.hal_pin.get():
608+
text = _translate('HandlerClass', 'Ohmic Probe has aborted active jogging')
609+
elif self.w.led_breakaway_switch.hal_pin.get():
610+
text = _translate('HandlerClass', 'Breakaway Switch has aborted active jogging')
611+
N.update(O.notify_critical, title='Operator Error:', message=text, msgs=O.notify_max_msgs)
604612
elif kind == linuxcnc.OPERATOR_ERROR:
605613
N.update(O.notify_critical, title='Operator Error:', message=text, msgs=O.notify_max_msgs)
606614
elif kind == linuxcnc.OPERATOR_TEXT:
@@ -1540,6 +1548,7 @@ def hard_limit_tripped(self, obj, tripped, list_of_tripped):
15401548
def jog_inhibited_changed(self, state):
15411549
if state:
15421550
self.w.chk_override_jog.setEnabled(state)
1551+
self.w.releaseKeyboard()
15431552
else:
15441553
if not self.w.led_float_switch.hal_pin.get() and not self.w.led_ohmic_probe.hal_pin.get() and \
15451554
not self.w.led_breakaway_switch.hal_pin.get():

share/qtvcp/screens/qtplasmac/versions.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ <h2>QtPlasmaC Version History</h2>
3030
</table>
3131
<br>
3232
<!--- ****** ADD NEXT VERSION BELOW THIS LINE ****** --->
33+
<br><b><u>v1.227.215 2022 July 08</u></b>
34+
<ul style="margin:0;">
35+
<li>update to make use of new motion.jog-stop pin</li>
36+
</ul>
37+
<i>Changes submitted by snowgoer540 (Greg Carl)</i><br>
38+
3339
<br><b><u>v1.227.214 2022 July 05</u></b>
3440
<ul style="margin:0;">
3541
<li>fix rfl selection behavior</li>

0 commit comments

Comments
 (0)