I’m having a periodic issue that has become an increasing concern as I’m approaching the finishing touches of my project.
I have my gateway running as an OPC client with a Siemens S7-1500 running on PLCSIM Advanced as the OPC server. Everything happy and working, going through the bug finding phase of my HMI/PLC handshaking. I left my operation running and flipped to a browser to read up on something. I flipped back to my HMI and I was confused with what I was seeing. It was essentially a dropout of my HMI visualization. I thought nothing of it the first time, reset my PLCSIM, back to bug finding.
Today I’ve had it happen again and now I realize there’s an actual issue. Essentially my gateway is maintaining connectivity with the OPC server but not reading or writing anymore. I don’t get any connectivity problems on my HMI (I have a system bit monitoring connection with PLC, maintains “Connected”). I flip over to my gateway and check the connection, and it’s “connected”.
I opened up my TIA Portal, checked outputs, they are on as they should be. Opened up UAExpert to check with third party, and it’s reading the PLC OPC tags correctly. My HMI is essentially dead in the water, and when trying to interact with the HMI to take control of the machine, I get a bunch of conflicting things, where some bits are reading correctly and others aren’t reading at all.
The only sure way to fix this is to disable my gateway client connection, re-enable and boom it’s back to normal.
What the heck is going on? I have experienced this probably 3-4 times over the course of a month. It’s not an everyday problem, it’s a randomly occurring event that’s very recognizable. Again, I’m running PLCSIM Advanced, which is a little different than a physical setup, but my UAExpert has no problems with this. My client isn’t timing out because it’s remaining connected. It’s like it just stops reading and writing correctly, and nothing seems to fix that except a connection reset, which is unacceptable. Any thoughts would be appreciated.
The pictures below show this. MECH PUMP/BOOSTER PUMP on PLC outputs are true, UAExpert sees this, HMI not showing true for the bottom right pumps. HMI showing “Connected’ in the top banner, left side.