I have a problem where when I press the home button, the z axis goes down instead of going up in fluidnc.
how inverted limit switch in fluidnc when using the home button
my regards
I have a problem where when I press the home button, the z axis goes down instead of going up in fluidnc.
how inverted limit switch in fluidnc when using the home button
my regards
i would make sure the limit switches are wired and responding correctly. The light/LED next to the limit switch should be ‘on’ for that axis when nothing is pushing against the switch and ‘off’ when triggered. If not then A) make sure the ‘limit_pos_pin:’ is configured with the correct pin number. B) if that is correct then make sure there is a ‘high’ set after the pin number (assuming the switches are wired for "normally open’) as an example: limit_pos_pin: gpio.32:high (under the motor section of the axis you are looking at)
to reverse the homing direction, change the positive_direction (under the homing section for that axis) from ‘true’ to ‘false’ or the other way around.
All of this is in the config.yaml file. Refer to the configs Ryan has on the V1 engineering github site.
I hope i understood your question and this helped.
Thank you for your help. The problem was solved by changing it from ‘false’ to ‘true’
my regards
What machine are you running? Are you using Ryan’s config file for your machine?
If your stepper(s) is(are) moving in the opposite direction, the likely fix is just to flip the direction of the stepper plug(s) on the board.
Generally, you want your Z to be homing in the the +Z direction. It looks you just changed it to home in the -Z direction.
On the surface, this looks correct because the motion is moving in the direction you want it to, but this is likely not want you want.
The generated GCode from your CAM program is likely setup so that +Z is up, and having that reversed can cause problems.
Please let us know more details about your setup (machine, config file, etc) so we can make sure it is configured correctly.