AdvancedHMI Software

General Category => Support Questions => Topic started by: nzflex on July 03, 2018, 02:40:26 PM

Title: Multistate Push Buttons - What is AdvancedHMI's Alternative / Replacement
Post by: nzflex on July 03, 2018, 02:40:26 PM
Hey guys, I'm still going through converting an old PanelView app through to AdvancedHMI, gotta say AdvancedHMI looks so much better !!! Anyways, hopefully I can pull this off ok with Screenshots...

In the existing PanelView App, there are plenty of these buttons... which read a tag and display a message based on the value returned, now generally I have been using MessageDisplayByValue to do the same thing, but wondering if anyone knows how I can have a button doing the same sort of thing AND to add to it read the value from the PLC tag and have it within the text...



Title: Re: Multistate Push Buttons - What is AdvancedHMI's Alternative / Replacement
Post by: Godra on July 03, 2018, 02:59:12 PM
Check this topic for a button that can display value:

https://www.advancedhmi.com/forum/index.php?topic=1948.0

Also check this project since Phrog30 has included some custom controls (Multistate being one of them):

https://www.advancedhmi.com/forum/index.php?topic=2079.0
Title: Re: Multistate Push Buttons - What is AdvancedHMI's Alternative / Replacement
Post by: Phrog30 on July 03, 2018, 04:18:47 PM
So it sounds like you want embedded variables.  I think the controls I have referenced are the only controls that will do that.  However, I never added it to a button.  Do you actually need a multistate button, or just a simple two state button that allows an embedded variable for each state?  Personally, I've never used a multistate button and don't know what scenario one would.

James
Title: Re: Multistate Push Buttons - What is AdvancedHMI's Alternative / Replacement
Post by: nzflex on July 03, 2018, 04:23:35 PM
Most of the buttons are just 2 state reading a variable from the plc in each state ..
Title: Re: Multistate Push Buttons - What is AdvancedHMI's Alternative / Replacement
Post by: Phrog30 on July 03, 2018, 05:21:59 PM
I should be able to create something later.
Title: Re: Multistate Push Buttons - What is AdvancedHMI's Alternative / Replacement
Post by: Phrog30 on July 03, 2018, 10:01:39 PM
Here is an updated app that allows embedded variables in the basic button...
https://drive.google.com/file/d/1AD2C6AOGMAlO5yvmgak-uV_Wrg3Kc45y/view?usp=sharing (https://drive.google.com/file/d/1AD2C6AOGMAlO5yvmgak-uV_Wrg3Kc45y/view?usp=sharing)

I tested with Modbus sim and CLX.  I tried full length and partial strings in CLX, it seems to work well.

James