
PROGRAMMING
B–61404E/08
16. CUSTOM MACRO B
300
Procedure for displaying variable values
1 Press the
MENU
OFFSET
key to display the tool compensation screen.
2 Press the soft key
[MACRO] to display the macro variable screen.
3 After press the
No.
key, enter a variable number, then press
INPUT
key.
The cursor moves to the position of the entered number.
VARIABLE O1234 N1234
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
[ OFFSET ] [ MACRO ] [ MENU ] [ WORK ] [ ]
S When the value of a variable is blank, the variable is null.
S 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
Limitations