Jump to content

Change meter fill color from Ladder


Cristian

Recommended Posts

The fill color for a bar is not possible to dynamically change, but there is a way to accomplish what you need.

 

Since it is possible to layer different elements on the HMI in UniLogic you can place multiple meters placed on top of each other. Each one being a different color. You can also use the hide bit on each element to hide the meters you do not wish to see.

 

For example have the green meter showing normally. When the value is below 50, hide the green meter and then enable the red meter. Both meters will still be linked to the same tag value.

  • Upvote 1
Link to comment
Share on other sites

  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.