The hardware configuration is very simple. There's a Beckhoff Embedded PC CX5020 and Panel PC CP2212 which are connected to a Wifi router. Both PCs are configured with static IP addresses.
Initially, the router DHCP was enabled. Thus, the router automatically assigned IP addresses for both PCs. We had to disable the DHCP in the router to prevent automatic assignment of IP addresses.
The Scada project was working fine in my last visit. After the recent Scada project update, the TwinCAT ADS driver just seems "bad".
The first thing that I zoomed in is the AMS route setting. Having check on both PCs that the route settings are correct, I diverted my focus on the InduSoft Main driver sheet.
Altogether, there are approximately 500 tags inside the Main driver sheet. From my development laptop, I use the Remote Management >> Connect to the Panel PC having the IWS Local Interface runtime.
Then, I start the remote Logwin where instantly the Logs tell me exactly what went wrong.One of the tag is accessing a PLC variable that is invalid. This pretty much screws up the entire Main driver sheet.
In order to avoid making much changes to the Scada project, I changed the Scan frequency from default "Always" to "Screen". This means that the tag will only be Read when the screen that requires it's status for update. The Scada status is up and running again after the change is downloaded.
In conclusion, knowing the right diagnostic tools to use helps in your troubleshooting.
No comments:
Post a Comment