PLC program remote start/stop

Moderator: RevPiModIO

Post Reply
novofer
Posts: 7
Joined: 21 Jan 2022, 12:05

PLC program remote start/stop

Post by novofer »

Hello,

Is there any way to start and stop the python plc program via ssh/script?
I can start and stop the revpipyload daemon but I'd like to start and stop only the python plc program (program.py)

# start daemon
pi@RevPi ~ $ sudo service revpipyload start
# stop daemon
pi@RevPi ~ $ sudo service revpipyload stop

Thanks,
Zsolt
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: PLC program remote start/stop

Post by dirk »

Hi Zsolt, I have moved your important question here where the specialists may see it and are able to answer you.
User avatar
RevPiModIO
KUNBUS
Posts: 335
Joined: 20 Jan 2017, 08:44
Contact:

Re: PLC program remote start/stop

Post by RevPiModIO »

Hi Zsolt.

At the moment a start / stop of the program is only possible via XML-RPC call... But I think a signal for start/stop or something like that will be cool!

I'll add that on github.
python3-RevPiModIO - https://revpimodio.org/ || Der RevPi ist das Beste, was passieren konnte!
novofer
Posts: 7
Joined: 21 Jan 2022, 12:05

Re: PLC program remote start/stop

Post by novofer »

Hi,

Thank you!

BR, Zsolt
Post Reply