
B–62093E–1/02
2. MACRO COMPILER AND
MACRO EXECUTOR
PROGRAMMING
11
Job
Notes
Keyboard input
(enter NL at end of
command)
Command
Major
classification
Notes
Keyboard input
(enter NL at end of
command)
Command
Minor classification
Renumber lines RENUMBER
REN[ intial value
[ , increment]]
Change character used to dis-
play EOB
EOB EOB Character
Display list of commands HELP H
Modification
NC data TH, TV check THTV THTV
Read in NC data from tape read-
er, and check TH, TV’
support
Advance pointer FIND
F { } [,n]
n
string
Advance pointer by n lines
Advance to a line containing a
particular string
Move pointer back RACK Bn
Move pointer back n lines.
If n is omitted, move pointer back
to preceding line
Comment * * comment string Insert any commnet after *
Start editing EDIT
ED { } [, { } ]
FAPT
NC
EIA
ISO
Process control
Change data type and code
system
MODE
M { } [, { } ]
FAPT
NC
EIA
ISO
End editing END E
Change from integer NVC data
to floating point NC data
POINT
PO X
1
/ n
1
[ , X
i
/ n
i
]
5
i=2
Special
conversion
Change from floating point NC
data to integer NC data
INTEGER
INT X
1
/ n
1
[ , X
i
/ n
i
]
5
i=2
ADD a specified amount ADD
ADD X
1
/ n
1
[ , X
i
/ n
i
]
5
i=2
With this function, a ROM format file created by the macro compiler of
the personal computer or FANUC SYSTEM P–MODEL G (referred to as
P–G) is transferred to RAM of the Power Mate, and written to
flash–ROM.
The Power Mate is connected with the personal computer via RS–232–C.
The communication parameters of the Power Mate are used to set
communications for ROM format file transfer (referred to as loading). So,
before loading, the parameters need to be set.
To use this function, turn off the power to the Power Mate, then turn on
the power to the Power Mate while holding the MDI keys
CAN
and
PROG
to display the data transfer screen (loading screen). Data can be
transferred only when the loading screen is displayed.
In this state, enter a data transfer command from the personal computer.
This function is executed when the power–on sequence of the Power Mate
is stopped. This means that when this function is used, the normal Power
Mate functions are disabled. To use this function, the executor option is
required.
2.1.6
P–CODE Loader
Function