Probe Guard

Monday, 08 July 2024

Home
Up
Plugin controller
Probe Guard
Turn off outputs
Traffic lights
Block Delete
Probe Wake
Messaging
SubZero

 

ProbeGuard_plugin.py

Add this plugin to ensure that the spindle cannot be started whilst you have either a probe or a Haimer loaded.  Combined with ui_hooks.py, this is equivalent to the original probe protection code as seen in the NYCCNC video.

 

Customisation.

At line 25 in the file, you'll find the code

# the tuple of tool numbers to protect from spindle on
PROBE_TOOL_NUMBERS = (99,)

If you have multiple probes in your tool library, then you can protect them all by editing this line.  For example, to protect tools 99, 100 and 101, edit it to read

# the tuple of tool numbers to protect from spindle on
PROBE_TOOL_NUMBERS = (99, 100, 101)

As of 25/05/23, there's now an optional hal file.  If you copy this to the same location as the .py file, then in addition to protecting against spindle on when a probe is loaded, you also gain protection against probe trips causing program runs to abort when the tool in the spindle is not in fact a probe.

Latest Plugin download

Latest hal file download

Version history

Version Date Description
1 06/10/22 First release
2 25/05/23 Added hal file to allow false probe trips during program runs to be disabled.  This means that during a run, if the tool in the spindle isn't one the PROBE_TOOL_NUMBERS list, then the probe input is disabled and can't interrupt the running program.

At all other times, the probe input acts exactly as previously, so manual jogs are protected in the same way as previously.

Home | Up

 

This site was last updated 25/05/23