PathPilot and XHC-HB04 - work?

More
9 years 10 months ago - 9 years 10 months ago #84023 by racedirector
Has anyone managed to get the above pendant to work with PathPilot yet? Not having much luck at all with mine.

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
Last edit: 9 years 10 months ago by racedirector.

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

More
9 years 10 months ago #84024 by cncbasher
you need to add the xhc-04 ko file and modify the shuttle express entrys , with the xhco4 library scripts
i'm working on it .
The following user(s) said Thank You: racedirector

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

More
9 years 10 months ago #84026 by racedirector
Thanks Sarah

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.

More
9 years 10 months ago #84030 by cncbasher
have you the ubuntu version of the xhc library?
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.

More
9 years 10 months ago #84078 by racedirector
Yup, have the right library from Ubuntu 10.04 after finding out the newer one didn't work.

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.

More
9 years 10 months ago #84081 by cncbasher
great you managed it so far , iv'e a feeling that the mdi commands are within the python scripts
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.

Time to create page: 0.435 seconds
Powered by Kunena Forum