I have there a situation where the mappview application can be accessed by a mobile phone using a browser.
Definition of situation:
The plc is connected to a local network. This also includes a wlan.
This plc is at a methane plant. In order to reduce distances we would allow to switch on and off some pumps by using a mobile phone with a browser which can open a client session.
So far so good. Up to here there is no problem.
Now we connect this LAN to WAN with gateways (sitemanager or lucom system) etc. so that a access from internet would be possible.
Is it possible to identify, where the access for a client session comes from. Here from LAN or from WAN (Internet)
What i want:
I would give automatically five full access to all devices which are part of the LAN. For those who are connected from Internet they need to have a login.
After studiing the redirection rules i would try with ip adresses for type.
So when a new “LAN User or WLAN user” ( in this cases the mobiles) enters i could expect that those get a tcpip adress by a dhcp Server.
So i can be (in most cases) sure all the ip adresses within this address room are from LAN or WLAN –> from mobiles
Im not sure but when including a sitemanager into the LAN it has his access throug a gateway and in don´t know which ip adress will be assigned to him.
Does anybody know this? Also when there are multible accesses through a sitemanager
To the best of my knowledge, there is no library, nor is there a possibility to set it dynamically. However, the configuration file is an XML, so you can create a prebuilt script, e.g., in Python, and create the file dynamically before you compile the project and create a new CF card.