Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
10. AUXILIARY FUNCTION
B–63174EN/03
78
When a numeral is specified following address M, code signal and a
strobe signal are sent to the machine. The machine uses these signals to
turn on or off its functions.
Only one M code is usually effective in one block, but one block can
contain up to three or five M codes for Power Mate i–H or Power Mate
i–D/D2. (Depending on the machine, the specification of three M codes
is impossible.) Which M code is used for which function is determined
by each machine tool builder. All M codes except M98, M99, M codes
for calling subprograms (parameter Nos.6071 to 6079), and M codes for
calling custom macros (parameter Nos.6080 to 6089) are processed by the
machine. So, refer to the relevant manual of the machine tool builder.
The following M codes have special meanings.
This indicates the end of the main program
Automatic operation is stopped and the CNC unit is reset.
This differs with the machine tool builder.
After a block specifying the end of the program is executed,control returns
to the start of the program.
Bit 5 (M02) of parameter No. 3404 can be used to disable M02 from
returning control to the start of the program.
Bit 4 (M30) of parameter No. 3404 can be used to disable M30 from
returning control to the start of the program.
Automatic operation is stopped after a block containing M00 is executed.
When the program is stopped, all existing modal information remains
unchanged. The automatic operation can be restarted by actuating the
cycle operation. This differs with the machine tool builder.
Similarly to M00, automatic operation is stopped after a block containing
M01 is executed. This code is only effective when the Optional Stop
switch on the machine operators panel has been pressed.
This code is used to call a subprogram. The code and strobe signals are
not sent. See the subprogram section II–11.3 for details .
This code indicates the end of a subprogram.
M99 execution returns control to the main program. See the subprogram
section II–11.3 for details.
These codes are used for waiting function.
NOTE
The block following M00, M01, M02 and M30, is not read
into the input buffer register, if present. Similarly, ten M
codes which do not buffer can be set by parameters (Nos.
3411 to 3420). Refer to the machine tool builder’s
instruction manual for these M codes.
10.1
AUXILIARY
FUNCTION
(M FUNCTION)
Explanations
M02, M30
(End of program)
M00
(Program stop)
M01
(Optional stop)
M98
(Calling of
sub-program)
M99
(End of subprogram)
M800 to M815

Leave a Reply

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