
PROGRAMMING
15. CUSTOM MACRO
B–62094E/04
136
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.
VAR.: O0000 N00000
NO. NAME DATA COMMENT
100 123.456
101 0.000
102
103 ********
104
105
106
107
ACTUAL POSITION (WORK)
X 0.000 Y 0.000
AUTO **** *** ***
[ MACRO ] [ ] [
] [ ] [ (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