wlederer

How to show multiple values in a StringDisplay?

5 posts in this topic

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 (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

message_display.JPG

message_display2.JPG

Edited by cHud

Share this post


Link to post
Share on other sites

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

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

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

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