Welcome! Log In Create A New Profile

Advanced

how to set motor current for P0 to P9

Posted by appjaws1 
how to set motor current for P0 to P9
November 27, 2017 09:03AM
Hi,
I have modified my core XY to use a separate moving extruder platform so I have set the drive as shown:-
M569 P0 S0 ; Drive 0 goes forwards X1 motor
M569 P1 S0 ; Drive 1 goes forwards X2 motor
M569 P2 S0 ; Drive 2 goes forwards E3
M569 P3 S0 ; Drive 3 goes forwards E2
M569 P4 S0 ; Drive 4 goes forwards E1
M569 P5 S1 ; Drive 5 goes backwards Y motor change direction for 1.19 firmware
M569 P6 S1 ; Drive 6 goes backwards Y motor change direction for 1.19 firmware
M569 P7 S1 ; Drive 7 goes backwards Z1 motor
M569 P8 S1 ; Drive 8 goes backwards Z2 motor
M569 P9 S1 ; Drive 9 goes backwards Z3 motor


This is my original current setting:-
M906 X950 Y950 Z950 E950 ; Set motor currents (mA)

I can not see any options to define the currents for each motor X1,X2,Y1,Y2,E1,E2,E3,Z1,Z2,Z3,
How can I set this?

Edit Also How to set accelerations,max speeds,max jerk, These do not need to changed if the motors that make up X,Y,Z and E are identified so that both X motors are treated as just X

Edited 1 time(s). Last edit at 11/27/2017 09:08AM by appjaws1.


appjaws - Core XYUV Duet Ethernet Duex5
firmware 3.1.1 Web Interface 3.1.1
Ormerod 1-converted to laser engraver, Duet wifi
OpenSCAD version 2020.07
slic3r-1.3.0, Simplify3D 4.1.2, Cura-4.4.1
Re: how to set motor current for P0 to P9
November 27, 2017 09:16AM
If you will be using the extra motors as additional X and Y motors and extruders (not as separate axes), all you need to do is define them that way using M584. For the setup you described it would be:

M584 X0:1 Y5:6 Z7:8:9 E4:3:2

Then any subsequent M906 commands will apply to both X motors and both Y motors.

You can't use different currents for the two X motors, or for the two Y motors, but you can set per-extruder motor currents:

M906 E800:1200:1000

HTH David

Edited 2 time(s). Last edit at 11/27/2017 09:17AM by dc42.



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