JOG with mechanical switch

  • tar_san
  • Away
  • Junior Member
  • Junior Member
More
02 Feb 2026 21:16 #342326 by tar_san
JOG with mechanical switch was created by tar_san
I'm trying to configure an existing LinuxCNC machine in manual mode using physical mechanical switches for axis selection and Jog Plus/Jog Minus. But it's not working properly.

From the PC screen (AXIS GUI), Jog operation is functioning , and I have confirmed manual mode is active.

I operated same things from using HAL Pin manually without wireing configuration, but I got the same result.
What I did using HAL Pin was..
1) confirm manual mode in LCNC. (all axis homed )
2) Turn on/off some pins in Show Hal configuration (N=axis char)

halui.axis.jog-speed ( set to 500 )
halui.axis.N.selected
halui.axis.N.is-selected
halui.axis.N.plus/minus

from the begining,
halui.axis.x.is-selected was on, and halui.axis.selected was 0.

I tried to change to another axis, make halui.axis.y.selected ON,
but, halui.axis.y.is-selected didn't turn on.

I tried to move x axis, make halui.axis.x.plus( or minus) on,
but motor or x coordinate didn't move.

I tried another method using halui.axis.selected.plus/minus, but same.

What am I missing ?
Which pin should I check ?
Could you guys help me solve this problem, please ?

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

Time to create page: 0.528 seconds
Powered by Kunena Forum