How to add ENTER button in macro XHC pendant

More
6 years 5 months ago #168248 by Marcodi
One more thing unclear

The xhc.button you refer to the pin name. But the names I have in layout2.inc is macro-7

This is connected
Macro-7 = halui.mdi.command-17

So what do I put than in the mdi-command. Or if I remove the halui.mdi.command-17 what do I write in the place?

Stephane

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

More
6 years 5 months ago #168296 by fixer
now it would be a good time to post your config,

try with this hal command:
Code:
net pdnt.macro-7 hal_manualtoolchange.change_button

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

More
6 years 5 months ago #168312 by Marcodi
Don't have the config here at hand. It's 00.30 here. It's the basic layout of the XHC pendant code for linuxcnc though.

I will try this tomorrow. But still unclear or what to set in the layout2.inc

What do I write after the macro-7?

Now it has :
Macro-7 = halui.mdi.command-17

So do I make it simply:
Macro-7 =""
Or
Macro-7

Or just delete it in the layout2.inc

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

More
6 years 5 months ago #168391 by Marcodi
Thanks for your help, i got the whole thing to work seeminglessly.

The answer was easier even than i thought, and based on the comments you gave me.

I had to indeed couple the pin xhc-bt4.button-macro-7 to the hal_manualtoolchange.change_button but i didnt have to make a new signal.

So in the layout2.inc i had to write following:

macro-7 = hal_manualtoolchange.change_button

So the whole thing was done with this command, ofcourse if you are as you said using hal.manualtoolchange.

Thanks a lot for the help

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

More
6 years 5 months ago #168407 by fixer
Glad you made it. Thanks for reporting back!

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

Time to create page: 0.362 seconds
Powered by Kunena Forum