Welcome! Log In Create A New Profile

Advanced

Duet - RepRapFirmware - Z min endstop ignored

Posted by andematt 
Duet - RepRapFirmware - Z min endstop ignored
August 06, 2016 07:47PM
I've got a Duet connected to a i3-style printer. I've got steps/mm dialed in and have X and Y homing to min-endstops. The Z min-endstop is ignored however.
Using M119 I can verify that the endstop is properly registering:
M119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped
and
M119
Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: not stopped

However, when I manually trigger the Z min stop it does not halt movement on the z-axis in either direction.
I've disabled Z-probing (I think) and enabled the z min stop:
M574
Endstop configuration: X low end (active low), Y low end (active low), Z low end (active low), E (active high)
; Movement section
M569 P0 S1                          ; Drive 0 goes forwards (change to S0 to reverse it)
M569 P1 S1                          ; Drive 1 goes forwards
M569 P2 S1                          ; Drive 2 goes forwards
M569 P3 S1                          ; Drive 3 goes forwards
M569 P4 S1                          ; Drive 4 goes forwards
M558 P0 X0 Y0 Z0	            ; disable z-probe
M574 X1 Y1 Z1 S0		    ; set endstop configuration (X and Y endstops only, at low end, active high)
M906 X800 Y800 Z900 E1000           ; Set motor currents (mA)
M201 X800 Y800 Z100 E1000           ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z10000 E3600     ; Maximum speeds (mm/min)
M566 X600 Y600 Z100 E20             ; Minimum speeds mm/minute
M208 X200 Y200 Z200                 ; set axis maxima (adjust to suit your machine)
M208 X-20 Y0 Z-0.2 S1               ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed)
M92 X99.9685 Y99.9685 Z201.2400     ; Set axis steps/mm
M92 E49.27                          ; Set extruder steps per mm
G21                                 ; Work in millimetres
G90                                 ; Send absolute coordinates...
M83                                 ; ...but relative extruder moves

Should I not be using the 1.15 beta? Switch to a dc42 bin?
Firmware Name:	RepRapFirmware for Duet
Firmware Version:	1.15-beta3 (2016-07-09)

Let me know if I excluded any pertinent info/config.

Edited 1 time(s). Last edit at 08/06/2016 07:49PM by andematt.
Re: Duet - RepRapFirmware - Z min endstop ignored
August 07, 2016 02:39AM
You need to adjust your homez.g and homeall.g files. See [duet3d.com].



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Duet - RepRapFirmware - Z min endstop ignored
August 07, 2016 12:24PM
Awesome. Thank you so much for the reply. Updating the homing configs to match the example on the wiki did the trick.

I'm still a little concerned that the min-endstop does nothing to halt movement unless the firmware thinks the axis is at home. Are there any configuration changes that would make the min-endstops the "absolute authority" in moving in the negative direction? In order words, if I'm at X100 and begin issuing X-1 codes, the movement will stop when I press the min-endstop micro switch with my finger.

I've read several posts here, while trying to figure the z homing issue out on my own, where it was explained that it is important to wire endstop micro switches the normally closed way so if a wire falls off, and the circuit is open, it acts as a failsafe. Maybe the web ui is causing confusion on my part because if I send:
G1 X-1 F1000 S1
Pushing the X-min-endstop halts further movement as I'd expect.

Somehow in all my clicking around I had never landed on a page in the duet3d.com wiki...I'll continue reading there.
Re: Duet - RepRapFirmware - Z min endstop ignored
August 08, 2016 02:07AM
The duet3d wiki is really meant for the Duet WiFi board, however it already includes quite a lot of content for the wired Duets and will eventually be the main reference for all of them.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Sorry, only registered users may post in this forum.

Click here to login