Mesa 7i96s to Gecko G540 with simple 3 axis Router

More
15 Sep 2026 14:20 #349657 by DougS
Hello Folks Newbe here.

I mistakenly though I could easily convert my Shark SD120 to a Linuxcnc setup using a Mesa 7i96s to a Gecko g540. After hours of fooling with it and being misled by AI I now realize there is no easy way to setup the HAL and INI configs. I purchased the hardware and would like to make it work so any help would be greatly appreciated.

Thanks,
Doug
 

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 Sep 2026 15:45 #349659 by tommylight
How is the Mesa wired to G540?

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

More
15 Sep 2026 19:12 - 15 Sep 2026 19:30 #349662 by PCW
If the G540 is connected to the 7I96S parallel expansion connector, you should use
7i96s_g540d.bin firmware, that configures the 7I96S's P2 expansion connector the G540
pinout, Then basic setup can be done with pncconf. No need for AI, that just a time sink here.
Last edit: 15 Sep 2026 19:30 by PCW.

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

More
18 Sep 2026 14:45 #349713 by DougS
Thanks for the help, making much progress. New question:
What is the syntax to negate these inputs?

# external input signals

# --- MIN-X ---
net min-x     <=  [HMOT](CARD0).gpio.000.in

# --- MIN-Y ---
net min-y     <=  [HMOT](CARD0).gpio.001.in

# --- MIN-Z ---
net min-z     <=  [HMOT](CARD0).gpio.002.in

# ---setup home / limit switch signals---

net x-home-sw     =>  joint.0.home-sw-in
net min-x     =>  joint.0.neg-lim-sw-in
net x-pos-limit     =>  joint.0.pos-lim-sw-in
 

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

More
18 Sep 2026 14:51 #349715 by DougS
Thanks for the help. Sending this because I'm not sure I posted my next question in the right way..

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Sep 2026 16:31 #349716 by tommylight
[HMOT](CARD0).gpio.000.in-not

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

More
18 Sep 2026 17:53 #349717 by DougS
I tried that and get the following error:

Pin 'hm2_7i96s.0.gpio.000.in-not' does not exist

Works okay without the -not

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

More
18 Sep 2026 18:08 #349718 by DougS
weird but this works
{HMOT](CARD0).inm.00.input-00-not

Thanks

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

More
18 Sep 2026 18:26 - 18 Sep 2026 21:47 #349719 by PCW
For GPIO it's in_not

INM is a better choice for inputs though  because it has built-in
debouncing if needed.
Last edit: 18 Sep 2026 21:47 by PCW.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.133 seconds
Powered by Kunena Forum