Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: mrh335 on March 05, 2015, 02:11:30 PM
-
I am using Mach4 latest build (2255 I think), but have also tried this on 2238.
I want to change the rotational direction of my X-axis stepper so when I use the -X job it moves left and +X jog it moves right. I selected Reverse? in the Mach->Configuration->Motor, but the motor does not reverse it's operation. To be clear, when I use the +X and -X jog commands, it does move both ways, but I want to reverse the operation of those commands.
Is this a software bug, or I am I not using it properly?
If I cannot overcome this in Mach4, could I rewire the stepper motor to reverse it's direction?
-
Yes, you can reverse the direction of all motion of a stepper by swapping the
two wires of ONE coil of the motor.
That said, the software problem does need to be addressed. What plug-in
are you using?
-
I am using Mach4 2255 with the ESS and plugin.
Reversing the wires may be the easiest solution for now as many things seem not to work with Mach4 and ESS.
-
I had the same issue. Discovered that if you change this setting you must restart MACH4 for it to have effect. Think I remember hearing that in a tutorial video somewhere as well.
Now I restart whenever I make a config change.
-
I am having the same problem with Mach4 and the ESS. I've checked the Reverse box and restarted the program. The box is still checked but the motors aren't reversed.
So I am going to do what Steve said and swap one coil of the steppers. So I don't screw something up, do I just swap either the A or B phase, as shown in the pinout pic attached?
-
If you swap "Phase B" with "Phase /B" that should do the trick.
Only swap the wires to one coil of the motor.
Steve
-
Thanks Steve.
-
I had the same problem. No amount of saving and restarting would reverse the motor directions. Just swap the leads on one of your motor phases as others have said.
-
I had the same problem. No amount of saving and restarting would reverse the motor directions. Just swap the leads on one of your motor phases as others have said.
Running 4.0.1.2441, with ESS plugin 1.0.1.130 - same problem, same tests.
Will try reversing a coil.
-
where are you trying to reverse the motor, if you are using the ess then all reversing of the motors needs to be done within the plugin config-inputs by making a motor dir input active high or active low.
DazTheGas
-
where are you trying to reverse the motor, if you are using the ess then all reversing of the motors needs to be done within the plugin config-inputs by making a motor dir input active high or active low.
DazTheGas
I was trying through the Mach config (see attached). It seemed like the logical place given the motor tuning was done in there.
-
all active high and lows for ess need to be done in the plugin config, change the state of the x axis dir pin.
DazTheGas
-
in all plugins what are available you set the high and low in them in M4 you don't set any high or low states you just map a input, output and motor what means a tick and a number or a tick and what it is.
look to dazthegas, art and hoss on youtube for how to set up a machine in M4 different controllers yes but the way things are set up are the same when it comes to M4 and most things in the controller plugins are called the same thing.
https://www.youtube.com/channel/UCOy_xGRn5Uq3-u_LgNFzNNw
https://www.youtube.com/channel/UCzuCa2eJKWliRthn908bHaA
https://www.youtube.com/user/hossmachine/videos
-
I am using Mach4 latest build (2255 I think), but have also tried this on 2238.
I want to change the rotational direction of my X-axis stepper so when I use the -X job it moves left and +X jog it moves right. I selected Reverse? in the Mach->Configuration->Motor, but the motor does not reverse it's operation. To be clear, when I use the +X and -X jog commands, it does move both ways, but I want to reverse the operation of those commands.
Is this a software bug, or I am I not using it properly?
If I cannot overcome this in Mach4, could I rewire the stepper motor to reverse it's direction?
Note, this is if you are using Mach4 and an ESS, I assume other motion controllers are similar.
Because this happened to me just TODAY, 02/14/2020, with a brand new profile retrieved from Avid CNC I will revive this thread and post how to fix it. Apparently some forget in motor control "reverse" can not be used like in Mach 3. The "reverse is in Mach 4 under motors, but clicking reverse does nothing.
Please get to this screen below and make the changes through the ESS. You can get to the screen by clicking "Configure", "Plugins", "ESS" and last, "Pins config". Then find whatever your Port Pins are for "X step" and "X dir" and make the "Active High/Low" the opposite they are now. This will give you a reversed motion for the X.
As shown here, my Port 1-Pin2 and Pin 3 are for my X Step and X Dir(alias names). Click each, X step and X Dir once, changing X step from low to high and X Dir from high to Low or vice versa to get the reversed motion
-
Just to clear things up your just changing the DIR nothing else. My new load from Avid same thing yesterday and PS my VistaCNC M1 pendant does not work either!
-
I flipped both, works fine, I switched step back to active low works fine. So yeah changing just the DIR works.
I am so used to just using reverse in the motor section in Mach 3. Plus, becasue this system uses premade cables(I usually make my own cables using IGUS and just wire directly to the motor)swapping wires at the motor is more trouble than it's worth.
I thought becasue this was an older controller that might be the cause, I have to upgrade two boards to get with the 2019 updates, apparently the Avid profile needs to be changed. It's not a huge deal unless someone is new to Mach4 and an ESS where there are far more clicks to get to where we need to be to make changes. A newb might pull out their hair for a week trying to find the solution for this pretty simple fix.
What is the issue with the VistaCNC M1?
-
I flipped both, works fine, I switched step back to active low works fine. So yeah changing just the DIR works.
I am so used to just using reverse in the motor section in Mach 3. Plus, becasue this system uses premade cables(I usually make my own cables using IGUS and just wire directly to the motor)swapping wires at the motor is more trouble than it's worth.
I thought becasue this was an older controller that might be the cause, I have to upgrade two boards to get with the 2019 updates, apparently the Avid profile needs to be changed. It's not a huge deal unless someone is new to Mach4 and an ESS where there are far more clicks to get to where we need to be to make changes. A newb might pull out their hair for a week trying to find the solution for this pretty simple fix.
What is the issue with the VistaCNC M1?
See above S & V reversed, it works fine with the old Mach4 and ESS plug in.
You can reverse the axis motor at the driver in the panel, you just swap the wires around on one Phase A or B, not both and with the power off! I have the NEMA 34 plug and play panel and I have been very impressed with it and Avid.
-
I am using mach3 with a 542 driver. And a Youmile breakout board. Everything works fine in forward but none of the axis will reverse. The Dro is showing it reversing and the motors will reverse if I change the wires but not if I alter it in the programm. Is there anything that is common to all three axis that I check.
-
Check your direction pin is swapping from 0 to 5 volt and back on the breakout board and at the drive input when you jog the axis back and forward.