FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

OPERATION
8. DATA INPUT/OUTPUT
B–62764EN/01
678
Custom macro common variables (#500 to #999) 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.
2 Specify the punch code system (ISO or EIA) using a parameter.
3 Press the EDIT switch on the machine operators 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= ;. . . . . . . . . . . . . . . .
;. . . . . . . . . . . . . . . . . . . . . . .
;. . . . . . . . . . . . . . . . . . . . . . .
#531= ;. . . . . . . . . . . . . . . .
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 #531) can be input and output.
When the option for adding a common variable is specified, values from
#500 to #999 can be input and output.
#100 to #199 can be input and output when bit 3 (PU5) of parameter No.
6001 is set to 1.
8.7.2
Outputting Custom
Macro Common Variable
Procedure
Explanations
D Output format
D Output file name
D Common variable

Leave a Reply

Your email address will not be published. Required fields are marked *