Applicable to OS V1.9
The Web service enables the display of a web-based interface, nanoWebUI™, designed for the management of Data Points in applications. From the nano EDGE ENGINE V1.9 implementation of Haystack service and tagging, it allows to display tagged Data Points and Equipment components in the nanoWebUI™.
The Web service has the following slots:
-
Status: indicates the current status of the component. If the component works properly, its status is OK; however, it changes accordingly when values in other slots are adjusted.
-
Available information: disabled (the Enabled slot is set to false), OK;
-
-
Enabled: change of the slot's value enables or disables the component;
-
Info: informs about a non-OK status of the component;
-
Available information:
-
Couldn’t start file server (status Error): occurs when the file server cannot not be started due to a memory shortage or other exception,
-
No resource manager (status Error): occurs when the resource file manager cannot be opened due to a memory shortage or other exception,
-
No resource (status Error): occurs when the resource file is not loaded,
-
The port change will take effect after the device restart (status OK): occurs when the HTTP port number has been changed with the Set HTTP port action;
-
-
|
Numerical value |
Displayed information |
|---|---|
|
0 |
No information displayed in the Info slot |
|
1 |
Couldn’t start file server |
|
2 |
No resource manager |
|
3 |
No resource |
|
4 |
The port change will take effect after the device restart |
-
HTTP Port: shows the set communication port number;
-
Resource: allows to select a resource pack for displaying the web interface;
Note
The default resource pack for the display of the nanoWebUI™ interface is the Resource.Web file, delivered with the nano EDGE ENGINE OS V1.9.
-
Web Name: allows to set an individual name for the web server, displayed in the left panel.
The Web service has the following action:
-
Set HTTP Port: allows to change the HTTP communication port.
Note
The Set HTTP Port action is available also in the iFnet component and Haystack service.
Warning!
Changing the HTTP port affects the iFnet communication port number and will disable connecting with the controller using the current iFnet port number.
The HTTP port number can be changed by the user using the Set HTTP Port action. Changing the HTTP port number affects the communication port used to connect to the device, Haystack service, and connection to the nanoWebUI™ interface. The following notification is displayed before changing the port number:
Once the change is introduced, it requires saving and restarting the device. Before saving, the component displays a notice in the Info slot:
Dedicated views
Views dedicated to the Web service are available in the iC Tool: iC Tool - Web Tags, and nE2 Link module: nE2 Link - Web service.