2-wire Mechanical N/O endstop switches
-
@kroybal said in 2-wire Mechanical N/O endstop switches:
M574 Z1 S0 P"io4.in" ;Z-Min switch active-low M574 Z1 S0 P"io5.in" ;Z-Min switch active-low
This should be formatted as M574 Z2 S1 P"io4.in+io5.in"
Plus inverting with ! if necessary.
-
@Phaedrux said in 2-wire Mechanical N/O endstop switches:
This should be formatted as M574 Z S1 P"io4.in+io5.in"
Formatting this way is to combine redundant switches?
After implementing this, my endstop status column on the DWC lists 4 out of 5 endstops (indexing 0-3) Keeping the inverted "!" indicator across all endstops results in index 0,1 & 2 as not triggered and index 3 as n/a.
-
https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3
Do you have dual z motors? What is the reason for redundant switches?
-
-
@Phaedrux The machine came with the switches pre-installed I do not see any obvious reasons for redundant Z switches. My lab manager did buy a modulated IR Z probe which will certainly effect the setup down the line once its installed.
-
UPDATE:
I got the switches running. I will probably just recognize only one of the redundant switches, since they seem to be coplanar and serve no obvious purpose. I am working with some juiced up motors for the z-axis and the only reason I can think of for redundant switches in to be safe not to damage the machine in the event of a signal failure.
I could post a photo if you are interested however, doesn't seem to be necessary at this point!
Thanks for your help.
-
@kroybal said in 2-wire Mechanical N/O endstop switches:
...the only reason I can think of for redundant switches in to be safe not to damage the machine in the event of a signal failure.I could post a photo if you are interested however, doesn't seem to be necessary at this point!
I would like to see a picture of the two Z end stop switches.
I had two on a printer at one time when I was experimenting with homing Z at a very high speed until it triggered the first end stop switch. Then the homing continued at a safer speed until the second end stop switch triggered.
Thanks.
Frederick
-
-
It looks like they planned to have a endstop for each Z stepper so homing would also get the two steppers back in sync if they happened to get out of sync for some reason.
So you may want to implement that.
Frederick
-
@Phaedrux said in 2-wire Mechanical N/O endstop switches:
@kroybal said in 2-wire Mechanical N/O endstop switches:
M574 Z1 S0 P"io4.in" ;Z-Min switch active-low M574 Z1 S0 P"io5.in" ;Z-Min switch active-low
This should be formatted as M574 Z2 S1 P"io4.in+io5.in"
Plus inverting with ! if necessary.
This would get you the releveling with dual endstops.