omron — Deploying your project as a web application

Tutorial: Building a Simple Project c) Select Automatic , and then click OK . d) Click OK to close the Runtime Tasks dialog. 3. Save and close all open screens and worksheets. 4. Go to File , and then click Save All As HTML . Your project screens are saved as HTML files in the Web sub-folder of your project folder (i.e., \ name> \Web ). 5. Configure a web server to make the Web sub-folder available to the network. For this tutorial, use NTWebServer, which is free, lightweight web server program that is included with the AVEVA Edge 2020 software.

Simply copy it from the Studio program folder (at AVEVA\AVEVA Edge 2020\Bin\NTWebServer.exe ) to your project's Web sub-folder (at \Web ), and then double-click the file to run it. It automatically serves the contents of whatever folder it is in, without any further configuration. Note: NTWebServer is provided for testing purposes only. It should never be used in a real production environment or on a secure network. You can also configure the "root directory" or "home directory" setting of some other web server program (e.g., Microsoft IIS) to point to the Web sub-folder, or you can copy the Web sub-folder to an existing web server on your network.

The web server (which makes the HTML files available to clients) and the data server (which actually runs your AVEVA Edge project and exchanges data with the clients) do not need to be the same computer. 6. On the Home tab of the ribbon, in the Local Management group, click Run . 7. Open a web browser (e.g., Microsoft Internet Explorer), and then enter the URL address of the synoptic screen on the web server. For this tutorial, type http://127.0.0.1/synoptic.html and then press Return . (127.0.0.1 is the standard IP address for the loopback network interface, a.k.a.

"localhost".) After a few moments, during which the browser downloads and installs the browser plug-in, the synoptic screen is displayed in the browser. Notice that you can change the level of any tank either locally using the project viewer or remotely using the web browser, and changes on one client appear immediately on the other. They work equally well. Page 82