I am currently working on a sizable project involving Siemens PCS7 on an H-system using WinCC for graphics. The project is still in development and I am attempting to setup a simulation system to test bits of code with new graphics. I have setup now two virtual machines, one functioning as a server that is running PLCsim. The server also is used to run the WinCC runtime. The other workstation is running Simatic manager and WinCC to edit and compile function block diagrams/charts.
I've solved all issues with archiving and retrieving the project running on the PLCs and converting the PCS7 project to run on the sim system. I have correctly configured all of the interfaces so that the WinCC and PLCsim are communicating. I am able to go "online" with the PLCsim processor and edit values which are reflected in the WinCC runtime (graphics are active and changing).
The main problem is that values in the graphics are "hung or stuck" reflecting high values, all of them. Selecting "watch" in the chart shows that the value in question is in fact low, while the graphic's state reflects a high value. I am able to get the graphic to respond and represent a correct value only when toggling the value to high then back to low when online with PLCSim.
Is there a way to refresh/reset all of the values in the datablocks so that they are correctly represented in the graphic? I have checked and double checked that all of the values that were compiled and downloaded to the PLCsim were set to low. I have tried redownloading abd restarting the PLCsim (turning off/on with warm/cold restart). All to no avail.
I don't think that there is an issue with the sim-system configuration, and when I compile and download on the running system with active PLCs this issue does not exist.
Toggling all of the values individually would be too time intensive based on the size of the project. And when I recompile and download, the problem comes right back anyway.
Any help would be greatly appreciated!
I've solved all issues with archiving and retrieving the project running on the PLCs and converting the PCS7 project to run on the sim system. I have correctly configured all of the interfaces so that the WinCC and PLCsim are communicating. I am able to go "online" with the PLCsim processor and edit values which are reflected in the WinCC runtime (graphics are active and changing).
The main problem is that values in the graphics are "hung or stuck" reflecting high values, all of them. Selecting "watch" in the chart shows that the value in question is in fact low, while the graphic's state reflects a high value. I am able to get the graphic to respond and represent a correct value only when toggling the value to high then back to low when online with PLCSim.
Is there a way to refresh/reset all of the values in the datablocks so that they are correctly represented in the graphic? I have checked and double checked that all of the values that were compiled and downloaded to the PLCsim were set to low. I have tried redownloading abd restarting the PLCsim (turning off/on with warm/cold restart). All to no avail.
I don't think that there is an issue with the sim-system configuration, and when I compile and download on the running system with active PLCs this issue does not exist.
Toggling all of the values individually would be too time intensive based on the size of the project. And when I recompile and download, the problem comes right back anyway.
Any help would be greatly appreciated!