<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/</id><updated>2023-09-06T18:14:47.257000Z</updated><subtitle>Recent posts to Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</subtitle><entry><title>Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/?limit=25#8340" rel="alternate"/><published>2023-09-06T18:14:47.257000Z</published><updated>2023-09-06T18:14:47.257000Z</updated><author><name>ryandmg</name><uri>https://forge.codesys.com/u/ryandmg/</uri></author><id>https://forge.codesys.comac9124d40e76c352a77d2d01ef0f7876f3f3e6ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ohhh OK. Yeah this seems to be timing like you said. Yeah I read through that document and came to the same conclusion. I haven't tried setting them both to 200ms. Maybe I'll give it a shot.  Thanks so much for your input. Its greatly apreciated.  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/?limit=50#3f14" rel="alternate"/><published>2023-09-06T15:01:59.710000Z</published><updated>2023-09-06T15:01:59.710000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com41d765141cc988ce773411cbc3be3bbc0155c3f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ok, that's different than our issue then.  We're using Schneider Electric M262 PLCs, and we've had it where certain web browsers cause the web server to only allow https connections, but it's not recoverable with a refresh.  It usually requires a power cycle or even a full firmware flash.&lt;br/&gt;
Your issue might have more to do with the timing.  I don't know if it helps you, but we normally run our visu task at 200mS, with an update rate of 200mS.  Seems to work.  I went through this: &lt;a href="https://faq.codesys.com/pages/viewpage.action?pageId=112525371" rel="nofollow"&gt;https://faq.codesys.com/pages/viewpage.action?pageId=112525371&lt;/a&gt; but it really seems like trial and error.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/?limit=25#f6c4" rel="alternate"/><published>2023-09-06T14:44:02.001000Z</published><updated>2023-09-06T14:44:02.001000Z</updated><author><name>ryandmg</name><uri>https://forge.codesys.com/u/ryandmg/</uri></author><id>https://forge.codesys.com22b986b42c58e8a0a07c5dee981b7515b1904a9f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks So Much for the reply!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Were using the Weidmuller UV66-ADV-10-CAP-W&lt;/li&gt;
&lt;li&gt;The HMI is pointed to the URL which is assigned through u-OS. Basically when you log into the controller's webserver via browser you can view the installed apps. One of which is the Codesys runtime. When you click on that it takes you to the visualization. That corresponding url is what the HMI is looking for. I apologize I don't have that on hand as I'm in the office right now. &lt;/li&gt;
&lt;li&gt;I don't think I tried connecting using the port you mentioned and https in lieu of the u_OS URL. I can certainly try. Out of the box the u-OS is set for HTTP. Since we're isolated I havent changed that yet.&lt;/li&gt;
&lt;li&gt;When this has happened while logged on via chrome on my laptop, simply refreshing brings the visualization right back. In the case of the HMI in kiosk mode, we power cycle the HMI to force a reconnect, log back in u-OS and the visualization is back.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/?limit=50#f7e1" rel="alternate"/><published>2023-09-06T13:35:18.061000Z</published><updated>2023-09-06T13:35:18.061000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com6a235f812f8b1b953b2c73138f802fd9b5630f71</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We have seen this kind of thing before.  I have two questions:&lt;br/&gt;
1.  What kind of HMI are you using?&lt;br/&gt;
2.  When this happens, are you able to connect using https, on port 8089?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/d22c536451/?limit=25#c842" rel="alternate"/><published>2023-09-06T13:00:35.235000Z</published><updated>2023-09-06T13:00:35.235000Z</updated><author><name>ryandmg</name><uri>https://forge.codesys.com/u/ryandmg/</uri></author><id>https://forge.codesys.com3d2fc94c8028a626682e03194027dc83691530b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Everyone,&lt;/p&gt;
&lt;p&gt;I'm having a bit of a struggle finding settings that will reliably maintain a connection between the webvisu and a touchscreen client. Every so often the HMI disconnects and will perpetually display the red spinning arrow with the "Error Happened, Will resume automatically" text. Power cycling the HMI to force a reconnect will re-establish comms. It seems to happen during periods of inactivity if that's a clue.&lt;/p&gt;
&lt;p&gt;From what I've gathered so far this seems to have something to do with the webvisu update rate, buffer size as well as the visu task scan rate. We first tried the default settings as follows:&lt;/p&gt;
&lt;p&gt;Webvisu Update Rate: 200 ms&lt;br/&gt;
Webvisu Buffer Size: 50,000&lt;br/&gt;
Visu Task Scan Rate: 100 ms Priority 31&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Other Tasks for Reference:&lt;/strong&gt;&lt;br/&gt;
Main Task Scan Rate: 100 ms Priority 1&lt;br/&gt;
Alarm Manager Scan Rate: 50 ms Priority 31&lt;br/&gt;
Ethercat Task: 4 ms Priority 1&lt;/p&gt;
&lt;p&gt;This would disconnect some what regularly. We then made the following changes to try and stabilize:&lt;/p&gt;
&lt;p&gt;Webvisu Update Rate: 150 ms&lt;br/&gt;
Webvisu Buffer Size: 75,000&lt;br/&gt;
Visu Task Scan Rate: 75 ms&lt;br/&gt;
Kept other tasks the same.&lt;/p&gt;
&lt;p&gt;This seems to disconnect even more frequently. Also for reference the network is very small and only consists of the PLC, a small switch and the HMI. We're also not controlling frames from outside the visu program itself. The frame changes are all done natively.&lt;/p&gt;
&lt;p&gt;Any suggestions to get this to stop disconnecting? Oh and whatever the issue is the log does not record it.&lt;/p&gt;
&lt;p&gt;Figured I would ask here before opening a ticket. &lt;/p&gt;
&lt;p&gt;Thanks in advance for your help!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>