Skip to main content
Discussion Topic
User avatar

How to add a second endstop y (resolved)

Bonjour comment configurer un deuxième endstop sur le deuxième moteur axes y afin de bien assurer la géométrie ?

Hello, how to configure a second endstop on the second y-axis motor in order to properly ensure the geometry?
Reply to discussion Subscribe to discussion

Is this a worthwhile discussion?

Score 1
Add a comment

2 Replies

User avatar

Hi Nico,

Thanks for your message.

This is possible, but is quite advanced. In the homing sequence, you would need to split the Y-Axis into 2, home them individually, and recombine them at the end. See here: https://forum.duet3d.com/topic/28078/dua...

Was this reply helpful?

Score 0

Comments:

hello I tried to configure the y axes (split y axis) with the endstops but it doesn't work I don't understand what is happening below my config

;AXES CONFIG

M584 X0 Y1 Z2 U3 ; Apply drive mapping to axes

M584 P3

M906 X2400 Y2400 Z2400 U2400 I80 ; Set motor cur

M92 X400 Y399.78 Z400 U400.51 ; Set steps

M350 X16 Y16 Z16 U16 I1 ; Config microste

M203 X2500 Y2500 Z2500 U2500 ; Set max speeds

M201 X150 Y150 Z150 U150 ; Set accelerations (mm/s^2)

M566 X500 Y500 Z500 U500 ; Set max inst speed

M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0

M84 S30 ; Set idle timeout

; Drives config

M569 P0 S1 ; physical drive 0.0 goes forX

M569 P1 S1 ; physical drive 0.1 goes for Y1

M569 P2 S1 ; physical drive 0.2 goes for Z

M569 P3 S1 ; physical drive 0.3 goes for Y2 (u)

by

; Axis Limits

M208 X0 Y0 Z0 U0 S1 ; set axis minima

M208 X550 Y770 Z64.50 U770 S0 ; set axis maxima

; Endstops

M574 X1 H1 P"!io4.in" ; config active-high endstop for low end on X via pin io4.in

M574 Y1 H1 P"!io2.in+!io3.in" ; !io2.in+!io3.in configure active-high endstop for low end on Y via pin io1.in

M574 Z2 H1 P"!io1.in" ; configure active-high endstop for high end on Z via pin io2.in

;M574 U1 H1 P"!io2.in" ;test

by

My old configuration which worked before the separation of the axes was

M574 X1 H1 P"!io4.in"

M574 Y1 H1 P"!io2.in+!io3.in"

M574 Z2 H1 P"!io1.in"

by

; Drives

M569 P0.0 S1 ; physical drive 0.0 goes forwards

M569 P0.1 S1 ; physical drive 0.1 goes forwards

M569 P0.2 S1 ; physical drive 0.2 goes forwards

M569 P0.3 S1 ; physical drive 0.3 goes forwards

M569 P0.4 S1 ; physical drive 0.4 goes forwards

M584 X0.0 Y0.1:0.3 Z0.2 E0.3:0.4 ; set drive mapping

by

Hi Nico,

I am not sure, as not something we supply with our machine.

But I think in the homing file, all you need to do, is change the movement matrix, using M669

Define the extra endstop.

Home it.

Then remove the extra endstop and putting the axis matrix back.

by

Add a comment
User avatar

Hi Robert it’s done 🤓

Thanks

My config home

G91 ; relative positioning

; split Y motor control to Y and U

; for it to work we have to show U (param P4) in the UI

M584 Y1 U3 P4

G1 H2 Z-1 F4000 ; lift Z relative to current position

G1 H1 Z85 F1800 ; move Z down until the endstop is triggered

G1 H2 Z-1 F4000 ; lift Z relative to current position

G1 H1 Y-770 U-770 F1800 ; move quickly to Y axis endstop and stop there (first pass)

G1 H2 Y5 U5 F1800 ; go back a few mm

G1 H1 Y-770 U-770 F360 ; move slowly to Y axis endstop once more (second pass)

G1 H1 Z-5 F1800 ; lower Z again

M584 Y1:3 P3 ; back to combined axes and hidden U

G90

Link to duet

to a post where others have done it on the Duet3D forums. https://forum.duet3d.com/topic/19388/rep...

Was this reply helpful?

Score 0
Add a comment

Join the discussion

Author avatar Nico will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 1

Past 30 Days: 3

All Time: 96