5 Create and download project
19
4.2 Dynamic text
Click the control button, a rectangular dashed frame appears on the screen, and follow the
mouse to move, the moving distance is an integer multiple of 4 pixels, now click the left mouse
button to confirm the position, after confirmation, the content "DynamicStr" is displayed in the
form, and the properties of the dynamic text are displayed at the bottom of the interface:
The X value indicates the horizontal position of the text.
The Y value indicates the vertical position of the text.
The origin of the coordinates is at the upper left corner of the entire page.
Both the horizontal and vertical text display are doubled.
The text and background colours are displayed inverted.
Add a rectangular frame around the text.
The text shows a semi-transparent state.
Flashes at the specified time interval, and the interval time is
related to the program scan time.
PLC data register used to control the state switching of dynamic text.
HEX/BCD: Display the data in the register in hexadecimal form.
Decimal: Display the data in the register in decimal form.
Edit the content and data of dynamic text. The dynamic text control can set up
to 32 groups of data. When importing data through the single edit serial port, if
the data is greater than 32 groups, only the first 32 groups of data are valid.
For example, when the register D0 is equal to 0, it will display “ABC” (as shown in the figure
below), when D0 is equal to 1, it will display “XYZ”, and when D0 is equal to 2, it will display
“UVW”. When D0 is not these three data, the screen will display blank.