
B–61803E–1/10
APPENDIX
P. MACRO EXECUTORS
FOR THE Series 20i
574
From the Series 20i–TA/FA machining guidance screen, the tools unique
to the machine tool builder can be used. These tools are enabled by setting
bit 5 (GAIDNS) of the compile parameter No. 9001 or bit 2 (AF20i) of
parameter No. 9101, described in the previous section, to 1.
By executing the G code commands in the following format, a window
can be opened (displayed) on the conventional screen (base screen), and
can be closed (hidden).
G270 Xx Yy Ii Jj Pp Ll; (open a window)
Xx Yy : Specify the display position of the window. X and Y
respectively represent the X and Y coordinates of the upper left
corner of the window in the character coordinate system.
Ii Jj : Specify the size of the window. I and J respectively represent
the width (on the X–axis) and the height (on the Y–axis) of the
window, in number of characters. A frame measuring the width
or height of a single character is displayed around the window
(top, bottom, right, and left). The window size to be specified
must, therefore, be equal to the width of the desired display area
of the window plus two and the height plus two.
Pp : Specify the palette color number corresponding to the desired
window color. The window frame, as well as the display
portion inside the frame, is displayed in the color identified by
the palette color number.
Ll : Specify the number of the custom program for performing
display in the window, as well as data input operations.
40 characters (640 dots)
19 characters (480 dots)
Data display area of the window
Window frame
Width of the window (I)
Height of the window (J)
Window position (X,Y)
Base screen (8.4” color LCD)
G271; (close a window)
P. 3
Series
20i–DEDICATED
MACRO TOOLS
P.3.1
Window Display