Hello,
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?.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Hello,
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?.
Hi,
from commandline it is:
net start "CODESYS Control RTE V3"
and
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.
Hello @eschwellinger,
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.
Last edit: ap040 2020-10-21
Hi,
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?.
Hello,
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?.