
A-79955E/01
Title
Draw
No.
Ed. Date Design Description
Date July.08.’05 Design. Apprv.
16/ 17
page
FANUC Series 30i/31i/32i -MODEL A
Embedded macro specifications
[Input type] Parameter input
[Data type] Word path
[Valid date range] 1 to 255
The data of the macro call by G code added by the embedded macro is set. G code
number and the macro program number for it are set, and the number of G codes is
set.
These sets can be set up to ten. If G code number duplicates, it gives priority from
former set. The set that the G code number or the macro program number or
numbers is 0 is invalid.
Example)In case that the range of macro program number is 7000 to 8999:
First group Second group Third group
G code
No.12020=100 No.12023=150 No.12026=900
Program number
No.12021=8000 No.12024=7500 No.12027=8300
Number
No.12022=10 No.12025=5 No.12028=30
The following program is called by each G code.
G code Called program
G100 toG109 O8000 to O8009
G150 to G154 O7500 to O7504
G900 to G929 O8300 to O8329
Note
The parameter value is regarded as “0”, when each parameter
is set a out of range value.
1.2.3 Note
Note
1 The program in the folder only for the embedded macro (MTB1 folder)
can be also deleted by the following operation.
- Initialization of SRAM
- Clear of program file in IPL function
2 The all program in the MTB1 folder can be saved or restored by the
following operation.
- All SRAM save/restore in BOOT function
- Save/restore in automatic data backup function
(When including the program)
- Output/input to/from external device
3 As for the program in the MTB1 folder, the following protection function
is also effective besides the
rotection b
the folder attributes.