I am able to start/stop service for the CODESYS Control Win V3 -x64 by using the Python script but my actual requirement to run this with CODESYS Control RTE V3. Can someone help how I can run Python script to start/stop the softPLC of Codesys RTE?.
from commandline it is:
net start "CODESYS Control RTE V3"
net stop"CODESYS Control RTE V3"
Thank You for your quick response @eschwellinger...!!
I will try this and will get back to you if, found some trouble.
It is not working as expected...In the script it is showing to started PLC successfully but when I checked same in the notification panel, it is not changing the sign of Systray. Also, not connected to device.
Can you help it. I attached my script here.
I am working on 64bits machine.
for me your batch works as expected but only if you start a command line as admin:
Hi, I already checked this in admin mode and it works only for stop PLC but it is not started the PLC after it has stopped.
Is any settings still missing?.
I tried with different scenarios as per my knowledge but I didn't get success for to start/stop the Control RTE services bu using the batch.
@eschwellinger, Can you provide me the steps to do it?.
Log in to post a comment.