PHoskins Posted July 31, 2018 Report Share Posted July 31, 2018 Hello, I'm very new to unitronics so bare with me. I have a Samba 7 inch unit and On the screen I have a textbox that I want to update with text. So at certain points in my ladder I want the status text to change How might I accomplish this? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted August 1, 2018 MVP 2022 Report Share Posted August 1, 2018 2 hours ago, PHoskins said: I have a textbox that I want to update with text. What is the source of the text? User input? Pre-defined strings? Data Table? The source makes a difference. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted August 1, 2018 MVP 2022 Report Share Posted August 1, 2018 If you're looking to use the same text strings to report the status of your program look at the List of Texts by pointer HMI object. It will let you type in the fixed text strings you want and select them by changing the value in an MI. Or you can use the more powerful list of texts by range, which is a bit more work but looks at a range of values in an MI. Otherwise 3 hours ago, Flex727 said: What is the source of the text? User input? Pre-defined strings? Data Table? The source makes a difference. You have tell your doctor specifically what you really want. Posting your .vlp file with what you've done so far will go a long way to getting the help you are asking for. Joe T. Quote Link to comment Share on other sites More sharing options...
PHoskins Posted August 1, 2018 Author Report Share Posted August 1, 2018 Thanks for the quick response, right now I don't have a hole lot other than a text box. I'm looking into the list of texts right now. Basically I just want to press a button on the screen and then display on the HMI " process running" Then say when a input is triggers, I want to change the message to "Process complete" etc. I was attempting to figure out how to get a string from the library based on an index number but have been unsuccessful. Paul Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted August 1, 2018 MVP 2022 Report Share Posted August 1, 2018 7 minutes ago, PHoskins said: Basically I just want to press a button on the screen and then display on the HMI " process running" Then say when a input is triggers, I want to change the message to "Process complete" etc. Then, Joe's suggestion is likely the best one for you. Use "List of Texts by Pointer". You can type in the strings you need then assign a value to the MI according to which text you want displayed. Quote Link to comment Share on other sites More sharing options...
PHoskins Posted August 1, 2018 Author Report Share Posted August 1, 2018 OK, Thanks This may be easy but I'm trying to figure out how to change the Index of my MI in the ladder so the test changes. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted August 1, 2018 MVP 2022 Report Share Posted August 1, 2018 Use 'Store Direct' to assign any value to an integer register, or 'Increment' the MI if your strings are in some kind of process order. Quote Link to comment Share on other sites More sharing options...
PHoskins Posted August 1, 2018 Author Report Share Posted August 1, 2018 Thanks; That is exactly what I was looking for. Thanks again for quick response, I'm sure Ill have more later but for now I'm cooking with gas. Paul Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.