FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
08-21-2024 03:42 PM
Hello all,
I need to find out whether there is any way how to build two different HMI application in one WebServer.
Our customer has one big HMI app and wants to have one smaller (with limited functionality and different screen design) available for operators.
As Webvisu is wab-based HMI, I´m not sure if it is even possible. If it was standalone runtime running in embedded HMI panels, it would not be difficult, I assume.
Application is already running and customer would like to extend functionality.
Thanks a lot for tips.
08-21-2024 04:01 PM
@PADE ,
Your application sounds like a pretty typical access controlled HMI. You don't need multiple webservers. Just modify the client behavior, programmatically, based on the user. One technique is to have an enumeration for each access level. If the access level is above a certain threshold, certain elements become visible/interactive etc. Use the element state variables (Invisible, Deactivate Inputs) to control visibility and interactivity.
Use the login/logout events to trigger additional logic. For example, when your operator logs in, use that event to trigger your screen design change.
08-22-2024 07:14 AM
Read article WebVisu_Client which should help you by the provided example
08-26-2024 10:25 AM
Hello @Sgilk ,
thank you for reply but it´s not my case.
The clients have different sizes and should have completely different menus and screens. There is not just small dependencies related to visibility or dectivation of inputs (as you mentioned, pretty regular stuff).
Here I´m talking about really different HMI project getting data from same PLC (so starting page should be different and all related content of screens).
I will check link below...probably that´s the right way.
Related to that. If I deactivate CurrentVisu tag how can I track open screen? I usually use Frames so I have integer variable which correspond displayed Visu but for some HMIs it does not have to be enough? Is there a way how to set variable during Opening/Closing screen etc. easily in property of each Visu (it´s quite useful and general function for HMIs) or set integer number for each screen and read it by some system variable?
Thanks a lot for cooperation.
P.
08-26-2024 10:27 AM