XHC-HB04 wireless MPG pendant HAL module

More
13 years 4 months ago #36195 by tommy
And there is another thing, as I need to run my machine in World mode, which disables incremental steps, so the only possibility to jog is in continuous mode, where jog wheel has no function for now ... any solution?

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

More
13 years 3 months ago #36252 by f1oat
Thank you for the table about buttons mapping, that helps a lot.
I have uploaded the V03 to the wiki.
Now, there is a configuration file to define the layout and associated HAL pins.
New command line options, see first line of xhc-hb04.hal.
There is no more xhc-hb04.simu executable. The xhc-hb04 can run both in simulation mode or as a HAL module (-H flag).
The xhc-hb04-layout2.ini should be ok for you.
g++ is used instead of gcc: hope there is no compilation issue on your side.
Frederic.

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

More
13 years 3 months ago #36254 by f1oat
I do not know world mode: how can I activate it to investigate the issue on my setup ?

tommy wrote: And there is another thing, as I need to run my machine in World mode, which disables incremental steps, so the only possibility to jog is in continuous mode, where jog wheel has no function for now ... any solution?

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

More
13 years 3 months ago #36265 by andypugh

f1oat wrote: I do not know world mode: how can I activate it to investigate the issue on my setup ?


Try running one of the robot configurations. The Puma ons is good, as you get a 3D model of the simulated machine.

You can switch from joint mode to world mode with the $ key.
The following user(s) said Thank You: f1oat

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

More
13 years 3 months ago #36266 by andypugh

f1oat wrote: Now, there is a configuration file to define the layout and associated HAL pins.


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.

More
13 years 3 months ago #36271 by tommy

f1oat wrote: Thank you for the table about buttons mapping, that helps a lot.
I have uploaded the V03 to the wiki.
Now, there is a configuration file to define the layout and associated HAL pins.
New command line options, see first line of xhc-hb04.hal.
There is no more xhc-hb04.simu executable. The xhc-hb04 can run both in simulation mode or as a HAL module (-H flag).
The xhc-hb04-layout2.ini should be ok for you.
g++ is used instead of gcc: hope there is no compilation issue on your side.
Frederic.


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.

Time to create page: 0.241 seconds
Powered by Kunena Forum