July 2013 8.2 PLC window 1363
Special characters: \n
Newline: Shifts the cursor to the left edge of the window. At the same time,
it moves downward by the preset distance defined with LINEDIST.
\f
Formfeed: Functions like "\n". In addition, a page break is performed if the
cursor moves past this special character. Otherwise the window is scrolled.
\xYY<SPACE>
Special character: YY is the hexadecimal number of the 8-bit ASCII code of the
desired character, followed by a blank space, e.g. "\x23 " = "#". Keep in mind
that certain characters could also be interpreted as system commands, e.g.
"\25 " = "%" (see "iTNC character set" on page 1278).
Switches for
variables:
/n=x
For B/W/D. The integer can be converted to a floating point number with x
places after the decimal point (e.g. to display a position in the format 0.1 m in
mm instead).
/mi
For B/W/D. Ensure that the inch conversion is active. The number can be
converted to a value in inches.
/e
For B/W/D/M/S. Define the field length in the format string. The current
contents of the variables are displayed and can be changed.
/i
For B/W/D/M/S. Define the field length in the format string. A value can be
entered in the empty field.
/c
For B/W/D/M/S/TIME. Define the field length in the format string, otherwise
the subsequent text may be overwritten if the field length varies due to a
change in the numerical value. The field content is updated cyclically.
Special commands: /*<Comment>*/
You can enter a comment between the asterisks.
MMINCH
Converts variables that contain an /mi switch (or a position) into inches. Select
a default setting under Mode. Usual default setting: "No conversion"
POS=xpix, ypix
Writes the next text or graphic at the designated position. Default setting:
Writing begins at the upper edge, then progresses line by line.
ypix = Distance in pixels from the upper edge of the current page
xpix = Distance in pixels from the left edge of the window
IPOS=xpix, ypix
Writes the next text or graphic at a position offset from the present position
by the specified number of pixels.
xpix = Distance in pixels from the current X position
ypix = Distance in pixels from the current Y position