Launching popup from PLC tag, FTview ME

Walks

Member
Join Date
Jun 2018
Location
Midwest
Posts
47
Hi, I'm trying to display a popup in FTview when a PLC tag reaches 0. Then you have to hit a confirm button to close the popup. I should probably know how to do this but I can't get it working. I don't have access to changing anything in the PLC program so I'm trying to do this purely from the HMI.

I made a HMI memory tag (DisplayScreen) and assigned it to the "Remote Display Tag" in Global connections. Then I made a macro,

if (tanklevel == 0)
then (DisplayScreen == 2)
else (DisplayScreen ==0)

I then assigned that macro as the startup macro for the popup. I'm just using a close display button for the confirmation to close the popup.

If anyone knows what I'm missing or if I'm doing this completely wrong I appreciate the help!

Thanks
 
Hi, I'm trying to display a popup in FTview when a PLC tag reaches 0. Then you have to hit a confirm button to close the popup. I should probably know how to do this but I can't get it working. I don't have access to changing anything in the PLC program so I'm trying to do this purely from the HMI.

I made a HMI memory tag (DisplayScreen) and assigned it to the "Remote Display Tag" in Global connections. Then I made a macro,

if (tanklevel == 0)
then (DisplayScreen == 2)
else (DisplayScreen ==0)

I then assigned that macro as the startup macro for the popup. I'm just using a close display button for the confirmation to close the popup.

If anyone knows what I'm missing or if I'm doing this completely wrong I appreciate the help!

Thanks

You seem to be using the comparison == in both places, I believe it should be the assignment operator = when setting values.

Try

if (tanklevel == 0)
then (DisplayScreen = 2)
else (DisplayScreen = 0)
 
I then assigned that macro as the startup macro for the popup.

Part of your problem is that the macro you assigned to the "popup" display will NOT run until the "popup" display is started up/opened.

You will need to assign your macro to the FTV Project "System>Startup" settings.
 

Similar Topics

Hello Folks, Has anyone has success launching Windows Explorer from ME Program Launcher ActiveX? I would like to be able to open Windows...
Replies
4
Views
1,509
thought this would be easy.... working with Factory Talk View SE 6.10 I have a string input where my operator inputs a date in the format...
Replies
1
Views
3,448
Hi guys, It is possible to execute the Excel.exe when I click the button at RSView32? Is there anywhere we can do this without doing any VB...
Replies
8
Views
6,283
Is there anyway to get RSlogix 500 to always launch maximized when clicking on a file in windows explorer? I find I have to click on the file...
Replies
5
Views
2,610
Hi. Here's what I want to do and I'm not sure where to start. I did it back then using Citect so I'm pretty sure it can be done. I have a lot...
Replies
11
Views
927
Back
Top Bottom