Mappview disconnecting from server

Hi everyone!
We are using X90CP154.60-S1 series safe PLC for the project. We have created 10 screens to test, monitor and tune the controllers in mappview. On ArSIM it runs properly and has no problems but on PLC it disconnects every 2 minutes and then reconnects. The refresh rate of the values ​​is very slow and there is a delay.
Any quick response would be appreciated.

Hi,

I’m not an mappView expert at all, but I think one reason could be a high PLC load and / or the mappView software structure, especially if using some low/mid performance PLC.

So I would propose

  • first to check with System Diagnostic Manager (SDM) to see some overview of the CPU load → how much is it over time, and are there peaks?
  • please have a look into the hardware guidlines, section “Guidelines for selecting server hardware” → your PLC type isn’t mentioned there, I would propose to have a look into the column “CPx583”.
  • please check the software guidelines for possible mappView optimizations

Best regards!

Hi @Saeed_Rostami

As you didn’t mention what’s this client, I supposed it’s your laptop, so we can avoid a low performance client.
I would agree with Alexander, mappView is use a quite of CPU and memory. As I never used X90CP154.60-S1 PLC, Alexander mentioned the “CPx583” and on those the mappView application and all moving around Alarms, Audit, OPC-UA may cause the PLC to be too low in resources to handle your application.
A good thing to check is how many active binding you have on the application, use the diagnostic server to check that (B&R Online Help), I already saw on one of my application where I loaded too much bindings on a client and the mappView server couldn’t handle that.

Hope that could help,

Regards,
Florent

HI, thanks.
The CPU load is 70%, while the mappview part is 3% and there are about 100 signals on OPC UA.

I can’t find the CPx583.

I don’t think the problem is with mappview.

Hi,

I’d suggest two things:

  1. Append ?watchdog=0 to the URL of your HMI (e.g. http://127.0.0.1:81/?watchdog=0 ) … If this helps, it indicates that your PLC is not able to respond to “keep alive requests” in time - this would point in the direction of “overload” of the PLC.
  2. Look into the logger … are there any suspicious messages?

CHH

HI @Saeed_Rostami

Another thing to check, as it’s the client that is disconnected, what the network status, a network that a heavy load could be the root cause, I already saw some trouble with some messed up network, like when there is interconnected classic tcp/ip network with the real-time network like powerlink, ethernet/ip etc..

You can try a direct connection between the PLC and the client!

If you have a way to diagnose the network between the client and the PLC and check if there is a lot of traffic.

Regards,
Florent

Hello @Saeed_Rostami

I recently found the same issue in one of my application, but I was using a Power Panel C50. Here are some advices to help you keeping your server connection:

  • Check your Time sincronization between Server an Client
  • If you have an Alarm List or Audit List, try to clear their entries. a few weeks ago had the same issue and then after deleting the alarm list (195 pages) the conection remains after that, before that the connection failed when I change to my page Alarms, so I deleted them using my PC, maybe the entries were using too much memory of the CPU.
  • Update your mapp view version.

I hope you find them helpful.

Thank you @Salvador_Flores for sharing the cause of your issue.
I never generated 195 pages of alarms during my internal tests :slight_smile:

Ciao
Valerio

From my point of view for the alarm, the PLC sended the data but the CPU of the C50 was too busy to handle it so, the client didn’t respond in time to ping-pong request of the PLC, so the PLC close the connection

We are developing in the lab and are always in direct connection with the PLC.

2.no there are not any suspicious messages. all things are fine!

1.I have a test on Thursday.

Thanks Salvador:
Time sincronization is ok!
No I do not have Alarm List or Audit List!
mapp viewis updated!

The problem still persists. We also have a private consultant from BNR. He has proposed a solution to divide the program into two parts and… we have not tested it yet. The pages part is supposed to be run on the laptop and be in simulation and then a connection to the PLC and get the data from the PLC.

Did you check the mappView diagnostic server to see how many active bindings you want when the connection is closed?

HI @Saeed_Rostami is it your issue solved, can you update us?

Hi, no it isn’t. we are struggling with it.

The last communication tthere is from 23.june, so are you in connection with support colleagues?

We talked about it a lot before the summer break. The problem is still not solved, but other solutions have been suggested, many of which are difficult and cumbersome.

ok, please if you find real solution or workaround for your project, would be great if you update us here. Thanks a lot.