Message |
Manual -> Pictures -> Picture elements -> Picture Elements -> Message |
Show all Hide all |
With the dynamic element Message
you can output strings from
ASCII text files depending on the stati of variables. The ASCII
text files must be structured as tables and are freely
configurable. The column separator is a "|" (ASCII-Code 124).
Only ASCII text files in Unicode format are supported!
Example
Var1 / 2 |
1 |
2 |
3 |
4 |
|
|
|
|
|
1 |
|
|
|
|
2 |
|
|
|
|
4 |
|
|
|
|
After free positioning of the element in a picture or after selection with a mouse click the properties of the element can be edited in the properties window.
The text table is made up of lines and columns. The lines and columns are selected with the linked variables from which the text is to be taken.
First Variable
The first variable in the list of variables must be a word variable and defines the column position from which the text is taken. At the same time it is used for controlling the type of processing.
Highest value bit |
Message element blocked; nothing is
displayed any more. |
Set bit 14 |
Update of the screen output switched off; last active text is displayed. |
Second (or further) Variable
The other variables define the line position from which the text is taken. The significance arises from
Line space |
Value |
Row |
---|---|---|
|
1 |
Line 1 |
|
2 |
Line 2 |
|
4 |
Line 3 |
If line 1 and line 2 are to be displayed alternatingly, the significance of the line variable must be "3". If all 16 bits are set, lines 1 to line 16 are displayed alternatingly. Each line variable is responsible for a maximum of 16 lines. If more than 16 lines are needed, further line variables can be defined.