@fcwilt Triggers can't stop motion in a controlled manner, so at best you can call an emergency stop and lose system calibration. This is why endstop circuitry needs to exist inside the motion control loop - the endstop triggers need to be interrupts that can cancel motion at very low latency without losing position.
Best posts made by Terry
-
RE: Auto Tool Height Measurement
-
RE: Auto Tool Height Measurement
Just as a legacy of testing that machinePosition and userPosition were the same, which they are in this instance.
-
RE: Auto Tool Height Measurement
For clarity, I home in the positive direction (but physically downwards) for my axis and reference this as the highest axis distance. I then swap out the high end endstop for the low end endstop and probe in the negative direction (physically upwards) until the switch hits the tool.
This recalibrates the axis position to the target value that was in the move command, losing the information about how far I have actually moved in the original coordinate system.