Unable to Jog When HAL_ToggleBtn Active

  • scsmith1451
  • scsmith1451's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 Jul 2026 17:54 #347745 by scsmith1451
Unable to Jog When HAL_ToggleBtn Active was created by scsmith1451
I have a standalone gladevcp panel that has a HAL_ToggleBtn configured and hooked up. The button activates an output that turns on my X/Y laser crosshair for locating program X/Y start. When the button is activated, the laser turns on as expected, however, I cannot jog while the button is active.  As soon as I deactivate the toggle button, I can jog.

I know it is not related to the laser itself as I have an override switch on my machine that allows me to turn the laser on. When the switch is on, I can jog just fine.

This issue occurs with both AXIS and GMOCCAPY interfaces, so it is something in the bowels of LCNC.  

Anyone have any insight on this issue or a workaround?

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

More
01 Aug 2026 11:54 #348336 by andypugh
Replied by andypugh on topic Unable to Jog When HAL_ToggleBtn Active
Open a halmeter and see what the mode flags show:
linuxcnc.org/docs/stable/html/gui/halui.html#_mode

mode.is-manual needs to be true for jogging to work, it seems possible that something is changing mode.

Are you keyboard jogging, or using handwheels? It might just be a UI focus problem, with the key presses being "captured" by the button itself.

But check the mode first.

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

  • scsmith1451
  • scsmith1451's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 Aug 2026 13:15 #348651 by scsmith1451
Replied by scsmith1451 on topic Unable to Jog When HAL_ToggleBtn Active
I'm using the physical keyboard keys to control jogging.

Checking halui.mode.is-manual = FALSE. I attempted to set it to TRUE but halshow reported that the parameter is not writable.

Is there a way to force this pin to be high?

Regards,

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

More
11 Aug 2026 19:51 #348658 by rodw
Replied by rodw on topic Unable to Jog When HAL_ToggleBtn Active
halui.mode.teleop bit inpin for requesting coordinated jog mode 

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

Time to create page: 0.106 seconds
Powered by Kunena Forum