
B–61803E–1/10
APPENDIX
E. FANUC Super CAP T/CAP II T MACRO
COMPILER/EXECUTOR (Series 16/18)
and Super Capi T Macro Compiler/
EXECUTOR (Series 16i/18i/21iT)
422
(1) Displaying a window on the tooling data screen
(a) Number of the program used to display a window, and starting
that program
O1018 and O1019 are assigned to the programs that display a
desired window upon a soft key being pressed. User programs
O1018 and O1019 are called in each cycle of a system task when
[SOFT KEY 7] and [SOFT KEY 6] are pressed, respectively.
To close the window, set a value of 99 in system variable #9120.
The system closes the window and does not call the user program
in subsequent cycles.
SOFT
KEY1
SOFT
KEY3
SOFT
KEY2
SOFT
KEY4
SOFT
KEY5
SOFT
KEY6
SOFT
KEY7
SOFT
KEY8
SOFT
KEY9
SOFT
KEY10
(b) Displaying the window and monitoring keys
The system erases the soft key section while leaving the
remainder of the screen as is. The user program shall open a
window and create a drawing in that window. Enter the character
string for each soft key to be used with the user program, in the
corresponding frame, using G243 or another suitable means.
Input by soft keys, page/cursor keys, numeric keys, and other
keys can be monitored using system variables #8501 and #8503.
(c) System variables
i) System variables indicating the position of the cursor on the
screen: #9108, #9109
In system variables #9108 and #9109, values indicating the
position of the cursor on the screen are set in character
coordinates.
#9108 : X coordinate of the cursor position
#9109 : Y coordinate of the cursor position
ii) System variable indicating the ID number of the tool used in
the process indicated by the cursor: #9182
The variable is set to the tool ID number of the process
indicated by the cursor.
iii) System variable indicating the tool post having the tool to be
used in the process, and indicated by the cursor : #9942
#9942 0 or 1 : Tool of head 1 of TT or T (two-spindle type),
tool of T (one-spindle type)
2: Tool of head 2 of TT or T (two-spindle type)
(2) Displaying the character string for the soft key used to display a
window on the tooling data screen
(a) Registering a soft key character string
To display a window on the tooling data screen, press [SOFT
KEY 6] or [SOFT KEY 7]. Register the soft key character string
in the selected display language, using the following format. Up
to 12 half-size characters can be registered.
E.6.9.3
Details