Hello, I try to find informatomation, but not successful. How to know PLC, that visu HMI application is starting. When started VISU then set variable. I don't find information how need do that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
maybe you could use those two options remarked on the picture.
But I also missing some events, or system variables giving feedback to PLC or to initialize some variables when specific screen is open/close etc;)
Thank you for message. I tried do that, what you suggest to me. I create VisuInit program block I attached it. I don't understand why VisuInit program block is not running.
To be honest, IΒ΄ve never tried that (IΒ΄m also quite new in webvisu) so I do not know.
But anyway, I assume that HMI is initialized as soon as PLC program is started so there is not necessary to check the status.
And if you really want it, I would read variable CurrentVisu and as soon as any screen name would appear, I would suggest HMI runtime is running.
M.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How need read screen name or something like that. For me read data from visu is deep dark :( need some information that HMI runtime, because I want call dialog popup from PLC, but if HMI is not running and I call dialog then stuck PLC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I try to find informatomation, but not successful. How to know PLC, that visu HMI application is starting. When started VISU then set variable. I don't find information how need do that.
Hi,
maybe you could use those two options remarked on the picture.
But I also missing some events, or system variables giving feedback to PLC or to initialize some variables when specific screen is open/close etc;)
M.
Thank you for message. I tried do that, what you suggest to me. I create VisuInit program block I attached it. I don't understand why VisuInit program block is not running.
To be honest, IΒ΄ve never tried that (IΒ΄m also quite new in webvisu) so I do not know.
But anyway, I assume that HMI is initialized as soon as PLC program is started so there is not necessary to check the status.
And if you really want it, I would read variable CurrentVisu and as soon as any screen name would appear, I would suggest HMI runtime is running.
M.
How need read screen name or something like that. For me read data from visu is deep dark :( need some information that HMI runtime, because I want call dialog popup from PLC, but if HMI is not running and I call dialog then stuck PLC.