
OPERATION
B–63174EN/02
8. DATA INPUT/OUTPUT
363
Custom macro common variables (#500 to #699) stored in the memory
of the CNC can be output in the defined format to a floppy or NC tape.
Outputting custom macro common variable
1 Make sure the output device is ready for output.
When using the Power Mate i–D2, select a path whose pitch error
compensation data is to be output, with the path selection switch or
MDI keyboard.
2 Specify the punch code system (ISO or EIA) using a parameter.
3 Press the EDIT switch on the machine operator’s panel.
4 Press function key
OFFSET
SETTING
.
5 Press the rightmost soft key
(next–menu key), then press soft
key [MACRO].
6 Press soft key [(OPRT)].
7 Press the rightmost soft key (next–menu key).
8 Press soft keys [PUNCH] and [EXEC].
Common variables are output in the defined format.
The output format is as follows:
%
;
#500=[25283*65536+65536]/134217728 (1). . . . . . . . .
#501=#0; (2). . . . . . . . . . .
#502=0 ; (3). . . . . . . . . . .
#503= ;. . . . . . . . . . . . .
;.
;.
#699= ;. . . . . . . . . . . . .
M02;
%
(1) The precision of a variable is maintained by outputting the value of
the variable as <expression>.
(2) Undefined variable
(3) When the value of a variable is 0
When the floppy disk directory display function is used, the name of the
output file is [MACRO VAR].
The common variables (#500 to #699) can be input and output.
Common variables #100 to 199 cannot be input or output.
8.7.2
Outputting Custom
Macro Common
Variable
Procedure (CRT/MDI)
Explanations
D Output format
D Output file name
D Common variable