Sometimes, after a system reboot event, I have to manually restart the PLC runtime.
I mean, even being already started after boot ( as can be seen on the Windows taskbar), I have to STOP and START the PLC runtime by mouse click in order to have everything working.
So, is there any tricky way to do that in any native Windows script language, such as CMD or POWERSHELL ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sometimes, after a system reboot event, I have to manually restart the PLC runtime.
I mean, even being already started after boot ( as can be seen on the Windows taskbar), I have to STOP and START the PLC runtime by mouse click in order to have everything working.
So, is there any tricky way to do that in any native Windows script language, such as CMD or POWERSHELL ?
I guess that way for the 32Bit Control Win:
net start “CODESYS Control Win V3”
net stop “CODESYS Control Win V3”
and
net start “CODESYS Control Win V3 - x64"
net stop “CODESYS Control Win V3 - x64"
for the 64Bit version
BR
Edwin
Last edit: eschwellinger 2020-03-27
Thank you very much, works like a charm !