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

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...