Hello, I’m struggling to display a mappView visualization onto either google chrome or my 6PPT30.0702-20B HMI. I’m using an X20CP1685 with Automation Studio 6. I created a very simple visualization just to get the hang of using mappView and testing how it would come out on the HMI. For reference, the IP address of the CPU is 192.168.0.110 (subnet mask 255.255.255.0), the HMI IP address is 192.168.0.105 (same subnet mask). I have the computer, CPU, and the HMI all connected via an ethernet switch and these three devices are on the same subnet. I’ve attached three screenshots showing the configs and the vis file for my project.
When I transfer the project to the CPU and open google chrome, I type out “192.168.0.110:81/TestPage”, it shows the B&R logo in the background but then this message pops up four times (the max number of clients) stating “Server connection lost… trying to reconnect”. After this the screen just shows maximum number of clients reached. Increasing the maximum number of clients only seems to change the amount of times the server connection lost message pops up. On the HMI, it only shows a white background with an orange spinning wheel (like a loading wheel that a mouse cursor has after clicking on something while that thing is loading). What I would primarily like is for the visualization to show in the HMI, but it would be nice to also be able to see it on the browser. Any help would be greatly appreciated. If anyone has any questions or needs more information let me know!
Hello, thank you for your response. I’ve set the time zone on my CPU via the configuration menu for it to my time zone and have done the same for the HMI via the service page. I’m still getting the same results though. I also tried going into the Web Server node in the configuration menu and setting the server settings to match the Mapp View config server settings, but that didn’t help either.
I tried both “192.168.0.110:81” and “192.168.0.110:81/?visuId=TestPage” but I’m getting the same result with the B&R background and the message stating “Maximum number of clients reached”
The maximum number of clients reached is likely due to you can only have one browser session connected to a mapp View server at time. Close all your open sessions in your browser to that PLC.
You can use one regular browser session and one private browsing session in if you need 2 clients to the same mapp view server. Each tab is not a seperate browsing session. (I.e. I have a project with 12 different visualizations. I can only have 2 of them open without restoring to some very tricking browser tricks).
some days ago i also had a coustomer with the clock issue resulting in the information of “maximum number reached”.
In this case we had a lots of Messages in the AS-Logger. Even if it is a different error, i think if it is still unsolved this is the way to go, to check for additional information.
Also an upgrade to MappView 6.5.0 shall be considered. As it improves the clock topic with an clear error message.
You have mentioned that the problem is with the T30 MapView client. Do you have the same issue with the MapView client if you connect from your laptop?
For using the browser, I open up Google Chrome, and with no other tabs open, I type up one of the URL’s previously mentioned and get the max client message. I only use Google Chrome for this as I read somewhere that it doesn’t work as well with Microsoft Edge, so I don’t try opening a session with Edge. If each tab doesn’t represent one client session, is there a way for me to check how many clients are in a session and maybe terminate active sessions if just closing the tab isn’t terminating the sessions?
Do the test I asked you for: disconnect T30, connect only your laptop to the PLC (direct connection using Ethernet cable). Close all browsers, restart the PLC. When the PLC is ON, start the Chrome browser and type the address into the URL properly.Is this functional?
I followed the instructions you gave but I still get same issue with “Server connection lost… trying to reconnect” flashing four times followed by “Maximum number of clients reached” after typing on Google Chrome’s URL “http://192.168.0.110:81/?visuId=TestPage”
I tried this but then got a pop up asking for me to sign in as “Your connection to this site is not private”. I did not set up any username and password requirements on the config files in AS6, I tried credentials to sign into the computer but that doesn’t seem to work. What credentials could it be asking for or is there a way to bypass this?
Final update, I managed to get through this issue for both showing the mappView visualization on the browser and on the HMI.
For the browser, it was a time sync issue and the way I resolved that was by going into Automation Studio, then “Online” → “Info” → “Date/Time” then select “Set to Target” to transfer the NTP (Network Time Protocol) from your computer to the PLC, which also syncs the NTP for the client/server.
For the HMI, it took more effort, I had to enable NTP server on the configuration menu of the CPU module and on the HMI service page, activated web server on the service page with the address “192.168.0.110:81/index.html” (This is the IP address for the CPU). I ensured that the settings for the AS6 project matched the settings for the HMI, and that the IP address of the HMI was different to the address of the CPU but on the same subnet. Even with those configuration changes, I was still not getting the visualization displayed on the HMI until I updated the Linux Image and the Firmware of the HMI to the latest available. I had help from B&R support on these things.
Hopefully this helps anyone else having these issues.