Remap a 5th motor to expansion on Duet 0.8.5
-
Hi
I would like to remap the driver-pins (en, dir, step) of one of the on-board driver to the expansion header.
I dont need any of the heater or fan pins.
Is this possible without much trouble to change the pins in the Pins_Duet.h?
-
see http://reprap.org/wiki/Gcodes#M584:_Set_drive_mapping you can use any of the additional 4 driver pin sets that are already on the duet 0.8.5
and I am sure David or Tony will be along to confirm or deny this.
Doug
-
i know, i am already using them
i need to use a 5th extern driver ^^
-
ah OK then David is the man then
-
You need to change at least two areas. The first is Pins_Duet.h, to increase DRIVES by one, to define which pins you are using, and to remove any existing assignment of those pins. The other is the 3 functions at the end of Platform.h, which are used for driving the STEP pins. See the comment block that precedes those functions. To make is easier for yourself, try to assign the new STEP pin so that it is on port A, C or D and its bit number within the port isn't 1 and doesn't clash with any of the other bit numbers of STEP pins.
-
your are great, ill try that.