Variables in the text
You can display one variable per row in the text. This could be, for example, a measured value.
Procedure:
- 1. Insert a placeholder in any place you like in your text. The format of a placeholder is described below.
- 2. Link the variable "Value row x" (process data object Process image) with variables in a PLC program.
- 3. Assign values to the variables in the PLC program.
- The display shows the values of the variables instead of the placeholders.
Format of a placeholder
The data type identifier specifies which data type the contents of the variables are to be interpreted as:
Data type identifier | Data type | Value range |
---|---|---|
i | Signed integer | -32768 … 32767 |
d | ||
u | Unsigned integer | 0 … 65535 |
Examples
In the following examples, the variable "Value row 1" contains the value: -123 (FF85hex).
Input: Parameter "Row 1" | Output: Text on the display |
---|---|
| |
| |
| |
|
Note: the length of the text displayed changes with the size of the variable. If the value of a variable increases during operation, the text may be longer than 16 characters as a result. It is then displayed as scrolling text. This is often not desired for the display of values.
Predefined placeholders
In addition, there are two predefined placeholders that you can use in the text:
Placeholder | Output |
---|---|
| The counter value of the operating hour counter. Unit: Hours. |
| The current EtherCAT status:
|