Power Switch extern

More
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
Last edit: 18 Jan 2024 17:52 by Plasmanfm.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
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

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

More
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

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
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

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

More
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

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

More
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

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

Time to create page: 0.062 seconds
Powered by Kunena Forum