Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 703

Advertising
background image

L-force | PLC Designer

PLC Designer Visualization



DMS 3.2 EN 02/2011 TD29

701



Stop!

If you want to get displayed a percent sign % combined with one of the formatting
strings mentioned above, you must enter "%%". For example: Enter "Rate in %%:
%s" to get displayed in online mode "Rate in %: 12" (if the text display variable
currently is "12").

Be careful with letter case: capital letters, i.e. %S instead of %s not acceptable."

The value of the variable will be displayed correspondingly in online mode. You can
enter any IEC-conforming format strings, which fit to the type of the used variable.



Stop!

It is not checked whether the type which is used in the formatting string matches
with the type of the variable which is defined in the 'Text Output' field !

Example:

Input in the 'Content' field: Fill level %2.5f mm

Input in the 'Textdisplay' field (variable of type REAL), e.g.: plc_prg.fvar1

->

Output in online mode e.g.: Fill level 32.8999 mm

• If you enter "%t", followed by a certain sequence of special placeholders, then this

location will be replaced in Online mode by the system time. The placeholders
define the display format, see the following table.



Stop!

Do not insert any other characters before %t in the 'Content' field (in contrast this is
allowed for e.g. "%s", see above)

Advertising