Power Switch extern
- Plasmanfm
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 10
18 Jan 2024 12:55 - 18 Jan 2024 17:52 #291020
by Plasmanfm
Power Switch extern was created by Plasmanfm
Ich möchte über ein Externen Power-Switch ( Taster ) ( nicht E-Stop ) den Prgramm ablauf Stopen Ausschalten ....
Was habe ich für Möglichkeiten ?I want to switch off (not E-Stop) using an external power switch (button)....
What options do I have?
king regarde
and thank´s
Juergen
Was habe ich für Möglichkeiten ?I want to switch off (not E-Stop) using an external power switch (button)....
What options do I have?
king regarde
and thank´s
Juergen
Last edit: 18 Jan 2024 17:52 by Plasmanfm.
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
18 Jan 2024 14:05 #291029
by Aciera
Replied by Aciera on topic Power Switch extern
Also, du möchtest den Pc herunter fahren? Das könntest du wahrscheinlich am einfachsten über ein bash script. Dazu müsste man dann aber wohl 'root' Berechtigung haben.
Kann ich im Moment nicht testen:
shutdown -h now
Kann ich im Moment nicht testen:
shutdown -h now
Please Log in or Create an account to join the conversation.
- Plasmanfm
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 10
18 Jan 2024 17:51 #291046
by Plasmanfm
Replied by Plasmanfm on topic Power Switch extern
Nein nein sorry ich meine den Power-Butten in QtPlasmac ....
Diesen nur Extern ( nicht den E-Stop )...
king regarde
and thank´s
Juergen
Diesen nur Extern ( nicht den E-Stop )...
king regarde
and thank´s
Juergen
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
18 Jan 2024 19:26 #291053
by Aciera
Replied by Aciera on topic Power Switch extern
Ah so, nicht sicher was QTPlasmac verwendet aber das hier wäre einen Versuch wert:
net power-on <taster-signal-zum-einschalten> halui.machine.on
net power-off <taster-signal-zum-einschalten> halui.machine.off
net power-on <taster-signal-zum-einschalten> halui.machine.on
net power-off <taster-signal-zum-einschalten> halui.machine.off
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5705
- Thank you received: 2084
19 Jan 2024 00:09 #291075
by phillc54
Replied by phillc54 on topic Power Switch extern
qtplasmac.ext_power toggles the power button.
linuxcnc.org/docs/devel/html/plasma/qtpl...l#plasma:ext-hal-pin
linuxcnc.org/docs/devel/html/plasma/qtpl...l#plasma:ext-hal-pin
Please Log in or Create an account to join the conversation.
- Plasmanfm
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 10
19 Jan 2024 09:46 #291103
by Plasmanfm
Replied by Plasmanfm on topic Power Switch extern
Hallo phillc54
Ich habe folgendes hir gefunden: net Machine-On = hm2.7i96.0.gpio.001.in
geht das ?
I found the following here:
net Machine-On <= hm2_7i96s.0.gpio.001.in
is that possible?
king regarde
and thank´s
Juergen
Ich habe folgendes hir gefunden: net Machine-On = hm2.7i96.0.gpio.001.in
geht das ?
I found the following here:
net Machine-On <= hm2_7i96s.0.gpio.001.in
is that possible?
king regarde
and thank´s
Juergen
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds