Siemens SINUMERIK 828D Commissioning Manual page 783

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Tag identifier
PRINT
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Meaning
The tag outputs a text in the dialog line or copies the text to the variable specified.
If the text contains formatting identifiers, the variable values are inserted at the appropriate
places.
Syntax:
<PRINT name="Variable name " text="text %Formatting "> Variable, ...
</PRINT>
<PRINT text="text %Formatting"> Variable, ... </PRINT>
Attributes:
● name
Name of the variable where the text is to be stored (optional)
● text
Text
Formatting:
The character "%" causes the variable specified as the value to be formatted.
%[Flags] [Width] [.decimal places] type
● Flags:
Optional character for defining output formatting:
Right-justified or left-justified ("-") for left-justified
Add leading zeros ("0")
Fill with blanks
● Width:
The argument defines the minimum output width for a non-negative number. If the value
to be output has fewer places than the argument defined, the missing spaces are filled
with blanks.
● Decimal places:
With floating-point numbers, the optional parameter defines the number of decimal
places.
● Type:
The type character defines which data formats are transferred for the print instruction.
These characters need to be specified.
d: Integer value
f: Floating-point number
s: String
Generating user dialogs
1.6 XML identifier
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents