FactoryTalk View- Display change

Thanks for the help. I am almost where I want to be.

One problem I am still having is the expression in for remote macro, I cannot include an OR function. I want to be able to say execute this macro if this tag or another tag changes.

Basically what I want to accomplish is have 10 buttons on a display. If one of those buttons is pressed, go to the next screen and change the value of a tag so I know which button was pressed.

If there is no simple way to do this, I could instead have 10 duplicated displays with unique display numbers

Please let me know what you think.
 
I don't think the macro method is really the way to go here for what you have described, but I'll clear up the OR for you so you'll know for future reference...

For the "OR" logical operand in an expression you must use parentheses ( ).

Example 1:

Tag1 is equal to 1 or Tag2 is equal 1 then expression is true...

(Tag1 == 1) OR (Tag2 == 1)

Example 2:

Tag1 is not equal to 0 or Tag2 is not equal to 0 then expression is true...

(Tag1 <> 0) OR (Tag2 <> 0)

Example 3:

Tag1 is equal to 10 or Tag2 is not equal to 5 then expression is true...

(Tag1 == 10) OR (Tag2 <> 5)

Similar to what I outlined earlier, I would use the RemoteDisplayNumber Global Connection and link it to a PLC tag which you can monitor in the program to see which display number has been navigated to. That is, which button has been pressed. You can use the value of this PLC tag (example "CurrentDisplayNumber") to decide which display has been navigated to and then set the relevant tag or tags to whatever value you want.

Regards,
George
 
Another suggestion I might add...

Instead of using 10 separate Goto Display buttons on your main display, or wherever, you could alternatively use a Display List Selector object which will give you a list of Displays to navigate through and select. This object does not provide graphical navigation buttons but you can also create key button objects for Up, Down and Enter and assign them to the Display List Selector object.

It won't really improve the functionality of how you navigate multiple Displays from one Display, but it might look better graphically.

It's just a suggestion in case you were not aware of the Display List Selector object.

Regards,
George
 
Thanks. I ended up not needing the to use macros and monitoring which display number like you suggested. It was useful to learn basics on how/when to use macros all the same.
 

Similar Topics

Hello, I'm using FactoryTalk View ME V10. I created a valve as a global object with multiple parameters and when the object is being used at the...
Replies
2
Views
132
Hello all, I was modifying an HMI in factory talk and went to change a go to display button using the ... to select from a list as I had done...
Replies
4
Views
179
Hi Guys, How can I display Current logged in User Name display on FactoryTalk View studio Site Edition? What I did: String Display object >>...
Replies
3
Views
1,148
Considering the incredible time it would take to get a Panelview Plus 7 , I'm going to get the FactoryTalk View ME Station 30 Display Single...
Replies
1
Views
1,142
Hi everyone, I have to convert keypad HMI to Touch screen but I don't know how to convert my Display List Selector from navigation key to touch...
Replies
12
Views
4,235
Back
Top Bottom