Set GPIOś via Halshow
- DerKlotz
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 4
08 Oct 2025 15:22 #336099
by DerKlotz
Set GPIOś via Halshow was created by DerKlotz
Hello,
As a German beginner, I am currently trying to get my Mesa7i76e up and running.
I have connected three relays to pins 17, 18, and 19 and would like to control them via Halshow. When I connect a relay directly to 24V, it activates.
In Halshow, I would say that I have set the correct pins via Set. However, no output is switched. I can switch the yellow indicator in Halshow on and off.
I hope you can help. Thank you.
Translated with DeepL.com (free version)
As a German beginner, I am currently trying to get my Mesa7i76e up and running.
I have connected three relays to pins 17, 18, and 19 and would like to control them via Halshow. When I connect a relay directly to 24V, it activates.
In Halshow, I would say that I have set the correct pins via Set. However, no output is switched. I can switch the yellow indicator in Halshow on and off.
I hope you can help. Thank you.
Translated with DeepL.com (free version)
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17383
- Thank you received: 5069
08 Oct 2025 15:47 #336101
by PCW
Replied by PCW on topic Set GPIOś via Halshow
That should work, if LinuxCNC is running and there have been no watchdog or other faults.
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 4
08 Oct 2025 16:05 #336102
by DerKlotz
Replied by DerKlotz on topic Set GPIOś via Halshow
In the editor i just did a mesaflash --device 7i76e --addr 10.10.10.10 --readhmid... there is just TB2/TB3, P1 and P2 visible. No TB4, 5 and 6. Somewhere there the mistake? What to do?
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17383
- Thank you received: 5069
08 Oct 2025 16:09 #336103
by PCW
Replied by PCW on topic Set GPIOś via Halshow
That's correct, mesaflash does not show sserial devices unless you add the --sserial command line option
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 4
08 Oct 2025 16:12 #336105
by DerKlotz
Replied by DerKlotz on topic Set GPIOś via Halshow
Hmm, it looks the same if i add --sserial
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17383
- Thank you received: 5069
08 Oct 2025 17:55 #336109
by PCW
Replied by PCW on topic Set GPIOś via Halshow
--sserial does not work with --readhmid
It also does not list pins, if you want that you need to run LinuxCNC
It also does not list pins, if you want that you need to run LinuxCNC
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 4
09 Oct 2025 08:05 - 09 Oct 2025 08:58 #336141
by DerKlotz
Replied by DerKlotz on topic Set GPIOś via Halshow
I just set pin 17 to flood and pin 18 to mist. Then the relays work...
So how can i set the pins to Digital out and control then via Linuxcnc. Can i create new buttons in Linuxcnc?
So how can i set the pins to Digital out and control then via Linuxcnc. Can i create new buttons in Linuxcnc?
Last edit: 09 Oct 2025 08:58 by DerKlotz.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19678
- Thank you received: 4559
10 Oct 2025 21:02 #336234
by andypugh
Most of the GUIs support VCPs:
linuxcnc.org/docs/stable/html/ and see "Virtual Control Panels"
Some GUIs allow customisation inside the main window too.
Replied by andypugh on topic Set GPIOś via Halshow
Yes, but there are many ways to do it and the best choice will depend on the GUI you are using and your requirements.Can i create new buttons in Linuxcnc?
Most of the GUIs support VCPs:
linuxcnc.org/docs/stable/html/ and see "Virtual Control Panels"
Some GUIs allow customisation inside the main window too.
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds