Mesa 7i96s to Gecko G540 with simple 3 axis Router
- DougS
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
15 Sep 2026 14:20 #349657
by DougS
Mesa 7i96s to Gecko G540 with simple 3 axis Router was created 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
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
-
- Away
- Moderator
-
Less
More
- Posts: 21950
- Thank you received: 7472
15 Sep 2026 15:45 #349659
by tommylight
Replied by tommylight on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
How is the Mesa wired to G540?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18091
- Thank you received: 5323
15 Sep 2026 19:12 - 15 Sep 2026 19:30 #349662
by PCW
Replied by PCW on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
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.
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.
- DougS
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
18 Sep 2026 14:45 #349713
by DougS
Replied by DougS on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
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
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.
- DougS
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
18 Sep 2026 14:51 #349715
by DougS
Replied by DougS on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
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
-
- Away
- Moderator
-
Less
More
- Posts: 21950
- Thank you received: 7472
18 Sep 2026 16:31 #349716
by tommylight
Replied by tommylight on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
[HMOT](CARD0).gpio.000.in-not
Please Log in or Create an account to join the conversation.
- DougS
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
18 Sep 2026 17:53 #349717
by DougS
Replied by DougS on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
I tried that and get the following error:
Pin 'hm2_7i96s.0.gpio.000.in-not' does not exist
Works okay without the -not
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.
- DougS
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
18 Sep 2026 18:08 #349718
by DougS
Replied by DougS on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
weird but this works
{HMOT](CARD0).inm.00.input-00-not
Thanks
{HMOT](CARD0).inm.00.input-00-not
Thanks
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18091
- Thank you received: 5323
18 Sep 2026 18:26 - 18 Sep 2026 21:47 #349719
by PCW
Replied by PCW on topic Mesa 7i96s to Gecko G540 with simple 3 axis Router
For GPIO it's in_not
INM is a better choice for inputs though because it has built-in
debouncing if needed.
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