Hello,
I'm on LinuxCNC 2.9.4 on Debian. I want to invert the jogging sense of the X axis on a lathe, so that when I rotate the pendant wheel clockwise, the X axis moves in the X- direction. I just changed this in the vc-p1as.hal:
net jog.0.cont-minus vc-p1as.jog.0.minus => halui.axis.x.minus halui.joint.0.plus
net jog.0.cont-plus vc-p1as.jog.0.plus => halui.axis.x.plus halui.joint.0.minus
(On the first line I changed to .plus at the end and in the second I put .minus at the end)
This works only for the Velocity mode. In Step mode, the clockwise rotation moves the axis in the X+ direction.
How can I change the X axis direction in Step mode?
One year ago the X axis was moving in the direction I wanted in both Step and Velocity modes (probably on 2.9.2, I don't know anymore). I don't think this is related, but I moved from a parallel port to a mesa card. With only a very basic knowledge of the HAL, I commented out the halui. signal section in the taig_lathe_v2.hal file to make the pendant work.
I'm attaching the relevant files.
Thanks