Very new need help with external drivers
-
Hello brand new here and to the duet
I just got my first duet and I really like the interface I don't know what took me so long to try one out.
But here's my problem. I need to run external drivers on xyz 2 motor drivers on z because of size. I believe I have them plugged in right all the - in differant grounds on the board (should I hook them all to one ground ). And en step and dir pluged in to e2-5 on the expantion header…
What is happening is the motors when powered wil so in by hand once I try to move then with the UI they lock solid. Please help me get this sorted.
-
How have you connected thr external drivers - have you read this wiki page: https://duet3d.com/wiki/Using_external_stepper_motor_drivers ?
If your stepper motors are rated no higher than about 3A, you should be able to use the internal drivers to drive them.
To drive 2 Z motors, either plug them into the ZA and ZB connectors (which are wired in series), or plug the cables into 2 different motor outputs and use the M584 to remap the Z axis to both of those outputs.
HTH David
-
Hi David thanks for the reply
I have read that link many times I can not use the on board driver my motors need much higher volts and amps. i have them connected to an 48V power supply and the duet on 24V
I have them connected like the link explains and how i have connected the external drivers on ramps all the - go to the - on the driver and en step and dir plugged in in the expansion header.
-
here is my driver config
; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M584 X5 Y6 Z7:8 E4 ; Apply custom drive mapping
M350 X1 Y1 Z1 E16 I0 ; Configure microstepping without interpolation
M92 X80 Y80 Z4000 E420 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
M906 X100 Y100 Z100 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout -
I suggest you add M569 commands for your external drivers (P5 = E2 pins, P6 = E3 pins etc.) and use the T parameter on those commands to extend the step pulse timing. Try T4 initially, and if that works you can try reducing it.
The fact that the motors are free when you power on but lock when you try to move them suggests that you have at least the Enable inputs of the driver wired correctly.
-
THAT WORKED!
but my 2 z are not moving and getting very hot. im thinking this might be because i have to find out how to get my BL touch working first?
-
No, you do not need a Z probe to get Z movement working.
Your config indicates that you are using external drivers connected to the expansion connector E4 and E5 sets of pins to drive the Z motors. Therefore, how hot your Z motors get depends on the current that you have set your external drivers to and is nothing to do with the Duet. Motors run at their full rated current always get very hot, therefore it's normal to run them below rated current.
Did you add M569 P7 and M569 P8 commands to config.g, with T parameters?
-
I did maybe I need to check wires on them because the motors turn on but do not move. Thanks for letting me know I don't need to get zprob working first
-
If the motors turn on when you first try to move them but not before then, that means the Enable wires are OK. If there is no sign of movement when you command them, check that the Step inputs of your drivers are wired correctly. If the motors vibrate loudly but do not move consistently, then there could be a problem with the wiring between the drivers and the motors, or you could be trying to move them too fast.
-
i re weird and all is working now… now on the the BLtouch can you tell me the 5 pins it should be going to i cant seem to get any defant findings also in the firmware set up what option do I use?
-
all is working now but my E0 motor. it was working before the other
M584 E4 X6 Y5 Z7:8 ; Apply custom drive mapping
-
ok thank you for the help… last question I got BLtouch working took some digging.
how can I raise Z higher in between probs
at the end of a print it homes Xand Y but when the X end stop is hit Z goes down 10mm then the same with Y how can i stop this?
-
how can I raise Z higher in between probs
H parameter (dive height) in the M558 command.
at the end of a print it homes Xand Y but when the X end stop is hit Z goes down 10mm then the same with Y how can i stop this?
What it does at the end of a print is determined by your slicer end gcode. So it's your slicer configuration that you need to change.
-
so i change this
M558 P5 X0 Y0 Z1 H5 F100 T2000
to M558 P5 X0 Y0 Z1 H10 F100 T2000
?
I have looked in the Gcode and it just had G28 X0 Y0
what it dose is raise Z 10mm homes X lowers Z 10mm the raises it then homes Y and lowers and raises Z
-
thanks for all your help i will be replacing more printer boards with duets no more mks!!!
-
so i change this
M558 P5 X0 Y0 Z1 H5 F100 T2000
to M558 P5 X0 Y0 Z1 H10 F100 T2000
?
I have looked in the Gcode and it just had G28 X0 Y0
what it dose is raise Z 10mm homes X lowers Z 10mm the raises it then homes Y and lowers and raises Z
1. Yes.
2. Instead of G28 X0 Y0 at the end of config.g you might want to use e.g. G0 X0 Y0 F5000. Or you might find e.g. G0 X0 Y200 more convenient.
-
thanks you….
can you give me some insight on right now I'm having a shifting problem Y- seems like .1mm a layer not bad so I'm thinking it in accels
M566 X50 Y50 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
-
Layer shifts are usually caused by the hot end catching on a blob or curl-up from the previous layer during a travel move. Remedies may include:
- Z hop during retraction/travel moves (practical on deltas, less practical on other architectures)
- Better print cooling to avoid the curl up, or better retraction settings to avoid the blobs
- Higher motor current
- Reduce travel move speed
However, it you are getting a layer shift at every layer, that sounds as if it is acceleration or speed related. Use the motor EMF calculator at https://configurator.reprapfirmware.org/ to check that you are not trying to make the motors move too fast and reduce top speed if necessary (M203); otherwise increase Y motor current if the Y motor is running cool, or reduce acceleration.
-
thank you i am working on speeds now i added a fan to the Y motor i might get a water cooling setup for it but cant seem to find many options.