Skip to content

Z axis limit switches #370

Answered by terjeio
cpapplefamily asked this question in Q&A
Sep 18, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The RP2040 driver currently does not have support for max limit switches so creating a custom map file is not an option.
Easiest is to connect both switches to the Z limit input, normally closed (NC) switches in series, normall open (NO) in paralell. There is a small problem with this though, if homing is initiated with one of the switches triggered the homing routine cannot know which direction to pulloff. To avoid a crash in this scenario "Two switches shares one input pin" (bit 4) in the $22 setting should be enabled.
$$=22 output:

    0 - Enable (1)
    1 - Enable single axis commands (2)
    2 - Homing on startup required (4)
    3 - Set machine origin to 0 (8)
    4 - Two switches s…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cpapplefamily
Comment options

@terjeio
Comment options

Answer selected by cpapplefamily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants