Posted 16 Aug 2018 Hi, I am new to Vijeo. The task is to show different messages on HMI screen (I use Vijeo designer V6.2.5 and Magelis HMIG3U). A new string variable "ToDoTxt" was created as an Array with dimension 2048. A StringDisplay was put on the screen and ToDoTxt[0] was chosen. How can I show other 2047 values, which depend on value of another integer variable "StepNumber"? Share this post Link to post Share on other sites
Posted 16 Aug 2018 (edited) Choose a message display block. As shown in picture. You need to create a text and colour resource (under resources) Then in the message display properties you need to select the colour and text resource you created and use the integer value as your variable in the message display block. No arrays needed. Just type your messages in the text resource next to the value of the integer Edited 16 Aug 2018 by cHud Share this post Link to post Share on other sites
Posted 16 Aug 2018 Sorry the above method can only give 255 messages in one text resource. Let me check for another solution Share this post Link to post Share on other sites
Posted 16 Aug 2018 Will your string have values in on the plc or do you need to type in messages on Vijeo designer? Share this post Link to post Share on other sites
Posted 16 Aug 2018 Hi cHud, thank You for Your help. It is a program for machinery self testing. Each message relates to certain step number and informs operator what to do. If it works with 255 steps I can divide the process. But, may be, it is possible assign the text value with a script? Share this post Link to post Share on other sites