Z axis limit switches #370
-
I have a picoCNC running the grblhal firmware. The board has limit switche accommodations for A,X,Y,Z. I'm currently only using X,Y,Z for a laser table. I would like Z to have both positive and negative limit switches. Can someone point me to an example to how of possible to set this up? We will likely be adding a rotary axis on the future so I will likely enable Axis A bit will not need the limit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The RP2040 driver currently does not have support for max limit switches so creating a custom map file is not an option.
|
Beta Was this translation helpful? Give feedback.
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: