PathPilot and XHC-HB04 - work?
- racedirector
- Offline
- Elite Member
- Posts: 267
- Thank you received: 42
I thought it would be like the Shuttle Express that Tormach uses but they seem to have a piece in tmc/rtlib called milljogtranslator that converts the shuttle express stuff into whatever milljogtranslator does, all this versus the HB04 executing MDI commands.
Can anyone see if I have a snowballs chance in hell of getting this pendant running under PathPilot?
loadusr -W shuttlexpress4
loadrt milljogtranslator names=milljogtranslator
addf milljogtranslator servo-thread
# Next value NZ if buttons to latch axes
setp milljogtranslator.radio-latching 1
#
# connect shuttlexpress buttons and wheels to milljogtranslator
#
net sxp.x-button shuttlexpress4.0.button-0 => milljogtranslator.ax-butt-0
net sxp.y-button shuttlexpress4.0.button-1 => milljogtranslator.ax-butt-1
net sxp.z-button shuttlexpress4.0.button-2 => milljogtranslator.ax-butt-2
net sxp.a-button shuttlexpress4.0.button-3 => milljogtranslator.ax-butt-3
net sxp.step-button shuttlexpress4.0.button-4 => milljogtranslator.cycle-stepsizes
net sxp.spring-wheel shuttlexpress4.0.spring-wheel-s32 => milljogtranslator.ring-raw
etc etc etc
Any help would be appreciated.
Cheers
Please Log in or Create an account to join the conversation.
i'm working on it .
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
- Posts: 267
- Thank you received: 42
I'll give it a go and see if I can stumble upon a solution...
Cheers
Please Log in or Create an account to join the conversation.
you can't use the latest as it needs to be built for 10_04
if you have it working under lcnc with the xhc-04 , then copy the ini entrys across
or copy the sources of the xhc-04 to your pathpilot source , or copy the xhc-o4.ko binarys from the ubuntu version
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
- Posts: 267
- Thank you received: 42
I installed Ubuntu 10.04 plus Linuxcnc to get it and had the pendant running with Axis under that. When I transferred all the relative bits to PathPilot it baulked at the MDI commands which brought me here. Images of what I have where attached.
Next I'll try modifying the shuttle express entries if I can figure them out, more homework
Please Log in or Create an account to join the conversation.
i'm just about to track them down .
any particular error your getting , email it across
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
- Posts: 267
- Thank you received: 42
Pathpilot loads without dying after I commented out the MDI commands. The pendant is (sort of) active but with that said nothing performed on the pendant triggers anything in PathPilot. However, jogging in PP changes the pendant display and zero-ing the axis in PP zeros the work display on the pendant. However, the distances are different from each other and it doesn't matter which mode I am in, G20 or G21.
It is late here now so sleep is calling but I need to figure out what connects to what now to get any further. Tomorrow is another day....
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
- Posts: 267
- Thank you received: 42
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
- Posts: 267
- Thank you received: 42
However there are some gotchas. PP leaves Linuxcnc in MDI more often than not meaning some part of the UI must be executed to get in into MODE_MANUAL at which time the pendant commands will work. I will attempt to investigate how to overcome this but I suspect it need a recompile of the xhc-hb04 executable, something I not comfortable with.
More investigation ans testing will be needed before I can connect this to my actual machine as I have been testing with PP in sim mode.
Any thoughts on how to keep PP in MANUAL mode would be appreciated, cncbasher maybe?
Cheers
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.