Setup spindle on Mesa 7i96s and Linuxcnc 2.8.3

More
4 years 2 months ago #250101 by prochj51
Hi,

is it possible to connect to Mesa 7i96S analog interface for spindle with LinuxCNC 2.8.3.
It throws me an error that hm2_7i96s is not found, only the hm2_7i96 .

Thank you
George

Please Log in to join the conversation.

More
4 years 2 months ago #250105 by PCW
Its possible (the 2.8 analog spindle setup would be identical to 2.9)
but you will still get the card name warning until you upgrade to 2.9

Please Log in to join the conversation.

More
4 years 2 months ago #250107 by prochj51
So I should use hm2_7i96? Cause it does not work with hm2_7i96s ..
And what would be the pin for spindle_out, it seems it does not list me any.

Please Log in to join the conversation.

More
4 years 2 months ago #250108 by PCW
You need to use hm2_7i96s (you will get a warning)
The spindle out is a PWMgen on a 7I96S

Upgrading to 2.9 would make this all simpler

Not just because of the card name issues but because
the 7I96S is supported by the graphic configuration utilities
in 2.9 (pncconf and mesact)

Please Log in to join the conversation.

More
4 years 2 months ago #250110 by prochj51
I am on raspberry Pi 4 and hm2_7i96s throws me an error.

When I do for example
Code:
halrun loadrt hostmot2 loadrt hm2_eth board_ip="10.10.10.10" setp hm2_7i96s.0.watchdog.timeout_ns 5000000

LinuxCNC fails with pin hm2_7i96s.0.watchdog.timeout_ns is not found

Please Log in to join the conversation.

More
4 years 2 months ago #250114 by PCW
Did the hm2_eth driver load properly?

Please Log in to join the conversation.

More
4 years 2 months ago #250116 by prochj51
 

Attachment not found

Please Log in to join the conversation.

More
4 years 2 months ago #250117 by PCW
Ahh there may be other name errors

You might try:

show all hm2*

(or upgrade to 2.9)

Please Log in to join the conversation.

More
4 years 2 months ago #250118 by prochj51
 

Attachment not found

 

Attachment not found



Yes, I will try upgrade to 2.9, but we had some problems with it in the past on RPi4,we had ready to use image on 2.8 and we were cautious sice 2.9 is not official distro.

Thank you very much for feedback

Please Log in to join the conversation.

More
4 years 2 months ago #250150 by zz912
Exist way to use stable version 2.8 and 7i96s . But you must use RIP install.

1) Check if you have debian installation of LCNC.
Code:
apt search linuxcnc
2) if it finds something, uninstall it
Code:
sudo apt-get remove .....
3) Download branche 2.8 from github
 

Attachment not found


4) Unzip it
5) Build LCNC
linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
I struggled a lot before I managed to compile LCNC. It took me a lot of time. But now I only use RIP installation and I can say that the time spent learning RIP installation paid off.
6) Try to run Gmoccapy. For example the Gmoccapy sim.
If it doesn't work, install this:
forum.linuxcnc.org/gmoccapy/46202-buidli...-2-rip-with-gmoccapy
If Gmoccapy will work, it's already fixed. Andypugh tried to help me, but I didn't understand what he was trying to say.
7) Integrate Mesa driver from 2.9
github.com/LinuxCNC/linuxcnc/pull/1899#issuecomment-1220953437
8) Rebuild LinuxCNC

I recommend RIP installation for everybody.
zz912.webnode.cz/rip-lcnc/

Please Log in to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum