Jordy Posted August 26, 2014 Report Share Posted August 26, 2014 Hi, I'm using V1210 and i want to build a list of strings from MI values coming from a table: For example: line1 MI100=4 MI101=30 I want a string DW1 with '4 min 30' lin 2 MI102=5 MI103=40 DW2 must be '5 min 40' Reason: I want buttons with the complete variable text '4 min 30' on the screen. (to select the correct time) Is this possible? Link to comment Share on other sites More sharing options...
Eyal Koren Posted August 26, 2014 Report Share Posted August 26, 2014 Hi Vema, Of course it's possible. The attached application demonstrates how it can be done. It is pretty straightforward, but if something isn't clear you are welcome to post it here. By the way, I built the application for Samba PLC, but it will work on any Vision PLC. String Representation.vlp Link to comment Share on other sites More sharing options...
Jordy Posted August 26, 2014 Author Report Share Posted August 26, 2014 Hi, Thanks for the answer. Not that easy to build 10 lines but it works Strange there isn't an easier solution for this. A button behind textfields on the HMI would also work but is not possible... On the screen I have the different lines displayed now, but how can I highlight the selected option? See attachment for the example. I want the selected line in another background color.... is this possible? Thanks a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now