
B–61803E–1/10
2. MACRO COMPILER AND MACRO
EXECUTOR
PROGRAMMING
13
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
Deletion n whole lines DELETE Line number1 [,line number2]
Delet the data from line number1
to line number2
Deletion
Delete string DELETE
D character , { }
n
ALL
d d
Delete address data ADELETE AD address character
Delete lines containing a partic-
ular string
BDELETE BD atring
The string can be an address
character
Scaling to re-
Multiple of a pecific address SCALE S address character / n n is the scaling factor
Scaling to re-
quire values
Multiple of incremental NC data ASCALE AS address character / n n is the scalling factor
Adding and sorting sequence numbers SEQNO
SEQ intial value
[ , increment [ , n ]]
If n is given, add a sequence
number every n blocks
Copy paper tape COPY COPY
Copies any sort of data on paper
tape.
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
d
d
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
The P-CODE loader function transfers files in Motorola format S, which
is a ROM format, to the RAM module installed in the Series 16/18-A or
the Series 16-TTA (tool posts 1 and 2). The files are created by the macro
compiler for the FANUC SYSTEM P-MODEL G (referred to hereafter
as the P-G) or a personal computer (referred to hereafter as the PC). The
P-CODE loader function also operates the macro executor in the RAM.
The RS-232C interface is used to connect the Series 16/18–A to the P-G
or PC.
2.1.6
P–CODE Loader
Function