10-10-2023 06:44 AM
Hello together,
I know that there is a time at CPS to adjust the return to status page at inactivity and I know, that I can deactivate the return directly at the HMI under "System functions". But is there a possibility to deactivate the return by TwinCAT code temporary.
My use case: I want to have the return after a certain time to status page (this is good), but in one special case not: At changeover I have displayed a user guide, which shows how to change tools. This tooks a long time and in this time period I don't want the visu to return back to status page, but to stay at the user guide view.
10-10-2023 09:51 AM
There is no such possibility at the moment. But the use case seems very plausible, so we will add this to our backlog as a requirement.
10-10-2023 10:13 AM
Maybe you can make a workaround and request the view via a ViewRequest variable ?
As long as the view is requested, the HMI should not jump to the status page ?
And If so - you might have to use the HmiUtil addon to see which view is currently active and then request the desired view again...
10-10-2023 10:38 AM
Requesting the view from the PLC does not change anything about the automatic return to the status page. But it is probably a good idea to change exactly this behavior in a future version.
The workaround is possible but really not very nice: The HmiUtilAddon allows you to detect when the status page is activated. After that, you would have to reset the view request for a second or so and then set it again so the HMI navigates to the "newly" requested view again.