Skip to content

Expatria-Technologies/grblhal_probe_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

GRBLHAL Probing Add-on Plugin

USE AT YOUR OWN RISK. THERE IS NO EXPECTATION THAT THIS CODE PREVENTS DAMAGE TO EQUIPMENT OR YOURSELF. ALWAYS PROBE SLOWLY AND MAKE SURE YOU KNOW EXACTLY WHERE THE MACHINE WILL GO AT ALL TIMES

Tested on the FlexiHAL controller (STM32F4xx driver):

https://github.com/Expatria-Technologies/Flexi-HAL

Installation

Copy or check out the code into your GRBLHAL source tree.
Add the following lines to your plugins_init.h.

#if PROBE_PROTECT_ENABLE
    extern void probe_protect_init (void);
    probe_protect_init();
#endif

Set the PROBE_PROTECT_ENABLE flag in your platformio.ini or other appropriate location.

Features:

  • Configure probe polarity independently for tool probe and touch probe. Allows easy disconnection of NC probes when used with XOR or XNOR probe input (as on FlexiHAL).
  • On PROBE_CONNECTED check probe pin and assert halt if probe is active outside of any movement that isn't a probing motion.
  • On PROBE_CONNECTED does not allow the spindle to run.
  • Allow PROBE_CONNECTED to be assigned to Aux input (set polarity)
    • This requires an interrupt capable pin.
  • Set PROBE_CONNECTED on T99.
  • Set PROBE_CONNECTED with M401 and clear with M402 mcodes.
  • Enable an alternate input for toolsetter.

In future:

  • Trigger macro .nc upon probe connection and disconnection.
  • Allow hard limits to be enabled during tool probe.
  • Set jog exclusion zone around toolsetter.
  • Store TLR persistently.
  • Different decel value for probing

About

Plugin for probing and probe protection in GRBLHAL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages