Power Switch extern

More
2 years 9 months ago #291020 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

Please Log in to join the conversation.

More
2 years 9 months ago #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 to join the conversation.

More
2 years 9 months ago #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 to join the conversation.

More
2 years 9 months ago #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 to join the conversation.

More
2 years 9 months ago #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 to join the conversation.

More
2 years 9 months ago #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 to join the conversation.

Time to create page: 0.161 seconds
Powered by Kunena Forum