I'm running an Arduino Mega 2560 with a RAMPS 1.4 board. We have installed the 1.1.X Marlin firmware.
I have a question about modifying the idle direction voltage for our extruder. Our project is a bit unconventional. Rather than using a stepper driver with the extruder's direction and pulse, I have the direction used as the logic signal to a relay. The relay then controls a separate pump and valve. The direction values work when the extruder is actively retracting or extruding, but is inverted (compared to what I want) when idle. It looks like the direction signal of the extruder when idle is the same value as when it is extruding. I would like to set the idle direction value of the extruder to the same value as the "retract" direction instead. I'm thinking this can be done through modification of the firmware, but am only passingly familiar with the Marlin solution. Any advice or pointers as to where the relevant code could be found would be greatly appreciated.
I have a question about modifying the idle direction voltage for our extruder. Our project is a bit unconventional. Rather than using a stepper driver with the extruder's direction and pulse, I have the direction used as the logic signal to a relay. The relay then controls a separate pump and valve. The direction values work when the extruder is actively retracting or extruding, but is inverted (compared to what I want) when idle. It looks like the direction signal of the extruder when idle is the same value as when it is extruding. I would like to set the idle direction value of the extruder to the same value as the "retract" direction instead. I'm thinking this can be done through modification of the firmware, but am only passingly familiar with the Marlin solution. Any advice or pointers as to where the relevant code could be found would be greatly appreciated.