The x and y margins - ThomasToka/MarlinFirmware GitHub Wiki
E3S1PROFORKBYTT is cabable of independant dynamic margins for abl and ubl probing.
This means that you can set the margins to the maximum value that your hardware allows under accounting of the probe offsets.
To get the lowest possible margins simply set to both of them "0". The firmware will account the lowest possible margins and bounce it to you back and set it. On the S1 Pro with the stock probe position the expected bounce back is x=25 and y=42.
How the firmware accounts the margins is documented right below.
These constants are given by the basic hardware configuration for the Ender 3 S1 Pro:
X_MAX_POS = 242
Y_MAX_POS = 235
X_BED_SIZE = 235
Y_BED_SIZE = 235
To calculate a min margin the following maths is used:
x margin
X_MAX_POS - probe_offset_x = max_reachable_point_x -> X_BED_SIZE - max_reachable_point_x = min_x_margin
Examples x margin:
- in case of stock: 242-31.5=210 -> 235-210=25
- in case of 0 y offset: 242-44=198 -> 235-198=37
y margin
Y_MAX_POS - probe_offset_y = max_reachable_point_y -> Y_BED_SIZE - max_reachable_point_y = min_y_margin
Examples y margin:
- in case of stock: 235-41.8=193 -> 235-193=42
- in case of 0 y offset: 235-0=235 -> 235-235=0 -> but here i lifted it to min 10 so we have a little bit safety.
Stock Cr-Touch home position:
- Stock x margin:
- Stock y margin:
- minimum possible stock margins:
0 y offset CR-Touch home position:
- 0 y offset x margin:
- 0 y offset y margin:
- minimum possible 0 y offset margins: