Animating a Text Display¶
An animation of the text display can be configured in the property . All basic elements have this property as well as tables, scrollbars and text fields.
Open the visualization and add an element Rectangle.
- ⇒
The view Properties displays the configuration of the element.
Configure the property with
Important:In the application in the POU
PLC_PRG, declare a type-compliant variable:- ⇒
iFontHeight : INT;
Configure the property with
PLC_PRG.iFontHeight.Implement a change of the font size.
- ⇒
iFontHeight := iFontHeight + 1) MOD 20;
Compile, load and start the application.
- ⇒
The application runs. The visualization opens. The rectangle is labelled with
Important. The font size grows from 1 to 20.
See also