Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in dual Z axis movements #91

Closed
strips opened this issue Mar 25, 2017 · 2 comments
Closed

Inconsistency in dual Z axis movements #91

strips opened this issue Mar 25, 2017 · 2 comments

Comments

@strips
Copy link

strips commented Mar 25, 2017

I am trying to enable dual Z axis with separate Z max/high endstops. I get both Z and U motors to stop when their endstops are triggered but when I try to lower Z and U only Z moves.

The issue happens in line 4 in the macro. G1 Z-4 U-4 F600 only the Z motor moves, U remains still.

config.g

M584 X0 Y1 Z2:5 U5 E3:4
M574 X1 Y1 Z2 U2 S1

macro

G91                     ; relative mode
M584 Z2                 ; split Z and U
G1 Z330 U330 F3000 S1   ; move up to 330mm in the +Z direction, stopping if the homing switch is triggered
G1 Z-4  U-4  F600       ; move slowly 4mm in the -Z direction
G1 Z10  U10  F70  S1    ; move slowly 10mm in the +Z direction, stopping at the homing switch
G1 Z-10 U-10 F3000      ; move back again 10mm in the -Z direction
M584 Z2:5               ; joun U to Z again
G90                     ; back to absolute mode
@dc42
Copy link
Collaborator

dc42 commented Mar 25, 2017

Try adding parameter S2 to line 4.

@strips
Copy link
Author

strips commented Mar 26, 2017

S2 did the trick. Should it be like that?

Updated macro works awesome!

G91                     ; relative mode
M584 Z2                 ; split Z and U
G1 Z330 U330 F3000 S1   ; move up to 330mm in the +Z direction, stopping if the homing switch is triggered
G1 Z-4  U-4  F600  S2   ; move slowly 4mm in the -Z direction
G1 Z10  U10  F70   S1   ; move slowly 10mm in the +Z direction, stopping at the homing switch
M584 Z2:5               ; joun U to Z again
G1 Z-10      F3000      ; move back again 10mm in the -Z direction
G90                     ; back to absolute mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants