I haven’t seen in any post so far the exact type of problem that I am having so I figured I would start a new topic and see where this takes me.
So, I set up the Maslow a few weeks ago and everything seems to be working well. I later added the z axis control with a motor that I found on Amazon that others posted they had used in the past with good success. The problem that I am having is that whatever command I give use in Ground Control (GC), the z-axis motor will change the motor rotation direction. (ie if i tell it to go up 100mm, it rotates clockwise, if I tell it to go another 100mm it will rotate the counterclockwise and it switches rotational direction regardless of the command given)
I have purchased everything but the z-axis motor from either Maslow or maslow surplus parts so the motor is the only thing that is unique in my particular setup. Here is the pin connection layout.
Here is the Maslow z-axis motor dwg:
I did notice that the GND and V+ pin order was switched as well as Sensor GND and Vcc so I made sure to switch those before connecting to the Aurduino.
Next thing I tried was trying a different motor so I connected a x/y axis motor to the z-axis cable. I changed the settings in GC for the different encoder PPR and gear reduction and everything worked perfectly. Reconnect the z-axis motor and it oscillates back and forth . . .
Next I thought, “hey, maybe the encoder is bad, I should get a new one and try that…” got a new and same thing. . .
When I run the motor check feature in GC, the z axis motor fails the test. . .
I am running GC on a laptop with windows 7 and I also use this laptop to run Flashcut CNC software on another CNC machine.
I’m not sure of where to go from here and would greatly appreciate any help I can get.