
PROGRAMMING
16. CUSTOM MACRO
B–63124EN/01
258
Procedure for displaying variable values
1 Press the
OFFSET
SETTING
key to display the tool compensation screen.
2 Press the continuous menu key
.
3 Press the soft key
[MACRO] to display the macro variable screen.
4 Enter a variable number, then press soft key
[NO.SRH].
The cursor moves to the position of the entered number.
VARIABLE O1234 N12345
NO. DATA NO. DATA
100 123.456 108
101 0.000 109
102 110
103 111
104 112
105 113
106 114
107 115
ACTUAL POSITION (RELATIVE)
X 0.000 Y 0.000
Z 0.000 B 0.000
MEM **** *** *** 18:42:15
[ MACRO ] [ MENU ] [
OPR ] [ ] [ (OPRT) ]
⋅ When the value of a variable is blank, the variable is null.
⋅ The mark ******** indicates an overflow (when the absolute
value of a variable is greater than 99999999) or an underflow (when
the absolute value of a variable is less than 0.0000001).
Program numbers, sequence numbers, and optional block skip numbers
cannot be referenced using variables.
Example:
Variables cannot be used in the following ways:
O#1;
/#2G00X100.0;
N#3Y200.0;
D Displaying variable
values
Procedure