- Posts: 35
- Thank you received: 10
tommy wrote: Thank you for your effort!
I might need some help or just for checking if I did right ...
for compilation, I did same as for previous version (make, make install), no errors there ... what I did change is in hal to xhc-hb04-layout2.ini, but when I run linuxcnc I get error on:
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
xhc-hb04.hal:45: Pin 'xhc-hb04.button-x0' does not exist
xhc-hb04-layout2.ini file is placed in same folder as rest of hal and ini files for my machine config.
Please Log in or Create an account to join the conversation.
I was checking wrong ini... :blush:f1oat wrote: You will need to delete erroneous lines in xhc-hb04.hal because there are no X=0, Y=0 and Z=0 buttons on your MPG.
Frederic.
Please Log in or Create an account to join the conversation.
tommy wrote: I was checking wrong ini... :blush:
So, I ran trough all buttons, if they have correct addresses and noticed that for Macro-2 is not 08 but 0B, probably my attached picture was a bit to small and hard to read ... all the rest is OK! So this version of device should be now fully functional under linuxcnc!
Please Log in or Create an account to join the conversation.
andypugh wrote:
This might be over-elaborate. I would not be at all surprised to find that the button mapping changes randomly as they bring out different versions.
I would be tempted to simply call the buttons button-01, button-02 and so on, and then leave it to the integrator to figure out which physical button is which, and which function they want to give it in HAL.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
f1oat wrote: @andypugh: thanks, puma config has been useful for solving the issue
@tommy: I have uploaded V04 with support for world mode. You will find a dedicated .hal file. Please, be careful with this new release because I have not been able to test on a real machine !
Frederic.
Please Log in or Create an account to join the conversation.