Machsupport Forum
Mach Discussion => Mach4 General Discussion => Mach4 Videos => Topic started by: bryannab on March 27, 2018, 09:57:44 AM
-
This video covers the basics of homing and soft limits. It also covers right-hand rule, machine coordinates vs work coordinates, and shows you a scripting trick to turn on soft limits automatically each time you home your machine. If you have any questions or need assistance, please submit your ticket to support.machsupport.com
-Bryanna
https://www.youtube.com/watch?v=IXuuGRACU1I
-
Good video, very informative; although, it leaves me with a question regarding my X axis
using Mach4 build 3481. In the video at the 0:57 mark the right hand rule applies: X moves
POSITIVE to the right (implying X zero/home on the left). When I hit the X+ (plus) jog button
my X axis moves to the left.... ? When I hit the X- (minus) jog button my X axis moves to the
right...... ? (at least it is consistent). DRO DECREMENTS jogging to the right; and, INCREMENTS
jogging to the left. No problem with Mach3; same motor driver but with a
PMDX-411 sig gen now. Wiring has not changed; at least I did not change it.
Y and Z axis move as expected. Before I get into DOING something about this I need
to ask for input regarding which way I should proceed. I did try to run the Road Runner
sample g-code file and it send my X axis into the left wall.
Is the G-code interpreter/Mach X axis driver backwards?
I do not really see a "configuration" anomaly but then again I may be missing something.
May I have some input, please?
-
Hello,
It sounds like the polarity of your direction pin for your X axis needs to be reversed. You can do this in the PMDX plugin configuration. This is a common adjustment to make when configuring a new profile. If your Y axis moves in a positive direction away from you, you want your X to move in a positive direction to the left. However, if your Y axis moves in a positive direction towards you, your X would need to move in a positive direction towards the left to be following right-hand rule. Right-hand rule dictates movement of the axes in relation to each other, but your machine itself can be oriented however you want it to be. I hope that makes sense and helps you. Please feel free to send me a PM here or submit a ticket at support.machsupport.com if you need any additional support.
Best wishes,
Bryanna
-
...It sounds like the polarity of your direction pin for your X axis needs to be reversed. ...
spot on! You're awesome. Thank You.
... If your Y axis moves in a positive direction away from you, you want your X to move in a positive direction to the left.
However, if your Y axis moves in a positive direction towards you, your X would need to move in a positive direction towards the left ...
I'm confused and would think one of those would need to move right.... but it doesn't matter at this point because my X moves
as expected. Soft limits now act normally and my sanity has been saved! ;)
WHEW!! that was a close one.....
-
I'm sorry, I just reread my reply and I was incorrect. I shouldn't try to multitask! According the Right-Hand Rule, if Y is moving away from you, X should move in the positive direction to the *right*. If Y moves in a positive direction towards you, X should move in a positive direction to the left. Again, my apologies!
-Bryanna