Closed Quintenluyten closed 1 week ago
The wiki was misleading and inconsistent. I edited it to reflect the intended behavior, which FluidNC implements correctly. After homing, mpos_mm is set to one end of the travel range. pulloff_mm is a guard zone that is outside the travel range. When soft limits are enabled, you can travel all the way to mpos_mm without consideration of pulloff_mm
Would there be any way to allow the machine to travel past mpos_mm in to the guard zone when soft limits are enabled? My situation is similar to how a 3D printer bed works: the machine needs to be able to move all the way up to the limit switch during operation, and the limit switch cannot be placed further down the axis, since this would cause a collision.
In a 3D printer, this is needed since the nozzle needs to be able to get very close to the bed during normal operation. For my machine, I would like my cutting tool to cut very close to the CNC table.
One alternative is homing away from the table, but this will be less accurate
Can you put the Z homing switch on the end away from the bed, and use the probe function to reference to the bed? Or not home Z at all but rather just probe that axis?
Wiki Search Terms
homing pulloff_mm mpos_mm "homing and limit switches" "limit switch and homing setup flowchart"
Controller Board
Fysetc E4
Machine Description
I am building a custom 4 axis hot wire cutter. I am currently testing with 4 linear Cartesian axes, every axis has its own limit switch. So the machine has a XY gantry, and a AZ gatry. Once this homing issue is fixed, I will convert the kinematics to 2 makerbot gantries.
Input Circuits
No response
Configuration file
Startup Messages
User Interface Software
WebUI
What happened?
Expected behavior: After homing, I expect the MPos to be set to "MPos:3.000,3.000,3.000,3.000" since the machine homes at (0,0,0,0), and has a pulloff distance of 3 mm.
Observed behavior: However, the machine sets the machine position to "MPos:0.000,0.000,0.000,0.000" after the homing routine (including pulloff) is done. So now the limit switches are at (-3,-3,-3,-3) and out of reach of the soft limits of the machine.
Other thing I tried: If I set the mpos_mm of each axis to 3 mm, then the soft limits limit movement to (3 mm, max_travel_mm + 3 mm). However, I want the travel to be limited to (0 mm, max_travel_mm), with 0 mm being the limit switch location. Therefore, the pulloff distance needs to be used to set the machine position after the homing routine.
Why the expected behavior should make sense: The following page indicates that my expected behavior is what fluidnc should do, but I do not observe it in practice: http://wiki.fluidnc.com/en/support/machine_space_and_homing
GCode File
No response
Other Information
No response