
8
Edit
Apprv.
Apprv.Apprv.
Apprv.Desig.
Desig.Desig.
Desig.
Sheet
Title
Draw
No.
/
24
Date
DateDate
Date
Design
DesignDesign
Design
Descri
tion
Descri
tionDescri
tion
Descri
tion
Date
DateDate
Date
FANUC Series16i /18i /21i –MA/TA
Embedded Macro
A-77900E
2000.04.11
When the parameters are set like above,
G-codes of G100-G109 correspond to O8000-O8009
G-codes of G150-G249 correspond to O7500-O7599
G-codes of G900-G929 correspond to O8300-O8399
Such a relation can be set up to ten sets.
And it is possible to call the embedded macro programs by using macro call
(G65, G66, G-code, etc) and subprogram call (M98, M-code, etc).
4) Keyword and Password for embedded macro
When new embedded macro program file (the file name is “INMC” on FROM.) is
made, the password (setting range: -99999999 to 99999999) is set in parameter
No.12013. And the operation for storing the embedded macro programs in FROM is
done, the password is stored in the file ”INMC”. And the parameter No.12013
becomes 0 when the storing in FROM process ends. The state is entered that the
key is locked. When assuming that the password is 0 and the storing in FROM
operation is done, the state is not locked.
Please input the password to parameter No.12013 to release the Lock State. And
please input the number except the password to parameter No.12013 to enter Lock
State. When the CNC is unlocking state, the embedded macro programs can be
stored in FROM by softkey operation. And as for the following 1-5 items, CNC uses
the usual parameter (SRAM) for embedded macro. When the CNC is Lock State, the
embedded macro programs cannot be stored in FROM. And CNC uses the
parameter in FROM for embedded macro.
1. Valid / invalid of embedded macro program over registration
(Parameter No. 12001#0)
2. Valid / invalid of embedded macro program edit and reference
(Parameter No. 12010)
3. Embedded macro program No. (Parameter No. 12011,12012)
4. Embedded macro series/edition (Parameter No. 12015,12016)
5. Embedded macro-calling G-code and program No.
(Parameter No. 12020 - 12049)