Controller as external webserver

The “Controller as external webserver” type terminal provides you an option to control the other PLCs datapoints from single webserver. The terminal can be used via SSCP TCP or serial link. In case of TCP solutions, all the PLCs on the network must have an unique IP adresses. In case of serial line the PLCs on the bus must have an unique SSCP adresses. The webserver is running on the PLC that is set as a client/master on the bus. The type of the graphic template that is loaded to the “Controller as external webserver” terminal is “Terminal” which allows you to use this template for the HT200 terminal or the mobile devices as well.

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.

Uploading of this webserver type is supported only on linux OS PLCs:

markMX

mark320

mark220

+ all of the wall series PLCs

Start with adding a terminal to your solution


terminal properties:
name - terminal name>
language (web) - web localization (cs - czech, en - english)
connection type - the connection type that will be used for plc connection (server)

sscp parametres
username - sscp user that will be used for connection with the plc (server)
password - sscp password that will be used for connection with the plc (server)
sscp adresa - sscp adress that will be used for connection with the plc (server)
host - ip adress that will be used for connection with the plc (server)
tcp port - port that will be used for connection with the plc (server)
note - space for user note

web parametres
definition directory - exported definiton (this filed will only be filled while using external hmi definition)
device template - here you can choose from hmi templates created in acutal solution

from the fields mentioned above, there is necessary to fill those that contains sscp parameters used for plc connection (username – plc properties – „users definition“, password – plc properties „user definition“, sscp adress – plc properties „sscp parameters“, host – plc properties „connection parameters“) and
web parameters - here you have to choose from hmi terminal templates that are already part of your solution (you have to either create the hmi template or use some that have been created before).

user policy can be defined by double-click on the terminal (or right-click and choose „open editor“). you can find the instructions how to define it in page User policy.

Before creating the HMI template i tis necessary to assign device to the terminal channel (right-click on terminal channel – „Assign device“).

Data points of assigned devices (PLCS that shall communicate with the server) can be then mapped in a HMI project. 

New graphical terminal definition.]] The web pages are then to be uploaded to the PLC: right click the terminal, Terminal Operation, Deploy to Terminal.  {{:en:mervis-ide:35-help:upload_terminal_controller_as_extrnal_webserver.png

The web server operation is described at the Integrated web server page.