Now are you talking about in the tag editor of FTME?
Yes. I should have said the Main Folder. It's the Folder in the tag base that's already there.
That's any tag you create in the PLC to use for the macro.
Open the Macro Folder
Create a Macro
PLCTAG == TRUE
Give Macro any Name you wish to call it and Save.
Open Screen you want to use.
In Display Settings Select. Macro Runs when Screen Opens.
Select the Macro you just Named.
In the PLC.
Make
PLCTAG (Your Choice of what you name it as long as it's the same in FTME) a BOOL. Let HMI Macro turn it on and you turn it off when your done with it.
Reset Complete = unlatch
PLCTAG
Now here is another way to skin the cat.
Under Global Connections There is a Tab Called Display.
Create A DINT Tag Call HMI_Display
There Are 2 Choices one tells you what Screen is Currently open and The other Let's you use the plc to open a screen.
The only catch is each screen must have a unique number. You Define the Screen Number in Display Settings. Again your choice of what to number the screens I use 1-10 etc.
Once you get in the global connection folder and the correct tab open use the HELP button. It will take you straight to the area of the help file that is associated with the task you are trying to complete.
This Option would be my choice. This Way you know when your screen is open and then you can do your reset procedure.
The Help button on the Property pages is very useful to get you to the right area of the help file. It's a great time saver.
Good Luck with your Project and Welcome to The Forum.