USB pendant stops working after using macros
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 156
- Thank you received: 12
08 Nov 2025 02:51 #338065
by frayja2002
USB pendant stops working after using macros was created by frayja2002
Hi all
I have a dragon rise USB board (pendant) attached to one of my machines. When I first home the machine all of the buttons work as expected (IE I can jog the machine around)
After I press one of the macro buttons on the screen ( Switched Home or Work Zero) the USB pendant stops working.
I'm guessing that the macros are not exiting properly but I can find no errors.
I am running debian 3.10 with LinuxCNC 2.9.4
I'm hoping someone can give me some pointers on this.
Thanks
Alex
I have a dragon rise USB board (pendant) attached to one of my machines. When I first home the machine all of the buttons work as expected (IE I can jog the machine around)
After I press one of the macro buttons on the screen ( Switched Home or Work Zero) the USB pendant stops working.
I'm guessing that the macros are not exiting properly but I can find no errors.
I am running debian 3.10 with LinuxCNC 2.9.4
I'm hoping someone can give me some pointers on this.
Thanks
Alex
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7239
- Thank you received: 2107
08 Nov 2025 15:53 #338082
by cmorley
Replied by cmorley on topic USB pendant stops working after using macros
After the macro runs, I believe the machine is in MDI mode.
I bet HALUI needs the machine in manual to allow jogging.
I bet HALUI needs the machine in manual to allow jogging.
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 156
- Thank you received: 12
09 Nov 2025 03:01 - 09 Nov 2025 21:08 #338098
by frayja2002
Replied by frayja2002 on topic USB pendant stops working after using macros
Yes I have checked & that is the case. I should have realised.
Thanks.
PS is there a way that when the macro ends it tells LinuxCNC to go back into man mode?
...... Actually now I think about it is it possible to have a usb button that sets it back to man mode.
Alex
Thanks.
PS is there a way that when the macro ends it tells LinuxCNC to go back into man mode?
...... Actually now I think about it is it possible to have a usb button that sets it back to man mode.
Alex
Last edit: 09 Nov 2025 21:08 by frayja2002.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11531
- Thank you received: 3860
09 Nov 2025 10:52 #338109
by rodw
Replied by rodw on topic USB pendant stops working after using macros
There is a halui pin halui.mode.manual that can do this and halui.mode.teleop will enable jogging. I have used these with pendants.
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 156
- Thank you received: 12
09 Nov 2025 21:39 - 13 Nov 2025 21:05 #338125
by frayja2002
Replied by frayja2002 on topic USB pendant stops working after using macros
I have tried to setup one of the USB buttons to put it back into Man mode but the crash report keeps telling me I have used this before.
Line 65 of the report referring to line 26 of the USB hal.
Sorry. Ignore this post I found the problem.
I'll test some more soon as I get time.
Thanks
Alex
Later....
Just to finish this off, I added this line to my USB buttons hal file & everything seems to work as expected.
# Go into Manual mode
net man_mode <= halui.mode.manual <= input.0.btn-base2
Line 65 of the report referring to line 26 of the USB hal.
Sorry. Ignore this post I found the problem.
I'll test some more soon as I get time.
Thanks
Alex
Later....
Just to finish this off, I added this line to my USB buttons hal file & everything seems to work as expected.
# Go into Manual mode
net man_mode <= halui.mode.manual <= input.0.btn-base2
Last edit: 13 Nov 2025 21:05 by frayja2002.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.082 seconds