MESA GPIO input and Field Inputs
- chili023
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 7
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
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
-
- Away
- Moderator
-
Less
More
- Posts: 20197
- Thank you received: 6874
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:
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.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
23 Feb 2022 15:43 #235619
by BigJohnT
Replied by BigJohnT on topic MESA GPIO input and Field Inputs
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.139 seconds