
5. MACRO VARIABLES
B–61803E–1/10
PROGRAMMING
50
The variables used for P-CODE programs, such as local variables,
common variables, P-CODE variables, and extended P-CODE variables,
can be displayed by pressing the function key
OFFSET
SETTING
several times.
The values of these variables can be specified using the MDI keys.
P–CODE VARIABLE
No. DATA No. DATA
0 123.45678 0 123.45678
1 123.45678 1 123.45678
2 123.45678 2 123.45678
3 123.45678 3 123.45678
4 123.45678 4 123.45678
5 123.45678 5 123.45678
6 123.45678 6 123.45678
7 123.45678 7 123.45678
8 123.45678 8 123.45678
9 123.45678 9 123.45678
NUM.
[][][][][NO–SEL]
The desired screen can be selected using page keys, cursor key, and
[NO-SEL] key.
Pressing the
page key returns the current screen to the previous
screen. Pressing the
page key displays the next screen.
A desired variable can be displayed with the numeric key and [NO-SEL]
key.
The desired value can be entered for the variable at the cursor position
using the numeric keys and the
INPUT
key. However, no values can be
entered in local variables or write-inhibited system variables.
NOTE
1
The setting of NDP, bit 1 in parameter 9000, for the executor
depends on whether variables to be used for P-CODE programs
are displayed. To display the variables, set bit 1 of parameter 9000
to 1.
2 The specified values of the variables are displayed when the
screen is displayed. In other words, if the values of the variables
are changed while the screen is displayed, the changed values are
not displayed.
3 To change the screen from the P-CODE VARIABLE screen to
another screen such as current position screen or conversational
macro screen, press the correspondence function key such as
and .
If the 20-FA or 20-TA is your NC, press both right most and left
most soft keys at the same time and the screen changes from the
P-CODE screen to the current position display screen.
POS CUSTOM
5.6
DISPLAYING
VARIABLES