
B–62073E–2/03
4.CONVERSATIONAL MACRO FUNCTION
61
Control
code
FunctionMeaning of code
G340
G341
G344
G345
G346
G348
G349
G350
G351
Rapid traverse command
Cutting feed command
Dwell command
Reference point return command
Auxiliary function command
Status signal reading command
Command signal writing command
Positioning device coordinate system
changing override
PMC axis
control
G360 Preset of relative coordinate value Relative
coordinate
system
preset
G310 Reading PMC address PMC
address
control
All the system variables which can be used by Series 15 custom macro
can be used except for the following system variables. For details of
system variables, refer to the FANUC Series 15 OPERATOR’S
MANUAL.
(System variables which cannot be used)
Alarm message display by #3000
(Alarm number can be displayed)
The local variables to be used by the conversational macro function
P–CODE program are different from the normal local variables to be used
by normal NC macro. This local variable can be displayed after normal
macro variables by setting parameter (No. 8502 #1, #4).
In the auxiliary conversational macro function P–CODE program local
variables cannot be used.
Note
Local variables are enabled only in the various
programmes. If program end is executed by M99 is
initialized.
Common variables to be used by conversa–tional macro P–CODE
program can be selected by parameter (No. 8503) as to whether they are
the same or different as those used by normal NC macro. However, these
common variables are the same as common variables used by automatic
operation P–CODE macro. Further, these common variables can be
displayed after normal macro variables by setting parameter (No. 8502#1
and No. 8502#4).
4.5.1
System Variable
4.5.2
P–CODE Program
Exclusive Local
Variables
4.5.3
Conversational Macro
P–CODE Common
Variables