Jump to content

How to create a slider bar


Recommended Posts

  • MVP 2014

I am not aware of a built-in way.

When you say "any way" - you can use the direct draw functions to create your own (Draw Line, Draw Pixel and Clear Rectangle). Also use SI40 and 41 to read the touch coordinates. You can then manually draw the slider bar based on where the user touches the screen.

What model PLC are you using?

Link to comment
Share on other sites

  • 4 years later...
  • MVP 2023

Here is how I ended up solving it. This application changes the display brightness by touching and sliding the Bar Graph left or right. The ladder logic would need to be adjusted for the actual coordinates of the slider bar. Note that I check to make sure the correct screen is being displayed and that the PLC is not in INFO Mode.Slider Bar.jpg

  • Upvote 2
Link to comment
Share on other sites

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.