Inverting jogging sense of X Axis on a VistaCNC P1A-S pendant

More
19 Jul 2025 17:02 - 19 Jul 2025 17:02 #332026 by Cerezas
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
Attachments:
Last edit: 19 Jul 2025 17:02 by Cerezas. Reason: grammar

Please Log in or Create an account to join the conversation.

More
19 Jul 2025 23:57 #332044 by Benb
Try to change both the joint and the axis to the same sign:

net jog.0.cont-minus vc-p1as.jog.0.minus => halui.axis.x.plus halui.joint.0.plus 
net jog.0.cont-plus vc-p1as.jog.0.plus => halui.axis.x.minus halui.joint.0.minus

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds
Powered by Kunena Forum