Go to homepage
1 / 4
Jul 2017

Hi FistFull,

no problem :wink:

First of all, to answer your former question: The M119 command is for checking the triggers. This way you can manually receive the current state of the triggers, before you do an Auto Home and the head will potentially crash into your bed. I used this command to test if my capacitive sensor is working correctly before I did my first Auto Home.

Now your other question: It is all about calculation. Lets assume you are the printer and want to reach the RIGHT_PROBE_BED_POSITION at 205. This would mean you would need to get the head to position 250 which is the Max position you set in your code. Marlin/Skynet also implements so called software endstops which are trigger here, because, as I think, the software trigger is checking if the target position is smaller than the max position, not smaller or equal. Try to set the Max position to 251 or disable the software endstops in the configuration (Danger: This could damage your hardware).

Search for “MAX_SOFTWARE_ENDSTOPS”

I also attached my current configuration.h as a reference. I am also using auto bed leveling with a sensor. Just rename the JPG to H :wink:
configuration.jpg (0 Bytes)