ProSoft - OK so fill me in on how you are using the ABL feature. I never got it set up on my system yet, because i was thinking that the way Marlin works it won't work for CNC use, but, it looks like it is for you. Your switch is aligned to your bit (spindle shaft) in the X Y directions. So you need no XY offset, but, it is below the bit in the Z direction. So, how do you compensate for that? Where do you set the Z offset? My probe is also offset in the X and Y direction, and in the Z direction. So, where and how do i set those offsets? The Z offset will be different for each bit and bit change, so it can't be set to a fixed value.
The problem your having, when you change bit in middle of cut, you have to do a new Z zero setting and you then lose the ABL map. If Marlin has no current setting for that, then when i get the time i will look to see where that can be changed in the code. What I will do is add a setting to the Configuration.h file add a CNC ABL flag that tells marlin NOT to delete Map info after a G30 command. Then I will find out where in the main.cpp file it is resetting the map data during the processing of the G30 command and add code to check for our added flag and NOT reset the data if our flag is set. It should be a fairly easy modification to make. Modifying the Configuration.h file and marlin-main.cpp file.
i would put a comment and mark the added/changed code in the main.cpp file, that way when we update to a later version we can put the same changes in the new updates. I could also submit it for review and see if it can be added to future versions.
so tell me, where / how did you do the Z offset to be able to use the ABL feature? And, if i can, i need to also set an XY probe offset.
The problem your having, when you change bit in middle of cut, you have to do a new Z zero setting and you then lose the ABL map. If Marlin has no current setting for that, then when i get the time i will look to see where that can be changed in the code. What I will do is add a setting to the Configuration.h file add a CNC ABL flag that tells marlin NOT to delete Map info after a G30 command. Then I will find out where in the main.cpp file it is resetting the map data during the processing of the G30 command and add code to check for our added flag and NOT reset the data if our flag is set. It should be a fairly easy modification to make. Modifying the Configuration.h file and marlin-main.cpp file.
i would put a comment and mark the added/changed code in the main.cpp file, that way when we update to a later version we can put the same changes in the new updates. I could also submit it for review and see if it can be added to future versions.
so tell me, where / how did you do the Z offset to be able to use the ABL feature? And, if i can, i need to also set an XY probe offset.