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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Hey,
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.
https://help.codesys.com/webapp/_visu_dlg_input_configuration;product=core_visualization;version=3.5.17.0#input-action-change-shown-visualization
Best regards,
Marcel
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?
Best regards,
Marcel
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 4.2.0.0 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.
Best regards,
Marcel