
9.USER POP-UP WINDOW IN AN INITIAL SCREEN USER PROGRAM B-63343EN/02
- 132 -
9.2 CUSTOM MACRO PROGRAMS FOR ACTIVATING AN
USER WINDOW
1) O1005 : Initiating a window
This program is used to define the size and position of a window,
and is called only one time at opening a window. By inputting
necessary data for a window into the following variables, a pop-
up window is opened automatically.
#9111 : X coordinate of the left-top point of a Pop-up Window
#9112 : Y coordinate of the left-top point of a Pop-up Window
#9113 : X-directional width of a Pop-up Window in character
number
#9114 : Y-directional width of a Pop-up Window in character
number
2) O1000 : Initiating the contents of a window
This program is used for the following procedures, and is called
only one time after window is opened.
a) Initialize custom macro variables used in a window
b) Display fixed messages in a window
3) O1001 : Performing main procedure in a window
This program is used for the following procedures, and is called
repeatedly at some interval during a window is opened.
a) Watch pushed keys and inputted data
b) Set data into necessary custom macro variables according to
key operations
c) Display changeable data such as inputted by key operations
or machine position
4) O1002 : Performing post procedure at window closing
This program is used to wind up the internal status such as
custom macro variables saving and so on at the time a window is
closed by pushing a [RETURN] or changed to another CNC
screen. This is called only one time.
5) O1003 : Displaying soft-keys only one time
This program is used to display fixed soft-keys, if they do not
change in a window, and is called only one time after a window
is opened.
6) O1004 : Displaying soft-keys repeatedly
This program is used to display changeable soft-keys, if it is
necessary to change them according to the cursor position. This
is called repeatedly at some interval during a window is opened.