- Posts: 47
- Thank you received: 0
MESA GPIO input and Field Inputs
4 years 8 months ago #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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 8 months ago #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:
Code:
net home-x <= hm2_7i76e.0.7i76.0.0.input-00
Please Log in to join the conversation.
4 years 8 months ago #235619
by BigJohnT
Replied by BigJohnT on topic MESA GPIO input and Field Inputs
Please Log in to join the conversation.
Time to create page: 0.077 seconds
