xhc-whb04b-6 OPTIONS [-f -s] dont work

More
4 years 8 months ago - 4 years 8 months ago #234773 by alkabal
I have start my real machine using hal close to original one and i can see directly at start without homing the GUI slider move with jog wheel when machine is turned on


I think next step is to check which value is reported by usb when you go back from lead.

github.com/LinuxCNC/linuxcnc/blob/ef7360...c-whb04b-6/usb.h#L64


In terminal you can try to type :
halrun
Code:
loadusr ../bin/xhc-whb04b-6 -ue
 
Last edit: 4 years 8 months ago by alkabal.

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

More
4 years 8 months ago #234870 by zz912
Hello,

I have to setp whb.halui.machine.is-on TRUE

and then

whb.halui.feed-override.decrease
whb.halui.feed-override.increase

works correctly.

But!!! It works until I click on button "Continous" or "Step" on pendant.

Can I ask you for other test?

Dont run LinuxCNC only terminal with halrun and loadusr xhc-whb04b-6 -Hsf
Turn on pendant and then click all button and jog wheel on pendant.

Do you have the message "failed to wait for reqested mode. waited 300ms" ?
 

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

More
4 years 8 months ago - 4 years 8 months ago #234884 by alkabal
I think yes in some situation i get same error, the driver is not perfect, you welcome for propose change.

"whb.halui.machine.is-on" of course this signal need to be linked with your machine "halui.machine.is-on".

If you have set correctly your hal :

[HAL]
#******************************************
HALUI = halui
HALFILE = xhc-whb04b-6-.hal


and ini :
[HALUI]
#******************************************
# add halui MDI commands here (max 64)
# halui.mdi-command-00:
etc...


I have do my best for allow the pendant hal file to work witout any change except if you already use some signal in your config.



I have only two line changed in my own xhc hal due to my particular setup : (changed not just removed !!)
Code:
#net spindle.is-on              whb.halui.spindle.is-on       halui.spindle.0.is-on net spindle-orient-enable-out   whb.halui.spindle.is-on       # connected to halui.xxx in my main.hal #net pdnt-program.is-running    whb.halui.program.is-running  halui.program.is-running net program-is-running          whb.halui.program.is-running  # connected to halui.xxx in my main.hal
Last edit: 4 years 8 months ago by alkabal.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum