Welcome! Log In Create A New Profile

Advanced

Driver numbers

Posted by joestefano 
Driver numbers
December 16, 2016 03:33PM
Can someone confirm that the driver numbers for a Duet with a Duex4 are as follows. 0,1,2,3, E0, E1 on the Duet. What are the driver numbers of the DueX4 E1,E2,E3,E4? Can someone give me an example of the M584 code for X,(2)Y,Z and 3 extruders please? And will this be the same for the Duetwifi and a DueX2?
Re: Driver numbers
December 17, 2016 04:10AM
I think here you will find answers to all your questions:
[reprap.org]

The extruder numbers on DueX4 are 2,3,4,5, but they are placed not at this order on the board. Just follow the link above...
Re: Driver numbers
December 17, 2016 04:23AM
Driver numbers 0-9 (as used in M584 commands) are always respectively X Y Z E0 E1 E2 E3 E4 E5 E6. The link in the previous post will tell you the naming of the motor connectors on the Due X4, which depends on whether it is connected to a Duet 0.6 or 0.8.5.

Edited 1 time(s). Last edit at 12/17/2016 04:24AM 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].
Re: Driver numbers
January 21, 2017 03:51PM
Question on the other commands when you have mapped drivers.

I want to map drive 2 (Z) and 4 (E1) to the Z axis. (M584 X0 Y1 Z2:4).
With the M906, to set the current for drive 4, I would do something like M906 E600:1000 where the motor on the extruder would get 600ma (E0) and the extra motor on Z (E1) would get 1000ma.

What about the other commands like M201 (acceleration), M203 (max speed), M566 (max jerk). Do I use the same E<0>:<1> format or does the Z value apply to all mapped drivers?
Re: Driver numbers
January 21, 2017 07:01PM
In your M584 command you should also specify the extruder drive mapping, otherwise you can end up with a drive mapped to both an axis and an extruder. So your example should be:

M584 X0 Y1 Z2:4 E3:5:6:7:8:9

After that, all the other commands including the ones you mention will take the mapping into account. For example, M906 Z1000 will set both Z motors to 1000mA.



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].
Re: Driver numbers
January 22, 2017 12:01AM
I changed my M584 line to what you suggested and the Z axis stopped working. I found the values 7, 8, or 9 causes the problem. I am running 1.16 on 0.8.5 if that makes any difference.
Re: Driver numbers
January 22, 2017 04:25AM
So use E3 in your M584 command and leave out drivers 5 to 9.

Edited 2 time(s). Last edit at 01/22/2017 04:26AM 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].
Re: Driver numbers
January 22, 2017 09:27AM
That is what I did. Actually added 3:5:6. Just wanting to let you know what was happening. Based on your message, it sounded like you didn't expect that to happen.
Re: Driver numbers
January 23, 2017 04:00AM
Quote
ElmoC
That is what I did. Actually added 3:5:6. Just wanting to let you know what was happening. Based on your message, it sounded like you didn't expect that to happen.

No , I didn't. I can understand that driver 9 might cause problems because it doesn't exist on your boards. But I would expect driver numbers 7 and 8 to work.



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