XHC-HB04 wireless MPG pendant HAL module

More
11 years 2 months ago - 11 years 2 months ago #61605 by vre
No eBay APP ID and/or Cert ID defined in Kunena configurationIs this compatible with hal component ?
Last edit: 11 years 2 months ago by vre.

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

More
11 years 2 months ago #61611 by rythmnbls
No eBay APP ID and/or Cert ID defined in Kunena configuration

Is this compatible with hal component ?


It looks just like the pendant I have, which works very well.

I installed 2.7.0 pre7 and tried the mpg_accel settings. I'm very impressed, very smooth acceleration at all feed rates. Another thank you to the developers.

Steve.

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

More
11 years 2 months ago #61616 by cncbasher
No eBay APP ID and/or Cert ID defined in Kunena configuration

vre wrote: Is this compatible with hal component ?


yes it is compatable with linuxcnc all the macros and what you need is all done
it's all shown in the examples under xhc
with all the required files and instructions to use

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

More
11 years 1 month ago #62563 by tommy
I successfully add all customization for pendant in my fresh 2.7 install, the only issue I still have is regarding halui.program.is-idle pin which is also used for timer needs.

Here is my timer code:
Code:
# TIMER loadrt time addf time.0 servo-thread addf not.1 servo-thread net prog-running not.1.in <= halui.program.is-idle net cycle-timer time.0.start <= not.1.out net cycle-seconds pyvcp.time-seconds <= time.0.seconds net cycle-minutes pyvcp.time-minutes <= time.0.minutes net cycle-hours pyvcp.time-hours <= time.0.hours

Debug info:
Code:
Debug file information: xhc-hb04.tcl: using std_start_pause_button Can not find -sec APPLICATIONS -var DELAY -num 1 custom.hal:5: Pin 'halui.program.is-idle' was already linked to signal 'pendant:is-idle' 5312 PID TTY STAT TIME COMMAND 5386 PID TTY STAT TIME COMMAND Stopping realtime threads

What would be the right way to get both working?

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

More
11 years 1 month ago #62564 by ArcEye
Code:
net pendant:is-idle not.1.in

if that is the name of your signal ( why does it have a colon in it?)

You can only have one writer to a signal, but as many readers as you like

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

More
11 years 1 month ago #62566 by dgarrett
When using the script xhc-h04.tcl with an ini file specification for:
Code:
[XHC_HB04_BUTTON] start_pause=std_start_pause

The script creates a signal named pendant:is-idle
with these connections:
Code:
net pendant:is-idle <= halui.program.is-idle net pendant:is-idle => pendant_util.is-idle

so in your custom.hal (that must follow xhc-hb04.tcl), you could change:
Code:
net prog-running not.1.in <= halui.program.is-idle

to:
Code:
net pendant:is-idle => not.1.in

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

Time to create page: 0.071 seconds
Powered by Kunena Forum