PanelDue and Motors will not function properly with Duet Wifi
-
Ok that photo looks good. Looks like the Y endstop is at the front now for Y min.
Just noticed your drive mappings are pretty... non-standard
M584 X3 Y4 Z2 E1 ; set drive mapping
Don't think it really matters here, but wondering if there's rhyme to the reason? Are we dealing with a blown driver or something?
Typically they'd be connected like so:
M584 X0 Y1 Z2:3 E4:5:6 ; Driver 0 controls the X motor, 1 controls Y, 2 and 3 control Z motors, 4 5 and 6 control E motors
Axis limits and endstops look correct.
; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X280 Y280 Z280 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop
Your homing moves look correct.
; homeall.g G91 ; relative positioning G1 H2 Z5 F600 ; lift Z relative to current position G1 H1 X-285 Y-285 F600 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-285 ; home X axis G1 H1 Y-285 ; home Y axis G1 X5 Y5 F600 ; go back a few mm G1 H1 X-285 F180 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-285 ; then move slowly to Y axis endstop G1 H1 Z-285 F180 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
The next thing to nail down is the direction of rotation for the X/Y motors.
; Drives M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S1 ; physical drive 4 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P1 S1 ; physical drive 1 goes forwards
Now in your setup P3 and P4 would be X and Y. This is where we'd do the
G91 G1 H2 X10
andG91 G1 H2 Y10
moves and go from there.https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Testing_motor_movement
The testing begins with the assumption that we'd be using
M569 P3 S0
andM569 P4 S0
so change those to S0 and do the movement test. -
This would also be a good time to test the endstops before even testing homing just to ensure they are configured corrected. If you trip them manually do they show as triggered in the machine status view?
-
Curious where the X endstop is, physically?
-
I believe it's on the printhead on the HEVO. You can see the Red green black wires for the optical endstop running to it. The flag is on the left X gantry block.
-
Hi All,
Carriage is in the center, normally 140, 140...
G91 G1 H2 X10
Moves diagonal towards 0, 280.
G91 G1 H2 Y10
Moves diagonal towards 0, 0.
M569 P3 S0
M569 P4 S0
G91 G1 H2 X10Moves diagonal towards 280, 0.
G91 G1 H2 X10
Moves diagonal towards 280, 280.
If you trip them manually do they show as triggered in the machine status view?
Correct, which is also why the homing speed is so slow, to give my hand time.
Just noticed your drive mappings are pretty... non-standard
Yes, earlier when having issues with only one motor moving it ended up being the diver was blown.
-
@firex726 said in PanelDue and Motors will not function properly with Duet Wifi:
is also why the homing speed is so slow, to give my hand time.
you can test the switches without moving the motors, just press and hold a switch while you run
M119
release switch and runM119
again to confirm both states. repeat for each axis -
@firex726 Or use the machine specific settings page in DWC to watch the endstops while triggering them, rather than running M119
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
Edit: Posts deleted to avoid confusion! But leaving this bit because of note about documentation.
He's basically doing this: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Testing_motor_movement
Though document needs updating to change S2 to H2 moves.Ian
-
YIKES!!!
Working from memory, I thought the H2 was endstop related ( as a safety net).
I've deleted my above post... thanks for catching that.
-
@firex726 said in PanelDue and Motors will not function properly with Duet Wifi:
Hi All,
Carriage is in the center, normally 140, 140...
G91 G1 H2 X10
Moves diagonal towards 0, 280.
Was this with M569 P3 S1 and M569 P4 S1?
G91 G1 H2 Y10
Moves diagonal towards 0, 0.
M569 P3 S0
M569 P4 S0
G91 G1 H2 X10Moves diagonal towards 280, 0.
From the test description: If it moves towards +X and -Y, swap the X and Y motor connections.
G91 G1 H2 X10
Moves diagonal towards 280, 280.
I assume you mean Y10?
Swap the motor connections and test again. Make sure you're using M569 P3 S0 and M569 P4 S0.
-
Well that did it.
Reversing the motor directions and also swapping the wiring. It'll both home and move in the correct directions now...
Thanks for everyone's help!
Now to clean up the wiring and calibrate it.
-
Woo Hoo!!! Extremely glad to hear that things are moving in the anticipated directions, etc, etc.
Woooo Hoooo!!!!
-
I knew we'd get there eventually.
-
Ha ha I haven't commented on this thread before but have followed it along the way. Just goes to show while building and setting up 3D printers can be very frustrating at times, if you stick with it and work through problems logically you get there in the end.
I've been a member of this forum for 5 years now, active off and on and it is by far the best community I have found.
For those that are far more knowledgable than I and constantly strive to help others and never giving up, like in this thread, and never getting fed up with constant "noob" questions, I thank you!
On a personal note, I'm immensely grateful to have such a wealth of knowledge at my finger tips and probably would have given up on this hobby long ago.
Oh dear god, I seem to have something in my eye causing it to water I'm going now lol