Setup spindle on Mesa 7i96s and Linuxcnc 2.8.3

More
20 Aug 2022 13:07 #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 or Create an account to join the conversation.

More
20 Aug 2022 14:41 #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 or Create an account to join the conversation.

More
20 Aug 2022 15:41 #250107 by prochj51
Replied by prochj51 on topic Setup spindle on Mesa 7i96s and Linuxcnc 2.8.3
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 or Create an account to join the conversation.

More
20 Aug 2022 15:52 #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 or Create an account to join the conversation.

More
20 Aug 2022 16:08 #250110 by prochj51
Replied by prochj51 on topic Setup spindle on Mesa 7i96s and Linuxcnc 2.8.3
I am on raspberry Pi 4 and hm2_7i96s throws me an error.

When I do for example
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 or Create an account to join the conversation.

More
20 Aug 2022 17:00 #250114 by PCW
Did the hm2_eth driver load properly?

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

More
20 Aug 2022 17:47 #250116 by prochj51
Replied by prochj51 on topic Setup spindle on Mesa 7i96s and Linuxcnc 2.8.3
 
Attachments:

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

More
20 Aug 2022 18:14 #250117 by PCW
Ahh there may be other name errors

You might try:

show all hm2*

(or upgrade to 2.9)

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

More
20 Aug 2022 18:43 #250118 by prochj51
Replied by prochj51 on topic Setup spindle on Mesa 7i96s and Linuxcnc 2.8.3
   

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
Attachments:

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

More
21 Aug 2022 12:12 #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.
apt search linuxcnc
2) if it finds something, uninstall it
sudo apt-get remove .....
3) Download branche 2.8 from github
 
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/
Attachments:
The following user(s) said Thank You: tommylight

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

Time to create page: 0.149 seconds
Powered by Kunena Forum