MESA GPIO input and Field Inputs

  • chili023
  • chili023's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
23 Feb 2022 15:26 #235616 by chili023
MESA GPIO input and Field Inputs was created by chili023
Hello everybody I hope everybody is healthy and well.
I have a quick question concerning the GPIO Pins.
I have my homing switched hocked up and Pncconf made a connection with
net home-x     <=  hm2_7i76e.0.gpio.017.in
in my hal file.
This would be the pin hm2_7i76e.0.7i76.0.0.input-00.
When I start linuxcnc and open HAL Show I see that hm2_7i76e.0.7i76.0.0.input-00 reacts to the switch being triggered.
However hm2_7i76e.0.gpio.017.in is not.

My questions would be:
1. What is the right way of defining inputs? Do I use gpio or input?
2. If I should use GPIO how do I create the connection? With a net in the custom hal?

Thanks
Andreas from Berlin

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Feb 2022 15:33 #235617 by tommylight
Replied by tommylight on topic MESA GPIO input and Field Inputs
Inputs and outputs.
So the line in hal should be:
net home-x     <=  hm2_7i76e.0.7i76.0.0.input-00

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

More
23 Feb 2022 15:43 #235619 by BigJohnT
Replied by BigJohnT on topic MESA GPIO input and Field Inputs
You might want to try my 7i76e Configuration Tool...

gnipsel.com/mesa/7i76e/install.html

JT

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

Moderators: PCWjmelson
Time to create page: 0.139 seconds
Powered by Kunena Forum