XHC-WHB04B-6 LinuxCNC not working

More
6 years 5 months ago - 6 years 5 months ago #168730 by TKWard10000
My device IS a XHC-WHB04B-6.

I understand EXACTLY what the topic is for.

Perhaps, some constructive help, rather than giving attitude would be beneficial ?

After reading 12 pages of this thread ... and others telling people to test things using the LinuxCNC 2.8 driver ( which I specifically installed to use the MPG ), and using the command line program, I am at a loss.

I know the MPG works ( tested on Windows Mach3 ).

Does any one have any ideas ?
Last edit: 6 years 5 months ago by TKWard10000. Reason: Add picture

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

More
6 years 5 months ago - 6 years 4 months ago #168733 by alkabal
Well i only have some doubt because you says xhc-hb04...

First check the folder "/etc/udev/rules.d/" is there the files 99-xhc-whb04b-6.rules ?

you can also try sudo nano /etc/udev/rules.d/99-xhc-whb04b-6.rules for check if the files is ok.

Secondly
open a terminal without starting linuxcnc
halrun
loadusr -W xhc-whb04b-6 -Hsf

and open a second terminal
second :
watch -n0.4 halcmd show pin whb.

If the device and driver work you can see several entry in the second terminal.
Last edit: 6 years 4 months ago by alkabal.

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

More
6 years 5 months ago - 6 years 5 months ago #168739 by TKWard10000
OK, Thanks

Reason I mentioned 'xhc-hb04' prior was that people had been using that utility to test the MPG ( mentioned several times in the thread ).

Regardless, I appreciate the help :)

/etc/udev/rules.d/ has no files in it at all

The watch terminal appears to react to button presses. Macro, feed + etc etc

X Y Z feed counters do not go up and down. Is this correct ?

Also, is there a 'current' configuration cheat sheet for adding the MPG to my hal files etc ?


Keith
Last edit: 6 years 5 months ago by TKWard10000.

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

More
6 years 5 months ago #168750 by alkabal
for xyz you first need to press step or continuous.

Something i does not understand, how can work the driver without rules files ???

You use buildbot instal or run in place from source compiling ?

For RUN IN PLACE ONLY :
sudo cp /home/pi/emc/debian/extras/lib/udev/rules.d/*.rules /etc/udev/rules.d
you need to adapt this command with your home directory name (replace /pi/) and the source folder name (replace/emc/)

From page 10 this is fresh information about using the built in driver with fresh linuxcnc release 2.8 and 2.9 (master)

forum.linuxcnc.org/38-general-linuxcnc-q...king?start=90#164533

forum.linuxcnc.org/38-general-linuxcnc-q...ing?start=100#166691

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

More
6 years 5 months ago #168751 by TKWard10000
I used buildbot

Synaptics ... :

remove 2.7
Change repositories
Add 2.8

I will try additional commands now .

Thank you!!

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

More
6 years 4 months ago #172744 by 00alkskodi00
hi i cant select axis to move

this line is a problem
whb.halui.axis.x.select
whb.halui.axis.y.select
whb.halui.axis.z.select

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

Time to create page: 0.120 seconds
Powered by Kunena Forum