
B–62093E–1/02
5. MACRO VARIABLES
PROGRAMMING
51
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.
CAUTION
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.
NOTE
The setting of NDSP, 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.
5.6
DISPLAYING
VARIABLES