- Posts: 5
- Thank you received: 0
Mesa 7i96s to Gecko G540 with simple 3 axis Router
1 month 2 weeks ago #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 to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
1 month 2 weeks ago #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 to join the conversation.
1 month 2 weeks ago #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.
Please Log in to join the conversation.
1 month 1 week ago #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 to join the conversation.
1 month 1 week ago #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 to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
1 month 1 week ago #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 to join the conversation.
1 month 1 week ago #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 to join the conversation.
1 month 1 week ago #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 to join the conversation.
1 month 1 week ago #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.
Please Log in to join the conversation.
Time to create page: 0.295 seconds
