Want to test MPG

More
5 years 8 months ago - 5 years 8 months ago #200732 by alkabal
Hi

I think you try to use the new version xhc-whb04b-6 but your config is really different than the near ready to use config file
raw.githubusercontent.com/LinuxCNC/linux...ple-configuration.md

the man page related to this one is :
linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html

In theory you only need to link this file in your ini thats all !
(and if you have some duplicated pin used in you ini and in the pendant file you need to adapt using the same net name for both signal)

Are you sure the vid and pid number are the same for your wired device ? (but if button work like you says imo this is ok)


If you have only some difficulty with the MPG wheel, you only need to press button Step or Continuous before turning the wheel or by default the wheel change the feedrate override.

Br
Last edit: 5 years 8 months ago by alkabal.

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

More
5 years 7 months ago #200804 by tecno

alkabal wrote: Hi

I think you try to use the new version xhc-whb04b-6 but your config is really different than the near ready to use config file
raw.githubusercontent.com/LinuxCNC/linux...ple-configuration.md

the man page related to this one is :
linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html

In theory you only need to link this file in your ini thats all !
(and if you have some duplicated pin used in you ini and in the pendant file you need to adapt using the same net name for both signal)

Are you sure the vid and pid number are the same for your wired device ? (but if button work like you says imo this is ok)


If you have only some difficulty with the MPG wheel, you only need to press button Step or Continuous before turning the wheel or by default the wheel change the feedrate override.

Br



In theory you only need to link this file in your ini thats all ! Theory and practice is different beasts.

Have been pounding my head around example-configuration.md and it is not working either.

File Attachment:

File Name: nisse.hal
File Size:13.68 KB


No COUNTS

So how is the counts to be connected to count and get axis moving?

Cheers
Bengt

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

More
5 years 7 months ago #200805 by Hakan
Bengt you have commented out many many lines in that hal file.

Take a fresh copy, don't modify it, link it in and see what happens.

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

More
5 years 7 months ago #200808 by tecno
It does not work straight out. I have modified line by line until I get LCNC running.

Most commented out lines are 'buttons' and MDI so it should be working without those functions, but obviously not.

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

More
5 years 7 months ago #200810 by tecno
Here a more cleaned up file, now only MDI and Buttons are commented out.

But still no counts :(

File Attachment:

File Name: nisse_2021-03-02.hal
File Size:13.9 KB

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

More
5 years 7 months ago - 5 years 7 months ago #200814 by itsme
I also had problems getting the stock driver working...

Please find attached working files for reference.

Files for WHB!
Last edit: 5 years 7 months ago by itsme.

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

Moderators: snowgoer540
Time to create page: 0.221 seconds
Powered by Kunena Forum