
Add the following description to “22. High-speed response function”.
22.4 Sub-program call for high-speed response function
22.4.1 Outline
In case of high-speed response function, fixed sequence or repetitive patterns in
motion program can be registered in the CNC memory as sub-programs
beforehand. This sub-program can be called repeatedly in case of need. So
motion programs can be simplified by using sub-program.
A sub-program can be called from a main-program. Moreover a called
sub-program can call other sub-program.
・Main-program and sub-program in high-speed response function
In high-speed response mode, the programs with program number O8000 to
O8031 are defined as a main program. This main program can call
sub-program. But a sub-program can not call a main-program. (If call, an
alarm 1020 occurs.)
You can make sub-programs with the consecutive program number from a
number specified by a parameter. Also the maximum number of
sub-program is specified by a parameter.
22.4.2 How to give a command
・Sub-program configuration
As other program, a program number, Oxxxx, is placed the top of
sub-program and M99 to return to a main-program is placed the end.
Example) a sub-program
Oxxxx ; Sub-program number( In case of ISO code, the
colon “:” can be used instead of “O”.)
M99 ; Program end
EDIT
DATE DISIGNE
DESCRIPTION
TITLE
DRAW
FANUC Power Mate i - MODEL H
Sub program call for high-speed
response function
B-63173EN-1/01-39
SHEET
2/12
APPROV.
FANUC LTD
01 020621 New design