Jump to content

Display list of vectors as ASCII string

Recommended Posts


In my program I receive a length of vectors on MI120 - MI143.

When I use ASCII string to display all the vector in one line on the HMI, I only get the first character which is inside MI120, even when the length is very long. 

When I put RTC to vector, it is possible to display it with the samen function.

So for example:

MI120 a
MI121 b
MI122 c

I want to see: abc, but I only get a.

How can I solve this?


Link to comment
Share on other sites

I'm using the V570.  On display there is only the first letter "a" visible, nothing more. 

Now I've made a test program:  #72 (H) in MI0, #56 (8) in MI1. On HMI I use the ASCII String function with start of vector: MI0 and number of characters is 4. And still only H is visible on the screen.


Link to comment
Share on other sites

As Flex said the ASCII is store with to characters per MI,    To test go online and change the data type to HEX and insert 3333 in to MI120 and 3636 in to MI 121 

You should see 3366 on the display

If you dont check the String pattern and make sure it's long enough to display what your trying to show.



Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...