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

More
1 year 3 months ago #332136 by Cerezas
Thanks Ben, I tried your suggestion but the behaviour is the same. Works in Velocity mode but not in Step mode.
I spent the morning looking at signals with halmeter but I cannot figure this out.

Thanks for taking your time to look into this.

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

More
1 year 3 months ago - 1 year 3 months ago #332181 by Benb
You need to keep name  for axis z as joint2. I noticed in your ini file you using the name joint 1 that should 2.
For the exposed pin from the vista pedant keep the names of the axis as number example vc-p1as.axis.0,
I attached revised hal file check for typos
revise your own ini file for joint names (numbers)

edit:
have read through this thread:
forum.linuxcnc.org/38-general-linuxcnc-q...ling-to-share#261003

 
Last edit: 1 year 3 months ago by Benb.

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

More
1 year 3 months ago #332229 by Cerezas
Since this is for a lathe, there are only 2 joints in the HAL parameters. LinuxCNC requires that the joints are numbered from 0 consecutively, that is, I can only have joints 0 and 1. The association between joint 1 and the z axis is done in the HAL files. With that association, GCode works properly.

As I mentioned before, the pendant was jogging the X axis as I wanted in Step, Velocity and Continuous mode before I moved to the mesa card. I was using exactly the same vc-p1as.hal file as the one I'm trying to use now. Something very subtle changed and that's what I'm trying to figure out.

I tried debugging with halmeter and see what signals were triggered when I used the pendant, but that didn't help much. I'm still learning about the HAL.

Thanks once again for looking into this issue.

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

Time to create page: 0.263 seconds
Powered by Kunena Forum