Web server

The integrated web server on a PLC allows to create user access policy and analyse trend data, control multiple PLCs from a single web server (Controller as external webserver) and display a text template (Change from graphical page to text page).

Note: if the PLC works as an integrated web server (displaying values from “this” PLC only), it is not possible to use it as External webserver (i.e. as a web server for data from more PLCs in a network) at the same time, and vice versa. The web pages are overwritten by the most recent content at every web pages upload.

Web pages are designed in the integrated HMI editor as a template. Create a new HMI template:

page properties

Insert object from the HMI menu tab into the page, and bind them to PLC variables. 

detailed description of hmi objects including their properties can be found here: Graphic HMI objects.

Add a page by clicking the “+” button. Delete a page by clicking the “x” next to the page name in the tab below.

- Right click the objects in the HMI template workspace allows copying objects keeping their position (shortkeys Ctrl+Shift+C).
- Increasing/decreasing of the Z-index (bring to front / send to back) can also be done from the context menu (right click the object and “Bring to front” or “Send to back”) or in the upper bar (Z-index).
- Grouping objects allows create a group of objects for easy manipulation while maintaining distance between objects.
- Add Gadget to Styles - see Creating of Styles


definition of user access rights with setup of user groups for individual pages is described on the User policy page.

Before uploading web pages to PLC, select the web pages language. The selected language will be used for generic web texts, such as names of days of week, time schedules, menu etc. 

Contact Domat technical support if you need to add your language.

 

Next step is uploading the template to PLC: in PLC Properties, Web parameters, select the engineered template. The Definition directoryis completed automatically. If the web template is not in your Solution, select the template definition in the Definition directory parameter. 

.

configuration of saving trend data in a plc is described in Configuration of saving data to database (history). To display trend data as a history, switch the Oscilloscope mode to off and selct the time period to be displayed.  

Of the legend says “noData” check if the values are saved correctly into the PLC database.

to display the overview of active alarms, make sure that the user has alarm rights in  "HMI User Rights" .

To show the alarms overview or alarm log at the web server, click the alarm display icon  .
In the alarm list there are all alarms which are not in Normal state. Acknowledge alarms by clicking the  “Confirm” button, and reset the inactive alarms by clicking the “Reset” button.

time - time of appearance of the message
message - datapoint name in the project
state - active - alarm active, active ack. - active acknowledged, memory - inactive alarm, memory ack. - inactive and acknowledged alarm (can be reset)
source - client which changed the alarm state
note- other information, if available

to display the system log, user must have the system log access right. see "User policy" setting. Click the icon on the PLC web.

Time - Time of appearance
Source - Client or process that originated the message
Level - System level, used for filtering
Message - Message text

Browse between pages by left or right button.
Refresh the alarm log by clicking the Refresh button.
Export the log into a CSV file using the Exportbutton . The period to export can be specified in the setting.

See the system configuration setting at the "System configuration" page.

  • © Energocentrum Plus, s.r.o. 2017 - 2021