CitectSCADA 7.30 Runtime Freeze

Once in a while CitectSCADA runtime freezes. It stops communicating with PLC and SQL server for writing data. It happen infrequently 3-4 times a year, so we have not been able to catch it or find root cause of the issue. Checking PC event logs around the times sees that ethernet comm between PC and PLC was okay and never timed out.

CitectSCADA Runtime is running on Windows 7 pc, so I do not think compatibility is an issue.

What might cause this issue and how do I prevent this from happening in future?

Any lead is appreciated. Thank you in advance.

Parth Dudhiya

Controls Engineer

Fresenius Medical Care

  • These ones can be hard to find especially when it only happens a few times a year. There are a lot of questions to ask. Does the system unfreeze after sometime? Are you running in multiprocess mode? You don't have to open and close the connection to the database every you write records to the database. Are you running out of handles somewhere? Do you get any hardware alarms? Did you monitor the system resources using the Task Manager / Resource Monitor? Is this a standalone system? What's the cpu usage of the different components? Is the Task Late Time (General Page of the Kernel) low or zero? What Cicode is programmed and how often is it run. I can go on for a while. Basically it can be a bug in the program or a bug in the software. You have to find out what triggers this freeze. It would help if you can reproduce it more frequently. Do you have a test system in which you can speed things up? These type of freezes are caused by some piece of Cicode. Cicode can be run on startup, event, report, callback (used in combination with TagSubscribe()) and directly from the page (try to avoid running Cicode from the foreground). If you upgrade to a newer version you can for instance use the Cicode Profiler to check the number of times a function is called and the load on the system.