Quickly changing data at HMI

Hello, I’ve got another question about the HMI… I’ve a few global data variables of a struct. I’ve gave them a HMI tag: HMI1, HMI2, HMI3. I have made a template for a HMI screen with all data of HMI1 connected. The Data is available like this: HMI1.ex.example.bool. I want to use the template of that screen for HMI2 data, but everything else is the same. I guess I have to go to every object of the HMI to go to the name of the connected data and change that manually, so in this case HMI1 → HMI2. Is there no shortcut to do this? Thanks in advance, Arne

Hi Arne, you can make use of the flat file format option, were you can carefully modify single files. [list] []Save the project as pcwef (uncompressed) []Open the .hmipagedef files of your screens created from the template (just an xml) []Close PLCnext Engineer []Search for the VariableInstance and modify or change the value → make sure that the variable exists [*]ReopenPLCnext Engineer [/list] Please find attached a small example were I’ve created a new screen from a template and were I changed the default HMI Tag „HMI1“ to „HMI2“. Take care, Frank

FlatFile_Modify_HMI_Tags.png
image.png
image.png

I have found another solution. After putting all values on the page, it’s possible to make a symbol. In the symbol, it’s possible (even necessary) to select a parameter. There you can select the variable from the structType.

Runtimerror.JPG
msg.JPG