Re: Override probe function for probeguard
Posted: Mon Feb 27, 2023 10:58 pm
You didn't specify exactly what do you need. Probing may mean 3 different things in UCCNC: the actual G31 (LED 24), the M31 (use your own LED or output) or probing using the Probe screen (LED 310 since 1.3.4 which was released in UCCNC 1.2114). (Not to mention other plugins and/or macros that may probe, e.g. ProbeIt.) To cover all the cases you need an LED for the M31 and a macroloop to read all 3 LEDs and set an output if any of them is on.