
1. GENERAL
B–66102E/10
4
* The ROM format file is executed on the CNC
using the following methods:
· The file is transferred to CNC through
RS-232-C to execute RAM operation (Series
16/18/20/21-TA).
· The file is transferred to FANUC PMC Writer/
FA Writer, written in macro cassetter or ROM,
then executed (Series 0/15-A/16-A/18-A).
· The file is converted in Memory card format,
transferred to CNC from memory card, then
executed (Series 15-B/16-B/18-B/16-C/18-C
/20/21–B/15i–A/16i–A/18i–A/21i–A/16i–B/
18i–B/21i–B).
Macro
cassette
MS-DOS
Editor
Macro Program
(Source file)
MACRO
Compiler
MCOMP0
MCOMP15
MCOMP15I
Macro Pro-
gram (Obj file)
(xx.REL)
LINK
Control
file
(xx.LNK)
MACRO
Linker
MLINK
MLINK15I
Macro Library
file
ROM format file
(xx.ROM)
ROM file
Transmitter
MTRNSC
MROMWT
/MROMVF
CNC
Series
16/18/20/21-TA
RAM Operation
FANUC
PMC Writer
FA Writer
RS-232-C line
GP-IB I/F
RS-232-C
line
* Create a macro program using an editor. (An editor is
not supplied.)
* The macro program (source file) must be in standard
MS-DOS text format.
* The macro compiler generates an object file. It also
creates reference and compile lists at the same time
as the object file.
* The object file is linked based on a link control file to
generate a ROM-format file. The editor creates the
link control file (xx.MEX).
* FANUC supplies a macro library for each CNC
model.
* The ROM-format file contains macros in binary form
output by the linker for a macro cassette.
Memory Card file
Converter
Memory Card
Reader
/Writer
Memory
Card
MMCARD
MMCARD15
MMCARD15I
(xx.MEM)
Fig.1.2 MACRO Compiler Utility Function Conceptual Diagram