Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Is there a variable to read the runtime health, Running or Stopped, of the Windows Control SoftPLC? This is for a 3rd party SCADA visulatistion if the PLC has a exception or is stopped.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a variable to read the runtime health, Running or Stopped
You can check whether the whole service is running or stopped by checking the service status (the status that you see at Windows Taskmanager). It is possible to do e.g with a CMD command line taking this and then writing to an user defined environment variable. I'm home-office, so cannot give you any sample script right now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a variable to read the runtime health, Running or Stopped, of the Windows Control SoftPLC? This is for a 3rd party SCADA visulatistion if the PLC has a exception or is stopped.
Is there a variable to read the runtime health, Running or Stopped
You can check whether the whole service is running or stopped by checking the service status (the status that you see at Windows Taskmanager). It is possible to do e.g with a CMD command line taking this and then writing to an user defined environment variable. I'm home-office, so cannot give you any sample script right now.