(0)| 9/3/2015 5:05 AM | |
|
Joined: 1/28/2009 Last visit: 1/5/2026 Posts: 6892 Rating:
|
Dear user,
You can specify the length of data stored in STRING data type inside the brackets that is part of its syntax.For example while defining test1 variable as a STRING[20], 20 bytes of data in addition to 2 extra bytes are allocated to this variable.So, in TIA Portal you can define the intended length while declaring variables.Check the attached file. I hope that helps, hdhosseini Attachmentstring.rar (163 Downloads) |
| 9/3/2015 4:28 PM | |
|
Posts: 13 Rating:
|
That worked perfectly. Cut out 25% of my used working memory. Thank's |
Follow us on