Zendstop wrong polarity?
-
hi my brain goes crazy with making z-axis work
i have inductive limit switch that send 6V when not activates and 0V when activated. So Active Low?
When i set I get inverted functionality... when wutch ot activated nothing happens and when its activated and hold then table moves in direction where i need itM574 Z1 S1 P"zstop"
When i set S2 table moves a bit and they i get error
M574 Z1 S1 P"zstop"
LED on board show switch work poprely M119 bit confusing on wording but seams logical. And also cant find any sensor data in web UI
How can i invert sensor? or am i doing something wrong?
-
@alexus said in Zendstop wrong polarity?:
M574 Z1 S1 P"zstop"
You invert by adding a
!
to the pin name.M574 Z1 S1 P"!zstop"
https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3
-
ok never mind figured out
M574 Z1 S1 P"!^zstop"
also added pull up , my guess it will be better? or should i remove pull up?
now need to figure out why Z home goes down like 5mm and then goes up... i think that can cause crash if im close to end of the box
-
-
@alexus said in Zendstop wrong polarity?:
now need to figure out why Z home goes down like 5mm and then goes up
Your homing file likely has a G1 H2 Z move to give some clearance in XY before homing.
-
u mean so that if we at top so extruded does not scratch table or something?
also will try config without pull up now
-
yes basically to avoid the nozzle dragging on the bed.
-
@phaedrux
ok got it what about crashing at bottom base? i would logically add extra limit whitch but as i read board only supports one set per axis? -
To be safe you would leave enough spare travel room beyond your M208 max limit to allow for the homing lift. 5mm may be overkill for your needs. Perhaps only 2mm is required for clearance. You also won't often be driving the Z axis to it's very limits during a print anyway.
-
@phaedrux
@phaedrux
yep i figured that... right now wil leave 50mm to be safe
for now i think im set for z axis... though i had to use ratio to calculate mm/step instead of figuring out mechanical exected values so i might have some deviation... but any way lets get XY axis working lolthank you for your help!