Page 1 of 1

PLC program remote start/stop

Posted: 21 Jan 2022, 13:07
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

Re: PLC program remote start/stop

Posted: 24 Jan 2022, 09:40
by dirk
Hi Zsolt, I have moved your important question here where the specialists may see it and are able to answer you.

Re: PLC program remote start/stop

Posted: 11 Mar 2022, 15:06
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.

Re: PLC program remote start/stop

Posted: 28 May 2022, 20:06
by novofer
Hi,

Thank you!

BR, Zsolt