Save Dynamic Text with 256 characters in a file

For Dynamic Texts there are no File Service Functions. However, to save Dynamic Texts in a file, the texts are converted into TEXT vectors and saved as vector of TEXTs. When reading, the TEXT vector is converted into a Dynamic Text.

Following, the procedure is explained as an example.

1. Create a text resource with 256 characters

  • Write text

2. The resource text is loaded in a Dynamic Text.

3. The TEXT vector is saved with File Service Function in a file.

4. The Dynamic Text is converted into a TEXT vector with 16 elements.

The function block “Append” joins all vector elements to a Dynamic Text again.

5. The TEXT vector is read over a File Service Function again