Hello, I am trying to do something with codesys actually I use CurrentVisu to change visualisation but I would like to use the button on my HMI to come back to the visualisation right before the new one
How can I do it ?
I forgot to say that I only want it in ST
I am not sure what you mean by ST, but you can use the Input Configuration "Change shown visualization" and select previous/next shown visu.
That's what I mean I do not want to do it in the visualisation but inside of the Structured Text program
Do you have any idea to do so ?
Could you maybe explain what you are trying to do?
Why would you want to adjust the visu without a user input to a previous visualization?
Hello I am doing some test, I know that I wont have a touchscreen I only have have the touch of the screen (there is 6 button) so I try to move between visualisation without using the button of visualisation I try to do it with Structured text like when I am using CURRENTVISU to switch visualisation to a specific one but I want to use one button to be the "come back" button so I would like to know if there is a command that can be use to come back to the previous visualisation in structured text
Currently there is no way to access the last visu without knowing the client.
Starting with Visu Package 220.127.116.11 the VisuUtils provide acess to the previous and next visu name for a client.
You could wrap the access to VisuElems.CurrentVisu in a function/FB and store the last visu in there.
Log in to post a comment.