I just started using MAAP5000 display, with windows IOT.
In my mappview application I can change the CPU IP address, for when the customer needs to connect it to his own network. Problem is that if I change the CPU ip address, the display will not be able to connect to it anymore.
So I need, somehow, to let the user change also the network properties of the card inside the display. Considering the knowledge of the average user of this application, I can’t ask him to navigate through the network card properties in window and change the ip address from there, so I would like to know how you managed to do that.
There should be something fool-proof to let the user change the newtork address of the display.
As a last resort I will have to create a script windows-side and run it via mappview, but I was hoping there was something easier since I guess I’m not the only one having this problem.
they are different units, basically the display is only a viewer.. windows is used only to open a browser which connects to the mappview server on the plc.
Then there is no direct way to change the IP from the PLC. You can take a look at this script to execute a script or commands on a remote system from the PLC.
I think in most cases, the customer would just change the IP address in windows. This is typical a one time thing that you either do during commissioning or the customer does it with the help of his IT department.
An option might be that you use an extra IF module in your PLC specifically for the connection to the mappView PC.
Then you only change the IP of the ETH interface to which the customers’ network is connected.
Other option:
Any PLC ethernet interface can function as a DHCP server. So if the ETH interface of the mappView PC is configured as a DHCP client it would receive the ETH address from that server.
sorry, I missed your answer. dhcp was my first idea but then I realized customers need to input a specific address, based on their network configurations, so it’s not doable.