Cannot reverse motor direction
-
@carefullylarry said in Cannot reverse motor direction:
@fcwilt thank you Frederick. I wasn't familiar with that command and tried it per your instructions. M569 is showing that the motor direction is changing per my edits to the config file, but each time I run my machine there is no difference.
In order to eliminate another variable, I have also tried this with my original extruder as well as the new one, but neither changer direction even though the M569 command shows that it should be.
Well at this point I am beginning to think that there is some other code that is being executed when you print which is restoring the original stepper settings.
What slicer are you using?
Please post one of the files you are trying to print so we can look for any suspicious code.
Thanks.
Frederick
-
@fcwilt I'm not even running files at this stage. I'm using the Stoneflower clay printer control box to manually extrude and manually change direction for retract or feed.
With the original extruder, the print head auger and extruder run in unison as needed whether I manually retract or feed with the control box. The new extruder from the same company runs opposite of the print head auger direction, so it cannot print clay like this.
Before trying to correct the stepper motor direction through the config file, I had tried switching the stepper motor wires and that partially worked. It ran in the correct direction, but made a loud noise that the company confirmed should not be happening. Therefore, I returned the wiring in the original configuration, and attempted to correct through the config file.
-
@carefullylarry said in Cannot reverse motor direction:
Before trying to correct the stepper motor direction through the config file, I had tried switching the stepper motor wires and that partially worked. It ran in the correct direction, but made a loud noise that the company confirmed should not be happening. Therefore, I returned the wiring in the original configuration, and attempted to correct through the config file.
Changing the wiring should have worked unless perhaps something is wrong with the driver.
Which extruder (E0 or E1) did you change the wiring on?
Did you restore the original wiring and then try changing the wiring to the other extruder?
Frederick
-
@fcwilt
Hi Frederick, the ram extruder is E1. I also tried changing the direction for P3 (E0 is the print head extruder), and that also did not change. It looks like the driver on the Duet board isn't working? If it were a cable problem, then either E0 or E1 should have worked.I've also ruled out that it could be a problem with the stepper motor on the new ram extruder since I have tried changing P4 direction using my original ram extruder as well as the new one. Neither change direction.
I've also been corresponding with Stoneflower to solve this. The easy fix should have been changing all 4 of the stepper motor wires in reverse order. That does change the motor direction, but the stepper motor then makes loud noise once it starts pushing the clay through. The noise does not occur with the original wire configuration when I manually control the feed and extract.
This has become maddeningly frustrating. I really appreciate you making the time to help me troubleshoot.
-
@carefullylarry said in Cannot reverse motor direction:
I've also been corresponding with Stoneflower to solve this. The easy fix should have been changing all 4 of the stepper motor wires in reverse order. That does change the motor direction, but the stepper motor then makes loud noise once it starts pushing the clay through. The noise does not occur with the original wire configuration when I manually control the feed and extract.
To reverse the direction of a stepper you swap the 2 wires to one coil only.
Did you try that?
Frederick
-
@carefullylarry have you checked which pairs of motor wires are phases? Loud noises and vibration from motors usually mean that they have not been phased correctly. That would also explain why M569 S1 does not reverse the direction.
-
After swapping two wires resulted in noise, I followed the directions from the manufacturer to reverse the order of all 4 wires, and that results in the same noise problem. My work schedule has been too busy recently to get back to this.
I have been very careful to clarify with the company that my wires connections are correct. I do not know how to identify which pairs of wires are phases. If wires are incorrectly matched, can this cause damage to the stepper motor? I can try other combinations outside of how I've been instructed to pair them to see what happens. I'm really at a loss and incredibly frustrated at this point. I will buy another Duet board since it seems that the driver has failed and even swapping wires won't work for some reason. This has sabotaged a collaboration project that cannot be completed in time now.
-
@carefullylarry Two ways:
Short two of the stepper wires, if it gets hard to turn, thats a pair/phase.
Use a multimeter to find the pairs. -
@carefullylarry said in Cannot reverse motor direction:
I do not know how to identify which pairs of wires are phases.
-
@phaedrux and Stephen6309, thank you both very much. This is very helpful with so little time to work on it currently.